Bases: object
The proxy object by which one interacts with a dbus object, this makes communicating with a similar to that of communicating with a POJO.
org.mpris.MediaPlayer2 interface proxy object
org.mpris.MediaPlayer2.Player interface proxy object
Bases: exceptions.Exception
Connection error raised when DBusConnection can’t set up a connection
Bases: exceptions.Exception
Bases: object
OMXPlayer controller
This works by speaking to OMXPlayer over DBus sending messages.
Parameters: |
|
---|
Executes a keyboard command via a code
Parameters: | code (int) – The key code you wish to emulate refer to keys.py for the possible keys |
---|---|
Returns: | |
Return type: | None |
Returns: | Whether the player can move to the next item in the playlist |
---|---|
Return type: | bool |
Returns: | Whether the player can move to the previous item in the playlist |
---|---|
Return type: | bool |
Returns: | A list of all known audio streams, each item is in the format: <index>:<language>:<name>:<codec>:<active> |
---|---|
Return type: | [str] |
Returns: | A list of all known subtitles, each item is in the format: <index>:<language>:<name>:<codec>:<active> |
---|---|
Return type: | [str] |
Returns: | A list of all known video streams, each item is in the format: <index>:<language>:<name>:<codec>:<active> |
---|---|
Return type: | [str] |
Turns mute on, if the audio is already muted, then this does not do anything
Returns: | |
---|---|
Return type: | None |
Parameters: | relative_position (float) – The position in seconds to seek to. |
---|