Skip to content

willprice/python-omxplayer-wrapper

Repository files navigation

Python OMXPlayer wrapper

PyPI Version PyPI Python versions PyPI License Documentation Status Build Status Code Coverage Say Thanks!

omxplayer-wrapper is a project to control OMXPlayer from python over dbus.

Docs

You can read the docs at python-omxplayer-wrapper.rtfd.org

FAQ

How do I create multiple players?

You need to make sure each player has a separate DBus name like so:

player1 = OMXPlayer(file_1,
                    dbus_name='org.mpris.MediaPlayer2.omxplayer1')
player2 = OMXPlayer(file_2,
                    dbus_name='org.mpris.MediaPlayer2.omxplayer2')