Field
All core Field
implementations relating to
core MusifyItem
and :py:class`MusifyCollection` implementations.
Classes:
|
Applies extra functionality to the TagField enum for TagField types relating to |
|
Represents all currently supported fields for objects of type |
|
Represents all currently supported fields for objects of type |
|
Represents all currently supported fields for objects of type |
|
Represents all currently supported fields for objects of type |
|
Represents all currently supported fields for objects of type |
- class musify.field.TrackFieldMixin(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
TagField
Applies extra functionality to the TagField enum for TagField types relating to
Track
typesMethods:
map
(enum)Optional mapper to apply to the enum found during
all()
,from_name()
, andfrom_value()
calls- classmethod map(enum)
Optional mapper to apply to the enum found during
all()
,from_name()
, andfrom_value()
calls- Return type:
list
[Self
]
- class musify.field.TrackField(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
TrackFieldMixin
Represents all currently supported fields for objects of type
Track
Attributes:
- ALL = 0
- TITLE = 65
- ARTIST = 32
- ALBUM = 30
- ALBUM_ARTIST = 31
- TRACK = 586
- TRACK_NUMBER = 86
- TRACK_TOTAL = 87
- GENRES = 59
- YEAR = 35
- BPM = 85
- KEY = 903
- DISC = 552
- DISC_NUMBER = 52
- DISC_TOTAL = 54
- COMPILATION = 904
- COMMENTS = 44
- IMAGES = 905
- LENGTH = 16
- RATING = 75
- URI = 941
- class musify.field.PlaylistField(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Field
Represents all currently supported fields for objects of type
Playlist
Attributes:
- ALL = 0
- TRACK_TOTAL = 87
- IMAGES = 905
- LENGTH = 16
- DATE_CREATED = 921
- DATE_MODIFIED = 11
- DESCRIPTION = 931
- class musify.field.FolderField(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Field
Represents all currently supported fields for objects of type
Folder
Attributes:
- ALL = 0
- TRACK_TOTAL = 87
- GENRES = 59
- IMAGES = 905
- COMPILATION = 904
- LENGTH = 16
- FOLDER = 179
- class musify.field.AlbumField(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Field
Represents all currently supported fields for objects of type
Album
Attributes:
- ALL = 0
- ARTIST = 32
- ALBUM = 30
- ALBUM_ARTIST = 31
- TRACK_TOTAL = 87
- GENRES = 59
- DATE = 900
- YEAR = 35
- MONTH = 901
- DAY = 902
- DISC_TOTAL = 54
- COMPILATION = 904
- IMAGES = 905
- LENGTH = 16
- RATING = 75
- class musify.field.ArtistField(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Field
Represents all currently supported fields for objects of type
Artist
Attributes:
- ALL = 0
- ARTIST = 32
- TRACK_TOTAL = 87
- GENRES = 59
- IMAGES = 905
- LENGTH = 16
- RATING = 75