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

feat(scanner): parse isrc and upc tag #2994

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Zibbp
Copy link

@Zibbp Zibbp commented May 3, 2024

Todo item from #1036

Description

Parse the isrc and upc tags if available. I've added ISRC and UPC columns to the mediafile table, and a UPC column to the album table. These are made available in the web interface by clicking "get info" for a track or album. I've updated the test.mp3 file, adding example ISRC and UPC tags. Updating the file caused some other fields to get slightly changed so I had to fix a taglib test. Not sure if you have a better way to add tags to these files without other tags getting slightly modified, but the best way I found was using mp3tag, instead of ffmpeg or id3v2.

The ISRC and UPC are not available in the API for searching, I'm not sure if that is part of the OpenSubsonic spec. Maybe it can be included as a search filter for the native API?

Zibbp added 3 commits May 3, 2024 00:49
Signed-off-by: Zibbp <zibbp@zibbp.net>
Signed-off-by: Zibbp <zibbp@zibbp.net>
Signed-off-by: Zibbp <zibbp@zibbp.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant