omxplayer-wrapper

A library for controlling omxplayer on the Raspberry Pi


Keywords
omxplayer, pi, raspberry, raspberrypi, raspberry_pi, library, video, media, dbus, python, raspberry-pi
License
LGPL-3.0+
Install
pip install omxplayer-wrapper==0.2.1

Documentation

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')