by willprice

:tv: Control OMXPlayer, the Raspberry Pi media player, from Python

203 Stars 68 Forks Last release: Not found GNU Lesser General Public License v3.0 354 Commits 7 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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

_ from python over


You can read the docs at

.. |PyPI Version| image:: :target: .. |PyPI Python versions| image:: :target: .. |PyPI License| image:: :target: .. |Documentation Status| image:: :target: :alt: Documentation Status .. |Build Status| image:: :target: .. |Code Coverage| image:: :target: .. |Say Thanks!| image::!-1EAEDB.svg :target:


How do I create multiple players? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

.. code-block:: python

player1 = OMXPlayer(file1, dbusname='org.mpris.MediaPlayer2.omxplayer1') player2 = OMXPlayer(file2, dbusname='org.mpris.MediaPlayer2.omxplayer2')

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.