mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-30 18:48:55 +01:00
Fix:Abs metadata parser to allow second equals sign in value #634
This commit is contained in:
parent
80c9efc618
commit
3bb2df6e12
@ -273,8 +273,8 @@ function parseAbMetadataText(text, mediaType) {
|
||||
} else if (!metadataMapper[keyValue[0].trim()]) {
|
||||
Logger.warn(`abmetadata key "${keyValue[0].trim()}" is not a valid ${mediaType} metadata key`)
|
||||
} else {
|
||||
var key = keyValue[0].trim()
|
||||
var value = keyValue[1].trim()
|
||||
var key = keyValue.shift().trim()
|
||||
var value = keyValue.join('=').trim()
|
||||
mediaMetadataDetails[key] = metadataMapper[key].from(value)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user