Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional ORIGINALDATE freeform mp4 tag for Plex support #70

Closed
chrisbenincasa opened this issue Sep 1, 2023 · 0 comments · Fixed by #71
Closed

Add additional ORIGINALDATE freeform mp4 tag for Plex support #70

chrisbenincasa opened this issue Sep 1, 2023 · 0 comments · Fixed by #71

Comments

@chrisbenincasa
Copy link
Contributor

It seems that Plex does not properly detect the com.apple.iTunes:ORIGINAL YEAR' freeform tag (presented as ORIGINAL YEAR by ffmpeg).

After searching around the web for a little, it seems that Plex relies on ffmpeg output to determine tags of certain files. I've confirmed with a small script (https://gist.github.com/chrisbenincasa/3b518514fd2b0d3cc494dce82b84b3a7) that setting ----:com.apple.iTunes:ORIGINALDATE on m4a files (mimicking behavior of Vorbis) allows Plex to recognize the tag.

It doesn't seem as if Picard defines a mapping for this field (https://picard-docs.musicbrainz.org/en/appendices/tag_mapping.html) but the popular Typescript music-metadata library has mappings for to ORIGINALYEAR and ORIGINALDATE: https://github.com/Borewit/music-metadata/blob/master/doc/common_metadata.md

One way to fix this would be to append a second tag for m4a called ORIGINALDATE. I'm not sure what the implications of changing the existing tag would be... It would probably also be beneficial to set ORIGINALYEAR in a separate tag.

chrisbenincasa added a commit to chrisbenincasa/mediafile that referenced this issue Sep 1, 2023
YEAR" tag. The former is used by Plex Media Server to discern the
original release date. Fixes beetbox#70

This behavior also matches other popular tagging libraries, such as https://github.com/Borewit/music-metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant