MP3

Inheritance diagram of musify.libraries.local.track.mp3

The MP3 implementation of a LocalTrack.

Classes:

MP3(file[, remote_wrangler])

class musify.libraries.local.track.mp3.MP3(file, remote_wrangler=None)

Bases: LocalTrack[MP3, _MP3TagReader, _MP3TagWriter]

Attributes:

valid_extensions

Extensions of files that can be loaded by this class.

tag_map

Map of human-friendly tag name to ID3 tag ids for a given file type

valid_extensions: frozenset[str] = frozenset({'.mp3'})

Extensions of files that can be loaded by this class.

tag_map = TagMap(title=['TIT2'], artist=['TPE1'], album=['TALB'], album_artist=['TPE2'], track_number=['TRCK'], track_total=['TRCK'], genres=['TCON'], date=['TDRC', 'TDAT', 'TDOR'], year=['TYER', 'TORY'], month=(), day=(), bpm=['TBPM'], key=['TKEY'], disc_number=['TPOS'], disc_total=['TPOS'], compilation=['TCMP'], comments=['COMM'], images=['APIC'])

Map of human-friendly tag name to ID3 tag ids for a given file type