Enum

Inheritance diagram of musify.libraries.remote.core.enum

The fundamental core enum classes for the Remote module.

Represents ID and item types.

Classes:

RemoteIDType(value[, names, module, ...])

Represents remote ID types

RemoteObjectType(value[, names, module, ...])

Represents remote object types

class musify.libraries.remote.core.enum.RemoteIDType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: MusifyEnum

Represents remote ID types

Attributes:

ALL

ID

Value is the expected length of ID string

URI

Value is the expected number of chunks in a URI

URL

URL_EXT

ALL: int = 0
ID: int = 22

Value is the expected length of ID string

URI: int = 3

Value is the expected number of chunks in a URI

URL: int = 1
URL_EXT: int = 2
class musify.libraries.remote.core.enum.RemoteObjectType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: MusifyEnum

Represents remote object types

Attributes:

ALL

PLAYLIST

TRACK

ALBUM

ARTIST

USER

SHOW

EPISODE

AUDIOBOOK

CHAPTER

ALL = 0
PLAYLIST = 1
TRACK = 2
ALBUM = 3
ARTIST = 4
USER = 5
SHOW = 6
EPISODE = 7
AUDIOBOOK = 8
CHAPTER = 9