Metadata-Version: 2.1
Name: omxplayer-wrapper
Version: 0.3.3
Summary: A library for controlling omxplayer on the Raspberry Pi
Home-page: https://github.com/willprice/python-omxplayer-wrapper
Author: Will Price
Author-email: will.price94+dev@gmail.com
License: LGPLv3+
Keywords: omxplayer pi raspberry raspberrypi raspberry_pi library video media
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Topic :: Multimedia :: Video
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: dbus-python
Requires-Dist: evento
Requires-Dist: decorator
Requires-Dist: pathlib2
Provides-Extra: docs
Requires-Dist: Sphinx ; extra == 'docs'
Requires-Dist: alabaster ; extra == 'docs'
Requires-Dist: pygments ; extra == 'docs'
Provides-Extra: test
Requires-Dist: mock ; extra == 'test'
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'
Requires-Dist: nose ; extra == 'test'
Requires-Dist: parameterized ; extra == 'test'

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
<https://github.com/popcornmix/omxplayer>`_ from python over `dbus
<https://www.freedesktop.org/wiki/Software/dbus/>`_.


Docs
----

You can read the docs at `python-omxplayer-wrapper.rtfd.org
<http://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(file_1,
                       dbus_name='org.mpris.MediaPlayer2.omxplayer1')
   player2 = OMXPlayer(file_2,
                       dbus_name='org.mpris.MediaPlayer2.omxplayer2')



