We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ced3146 commit 625a396Copy full SHA for 625a396
README.rst
@@ -30,3 +30,19 @@ You can read the docs at `python-omxplayer-wrapper.rtfd.org
30
:target: https://codecov.io/gh/willprice/python-omxplayer-wrapper
31
.. |Say Thanks!| image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
32
:target: https://saythanks.io/to/willprice
33
+
34
+FAQ
35
+----
36
37
+How do I create multiple players?
38
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39
40
+You need to make sure each player has a separate DBus name like so:
41
42
+.. code-block:: python
43
44
+ player1 = OMXPlayer(file_1,
45
+ dbus_name='org.mpris.MediaPlayer2.omxplayer1')
46
+ player2 = OMXPlayer(file_2,
47
+ dbus_name='org.mpris.MediaPlayer2.omxplayer2')
48
0 commit comments