mpris2.types.playlist_ordering module

From mprisV2.2 documentation

http://specifications.freedesktop.org/mpris-spec/2.2/Playlists_Interface.html#Enum:Playlist_Ordering

class mpris2.types.playlist_ordering.Playlist_Ordering(ordering)[source]

Bases: str

Specifies the ordering of returned playlists.

  • Alphabetical (Alphabetical)

    Alphabetical ordering by name, ascending.

  • CreationDate (Created)

    Ordering by creation date, oldest first.

  • ModifiedDate (Modified)

    Ordering by last modified date, oldest first.

  • LastPlayDate (Played)

    Ordering by date of last playback, oldest first.

  • UserDefined (User)

    A user-defined ordering.

ALPHABETICAL = 'Alphabetical'
CREATION_DATE = 'CreationDate'
LAST_PLAY_DATE = 'LastPlayDate'
MODIFIED_DATE = 'ModifiedDate'
USER_DEFINE = 'UserDefined'
VALUES = ('Alphabetical', 'CreationDate', 'ModifiedDate', 'LastPlayDate', 'UserDefined')