Skip to content
프로젝트

willprice/python-omxplayer-wrapper

GitHub에서 보기

willprice/python-omxplayer-wrapper has 252 GitHub stars and 72 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and +1 in 15 days. Last checked 2026-11-14 07:17 UTC. Last push 2023-06-01.

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

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

창작 및 미디어

README.md

Original

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