Module empris::methods [−][src]
Expand description
Provides all of the methods needed to control and
work with a Player
.
Note that these methods are also all implemented
on the Player
struct.
Functions
get_metadata | Retrieves track metadata from a |
get_property | Retrieves the value of an MPRIS property. Available properties can be found here. |
next | Skips to the next track |
open_uri | Opens a track by its URI. |
pause | Pauses the current track |
play | Starts or resumes the current track |
play_pause | Resumes/starts or pauses the current track |
previous | Skips to the previous track |
seek | Seeks the position of the active track. |
seek_reverse | Same as |
set_position | Sets the position of the current track, by microseconds. |
set_property | Sets the value of a writable MPRIS property. Available properties can be found here. |
stop | Stops playback |