mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-22 00:07:52 +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()]) {
|
} else if (!metadataMapper[keyValue[0].trim()]) {
|
||||||
Logger.warn(`abmetadata key "${keyValue[0].trim()}" is not a valid ${mediaType} metadata key`)
|
Logger.warn(`abmetadata key "${keyValue[0].trim()}" is not a valid ${mediaType} metadata key`)
|
||||||
} else {
|
} else {
|
||||||
var key = keyValue[0].trim()
|
var key = keyValue.shift().trim()
|
||||||
var value = keyValue[1].trim()
|
var value = keyValue.join('=').trim()
|
||||||
mediaMetadataDetails[key] = metadataMapper[key].from(value)
|
mediaMetadataDetails[key] = metadataMapper[key].from(value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user