mpris2.types.playlist module¶
From mprisV2.2 documentation
http://specifications.freedesktop.org/mpris-spec/2.2/Playlists_Interface.html#Struct:Playlist
-
class
mpris2.types.playlist.
Maybe_Playlist
(maybe_playlist=None)[source]¶ Bases:
dbus.Struct
- Valid - b
Whether this structure refers to a valid playlist.
- Playlist - (oss) (Playlist)
The playlist, providing Valid is true, otherwise undefined.
When constructing this type, it should be noted that the playlist ID must be a valid object path, or D-Bus implementations may reject it. This is true even when Valid is false. It is suggested that ‘/’ is used as the playlist ID in this case.
-
Playlist
¶
-
Valid
¶
-
class
mpris2.types.playlist.
Playlist
(playlist)[source]¶ Bases:
dbus.Struct
A data structure describing a playlist.
- Id - o (Playlist_Id)
A unique identifier for the playlist.
This should remain the same if the playlist is renamed.
- Name - s
The name of the playlist, typically given by the user.
- Icon - s (Uri)
The URI of an (optional) icon.
-
Icon
¶
-
Id
¶
-
Name
¶