Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

u1f35c/python-panacotta

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 (UB-420, UB-820, and 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.PanasonicBD('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.PanasonicBD('192.168.0.4')
bluray.send_key('POWER')

About

Python API for 2012 era Panasonic Blu-Ray players

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.