Skip to content

Commit 23dda65

Browse files
authored
Merge pull request #28 from jeandeaual/feature/add_releasestatus_releasetype
Add RELEASETYPE mapping for albumtype and RELEASESTATUS mapping for albumstatus
2 parents 384784c + eb8ca51 commit 23dda65

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ v0.4.0
104104
''''''
105105

106106
- Added a ``barcode`` field.
107+
- Added new tag mappings for ``albumtype`` and ``albumstatus``.
107108

108109
v0.3.0
109110
''''''

mediafile.py

+2
Original file line numberDiff line numberDiff line change
@@ -1756,6 +1756,7 @@ def update(self, dict):
17561756
albumtype = MediaField(
17571757
MP3DescStorageStyle(u'MusicBrainz Album Type'),
17581758
MP4StorageStyle('----:com.apple.iTunes:MusicBrainz Album Type'),
1759+
StorageStyle('RELEASETYPE'),
17591760
StorageStyle('MUSICBRAINZ_ALBUMTYPE'),
17601761
ASFStorageStyle('MusicBrainz/Album Type'),
17611762
)
@@ -1833,6 +1834,7 @@ def update(self, dict):
18331834
albumstatus = MediaField(
18341835
MP3DescStorageStyle(u'MusicBrainz Album Status'),
18351836
MP4StorageStyle('----:com.apple.iTunes:MusicBrainz Album Status'),
1837+
StorageStyle('RELEASESTATUS'),
18361838
StorageStyle('MUSICBRAINZ_ALBUMSTATUS'),
18371839
ASFStorageStyle('MusicBrainz/Album Status'),
18381840
)

0 commit comments

Comments
 (0)