Enums¶
Details¶
- class Playerctl.LoopStatus(value)¶
Bases:
GObject.GEnum
Loop status enumeration for a
Playerctl.Player
- NONE = 0¶
The playback will stop when there are no more tracks to play.
- TRACK = 1¶
The current track will start again from the beginning once it has finished playing.
- PLAYLIST = 2¶
The playback loops through a list of tracks.
- class Playerctl.PlaybackStatus(value)¶
Bases:
GObject.GEnum
Playback status enumeration for a
Playerctl.Player
- PLAYING = 0¶
A track is currently playing.
- PAUSED = 1¶
A track is currently paused.
- STOPPED = 2¶
There is no track currently playing.
- class Playerctl.Source(value)¶
Bases:
GObject.GEnum
The source of the name used to control the player.
- NONE = 0¶
Only for unitialized players. Source will be chosen automatically.
- DBUS_SESSION = 1¶
The player is on the DBus session bus.
- DBUS_SYSTEM = 2¶
The player is on the DBus system bus.