Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willprice/python-omxplayer-wrapper
:tv: Control OMXPlayer, the Raspberry Pi media player, from Python
https://github.com/willprice/python-omxplayer-wrapper
dbus omxplayer python raspberry-pi video
Last synced: 6 days ago
JSON representation
:tv: Control OMXPlayer, the Raspberry Pi media player, from Python
- Host: GitHub
- URL: https://github.com/willprice/python-omxplayer-wrapper
- Owner: willprice
- License: lgpl-3.0
- Created: 2014-08-11T19:56:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-06-01T14:47:33.000Z (over 1 year ago)
- Last Synced: 2024-12-20T20:16:07.414Z (13 days ago)
- Topics: dbus, omxplayer, python, raspberry-pi, video
- Language: Python
- Homepage: http://python-omxplayer-wrapper.readthedocs.io
- Size: 12.3 MB
- Stars: 253
- Watchers: 23
- Forks: 71
- Open Issues: 42
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
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
`_.. |PyPI Version| image:: https://img.shields.io/pypi/v/omxplayer-wrapper.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/omxplayer-wrapper
.. |PyPI Python versions| image:: https://img.shields.io/pypi/pyversions/omxplayer-wrapper.svg
:target: https://pypi.python.org/pypi/omxplayer-wrapper
.. |PyPI License| image:: https://img.shields.io/pypi/l/omxplayer-wrapper.svg?maxAge=2592000
:target: https://pypi.python.org/pypi/omxplayer-wrapper
.. |Documentation Status| image:: https://readthedocs.org/projects/python-omxplayer-wrapper/badge?version=master
:target: http://python-omxplayer-wrapper.readthedocs.io/en/master?badge=master
:alt: Documentation Status
.. |Build Status| image:: https://circleci.com/gh/willprice/python-omxplayer-wrapper/tree/master.svg?style=shield
:target: https://circleci.com/gh/willprice/python-omxplayer-wrapper/tree/master
.. |Code Coverage| image:: https://codecov.io/gh/willprice/python-omxplayer-wrapper/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/willprice/python-omxplayer-wrapper
.. |Say Thanks!| image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
:target: https://saythanks.io/to/willpriceFAQ
----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(file_1,
dbus_name='org.mpris.MediaPlayer2.omxplayer1')
player2 = OMXPlayer(file_2,
dbus_name='org.mpris.MediaPlayer2.omxplayer2')