Need help with python-omxplayer-wrapper?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

willprice
214 Stars 73 Forks GNU Lesser General Public License v3.0 357 Commits 34 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 80,530
memory-...
ffmpeg
Raspber...
dbus
221 commits
# 2,435
civic-t...
Qt
python-...
prose
35 commits
# 175
alpine
Flask
openapi
python3
8 commits
# 615,770
Raspber...
Python
Shell
dbus
3 commits
# 613,383
Raspber...
Python
Shell
dbus
3 commits
# 523,419
C++
Shell
C
Raspber...
2 commits
# 683,878
Python
Raspber...
Shell
dbus
1 commit
# 282,956
game-fr...
python3
Shell
Raspber...
1 commit
# 10,327
Perl
Java
Arduino
stm32f4
1 commit
# 694,099
Raspber...
Python
Shell
dbus
1 commit
# 140,242
C++
Raspber...
Shell
C
1 commit
# 676,108
Raspber...
Python
Shell
dbus
1 commit
# 514,847
Python
Raspber...
instagr...
dump
1 commit
# 694,100
Raspber...
Python
Shell
dbus
1 commit
# 704,067
Raspber...
Python
Shell
dbus
1 commit
# 638,044
Raspber...
Python
Shell
dbus
1 commit
# 644,510
C
C++
Shell
Raspber...
1 commit

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/willprice

FAQ

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.