update mediafile, small typos

This commit is contained in:
Dorian Soergel 2019-05-26 15:03:23 +02:00
parent 2b64fd45fe
commit 1d809aa433
3 changed files with 10 additions and 5 deletions

View file

@ -57,7 +57,6 @@ class MusicBrainzAPIError(util.HumanReadableException):
self._reasonstr(), self.verb, repr(self.query)
)
log = logging.getLogger('beets')
RELEASE_INCLUDES = ['artists', 'media', 'recordings', 'release-groups',

View file

@ -452,7 +452,7 @@ class Item(LibModel):
'composer': types.STRING,
'composer_sort': types.STRING,
'work': types.STRING,
'work_id': types.STRING,
'mb_workid': types.STRING,
'work_disambig': types.STRING,
'arranger': types.STRING,
'grouping': types.STRING,

View file

@ -1644,10 +1644,16 @@ class MediaFile(object):
ASFStorageStyle('WM/Composersortorder'),
)
work = MediaField(
MP3DescStorageStyle(u'Work'),
MP4StorageStyle('----:com.apple.iTunes:Work'),
MP3StorageStyle('TIT1'),
MP4StorageStyle('\xa9wrk'),
StorageStyle('WORK'),
ASFStorageStyle('beets/Work'),
ASFStorageStyle('WM/Work'),
)
mb_workid = MediaField(
MP3StorageStyle('TXXX:MusicBrainz Work Id'),
MP4StorageStyle('----:com.apple.iTunes:MusicBrainz Work Id'),
StorageStyle('MUSICBRAINZ_WORKID '),
ASFStorageStyle('MusicBrainz/Work Id'),
)
arranger = MediaField(
MP3PeopleStorageStyle('TIPL', involvement='arranger'),