Skip to main content

Python API for controlling Panasonic Blu-Ray players

Project description

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](https://play.google.com/store/apps/details?id=com.panasonic.avc.diga.blurayremote2012) should be supported; i.e. DMP-BDT120, DMP-BDT220, DMP-BDT221, DMP-BDT320, DMP-BDT500 and DMP-BBT01 devices.

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')
```


Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for panacotta, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size panacotta-0.1-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size panacotta-0.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page