Skip to content

Commit

Permalink
Set new ORIGINALDATE tag for m4a files in addition to existing "ORIGINAL
Browse files Browse the repository at this point in the history
YEAR" tag. The former is used by Plex Media Server to discern the
original release date. Fixes #70

This behavior also matches other popular tagging libraries, such as https://github.com/Borewit/music-metadata
  • Loading branch information
chrisbenincasa committed Sep 1, 2023
1 parent 11c1800 commit 93c6c3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mediafile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2087,6 +2087,7 @@ def as_dict(self):
original_date = DateField(
MP3StorageStyle('TDOR'),
MP4StorageStyle('----:com.apple.iTunes:ORIGINAL YEAR'),
MP4StorageStyle('----:com.apple.iTunes:ORIGINALDATE'),
StorageStyle('ORIGINALDATE'),
ASFStorageStyle('WM/OriginalReleaseYear'))

Expand Down

0 comments on commit 93c6c3b

Please sign in to comment.