Skip to content

Commit

Permalink
Merge pull request #28 from jeandeaual/feature/add_releasestatus_rele…
Browse files Browse the repository at this point in the history
…asetype

Add RELEASETYPE mapping for albumtype and RELEASESTATUS mapping for albumstatus
  • Loading branch information
sampsyo authored Jan 22, 2020
2 parents 384784c + eb8ca51 commit 23dda65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ v0.4.0
''''''

- Added a ``barcode`` field.
- Added new tag mappings for ``albumtype`` and ``albumstatus``.

v0.3.0
''''''
Expand Down
2 changes: 2 additions & 0 deletions mediafile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1756,6 +1756,7 @@ def update(self, dict):
albumtype = MediaField(
MP3DescStorageStyle(u'MusicBrainz Album Type'),
MP4StorageStyle('----:com.apple.iTunes:MusicBrainz Album Type'),
StorageStyle('RELEASETYPE'),
StorageStyle('MUSICBRAINZ_ALBUMTYPE'),
ASFStorageStyle('MusicBrainz/Album Type'),
)
Expand Down Expand Up @@ -1833,6 +1834,7 @@ def update(self, dict):
albumstatus = MediaField(
MP3DescStorageStyle(u'MusicBrainz Album Status'),
MP4StorageStyle('----:com.apple.iTunes:MusicBrainz Album Status'),
StorageStyle('RELEASESTATUS'),
StorageStyle('MUSICBRAINZ_ALBUMSTATUS'),
ASFStorageStyle('MusicBrainz/Album Status'),
)
Expand Down

0 comments on commit 23dda65

Please sign in to comment.