[Enhancement]: Smarter handling of genre, author, narrator metadata #1086

Closed
opened 2026-04-24 23:31:41 +02:00 by adam · 1 comment
Owner

Originally created by @deanishe on GitHub (Apr 18, 2023).

Describe the feature/enhancement

When "Prefer audio metadata" and "Prefer OPF metadata" are both turned on, genres from the OPF file are ignored.

This is a problem because ffprobe doesn't support multiple values for tags and only returns the first one. So in practical terms, its support for multiple genres (and author/artist, narrator/composer) is broken.

Seeing as ABS supports multiple values for these fields, but ffprobe doesn't, could this situation be handled more intelligently? Perhaps genres could be merged? Or OPF metadata prioritised over tag metadata?

I'd prefer not to have to turn tags off and use OPF for everything.

Originally created by @deanishe on GitHub (Apr 18, 2023). ### Describe the feature/enhancement When "Prefer audio metadata" and "Prefer OPF metadata" are both turned on, genres from the OPF file are ignored. This is a problem because `ffprobe` doesn't support multiple values for tags and only returns the first one. So in practical terms, its support for multiple genres (and author/artist, narrator/composer) is broken. Seeing as ABS supports multiple values for these fields, but `ffprobe` doesn't, could this situation be handled more intelligently? Perhaps genres could be merged? Or OPF metadata prioritised over tag metadata? I'd prefer not to have to turn tags off and use OPF for everything.
adam added the enhancement label 2026-04-24 23:31:41 +02:00
adam closed this issue 2026-04-24 23:31:43 +02:00
Author
Owner

@advplyr commented on GitHub (Apr 27, 2023):

I'm not sure what you mean that ffprobe doesn't handle multiple tags. You can put multiple genres

@advplyr commented on GitHub (Apr 27, 2023): I'm not sure what you mean that ffprobe doesn't handle multiple tags. You can put multiple genres
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1086