mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-04 23:19:42 +00:00
Merge a9e55ab6e8 into 1d0b7e383a
This commit is contained in:
commit
0c339022f6
3 changed files with 11 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue