Fix:Abs metadata parser to allow second equals sign in value #634

This commit is contained in:
advplyr 2022-06-12 17:47:14 -05:00
parent 80c9efc618
commit 3bb2df6e12

View File

@ -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)
}
}