mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-16 12:24:56 +02:00
Add: map series and series-part meta tags #129
This commit is contained in:
parent
98c1ee01fd
commit
b32b99418a
3 changed files with 25 additions and 7 deletions
|
@ -275,10 +275,19 @@ class Book {
|
|||
{
|
||||
tag: 'tagGenre',
|
||||
key: 'genres'
|
||||
},
|
||||
{
|
||||
tag: 'tagSeries',
|
||||
key: 'series'
|
||||
},
|
||||
{
|
||||
tag: 'tagSeriesPart',
|
||||
key: 'volumeNumber'
|
||||
}
|
||||
]
|
||||
|
||||
var updatePayload = {}
|
||||
// Metadata is only mapped to the book if it is empty
|
||||
MetadataMapArray.forEach((mapping) => {
|
||||
if (audioFileMetadata[mapping.tag]) {
|
||||
// Genres can contain multiple
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue