FLAC

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

The FLAC implementation of a LocalTrack.

Classes:

FLAC(file[, remote_wrangler])

class musify.libraries.local.track.flac.FLAC(file, remote_wrangler=None)

Bases: LocalTrack[FLAC, _FLACTagReader, _FLACTagWriter]

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({'.flac'})

Extensions of files that can be loaded by this class.

tag_map = TagMap(title=['title'], artist=['artist'], album=['album'], album_artist=['albumartist'], track_number=['tracknumber', 'track'], track_total=['tracktotal'], genres=['genre'], date=['date', 'year'], year=['year'], month=(), day=(), bpm=['bpm'], key=['initialkey'], disc_number=['discnumber'], disc_total=['disctotal'], compilation=['compilation'], comments=['comment', 'description'], images=())

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