Skip to main content

Python control for Panasonic Blu-Ray players

This is a simple Python API for controlling Panasonic Blu-Ray players. It has only been tested with the DMP-BDT220, which dates from 2012. All players supported by the Panasonic Blu-ray Remote 2012 Android app should be supported; i.e. DMP-BDT120, DMP-BDT220, DMP-BDT221, DMP-BDT320, DMP-BDT500 and DMP-BBT01 devices.

Newer players with "UB" prefixes (e.g. the UB-9000) support a (very) limited set of functions.

Example use

Connect to a player on 192.168.0.4 and find out the current playing status:

import panacotta

bluray = panacotta.PansonicBD('192.168.0.4')
print("Device is currently %s" % bluray.get_play_status()[0])

Note that the device must be on the same subnet as the host running this API; requests from a different subnet will return a failure.

Press the power button:

import panacotta

bluray = panacotta.PansonicBD('192.168.0.4')
bluray.send_key('POWER')

Release files for panacotta 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for panacotta 0.2
File Size Uploaded
panacotta-0.2.tar.gz 15.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for panacotta 0.2
File Interpreter ABI Platform
panacotta-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 32.4 kB

Release files / panacotta-0.2.tar.gz

Download URL panacotta-0.2.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dd97560d543fc37aa2909c10d5d47f46f9e7af3ec21d0b084d8bf3f6de458418
BLAKE2b-256 checksum
How to use checksums
4b9855d40ead09def71c6c0a0d619d24d1b14a3f2b67e0124613b77628b40d4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release files / panacotta-0.2-py3-none-any.whl

Download URL panacotta-0.2-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
911e3bb917e009ebc748eed8e300eeeb9ef546da8a02c28731bca2fe3c0dda2b
BLAKE2b-256 checksum
How to use checksums
fbb8eedf1b1beef694b4a5f98d879363cc953b14f7be56c08d8ec16a53e9f580
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page