This commit is contained in:
srobe92 2026-02-25 00:01:48 +01:00 committed by GitHub
commit 0c339022f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 1 deletions

View file

@ -255,6 +255,10 @@ class AudioFileScanner {
tag: 'tagGenre',
key: 'genres'
},
{
tag: 'tagGenre1',
key: 'tags'
},
{
tag: 'tagSeries',
altTag: 'tagGrouping',
@ -293,6 +297,8 @@ class AudioFileScanner {
bookMetadata.authors = parseNameString.parse(value)?.names || []
} else if (mapping.key === 'genres') {
bookMetadata.genres = this.parseGenresString(value)
} else if (mapping.key === 'tags') {
bookMetadata.tags = this.parseGenresString(value)
} else if (mapping.key === 'series') {
// If series was embedded in the grouping tag, then parse it with semicolon separator and sequence in the same string
// e.g. "Test Series; Series Name #1; Other Series #2"