Types
All type hints to use throughout the module.
Classes:
|
Represents remote ID types |
|
Represents remote object types |
- class musify.libraries.remote.core.types.RemoteIDType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
MusifyEnum
Represents remote ID types
Attributes:
Value is the expected length of ID string
Value is the expected number of chunks in a URI
-
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
-
ALL:
- class musify.libraries.remote.core.types.RemoteObjectType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
MusifyEnum
Represents remote object types
Attributes:
- ALL = 0
- PLAYLIST = 1
- TRACK = 2
- ALBUM = 3
- ARTIST = 4
- USER = 5
- SHOW = 6
- EPISODE = 7
- AUDIOBOOK = 8
- CHAPTER = 9