mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-22 00:07:52 +01:00
Properly support multiple narrators when Matching
This commit adds proper support for multiple narrators when matching. We were accidentally missing a split in the same way we handle it for genres and tags
This commit is contained in:
parent
987f188f00
commit
4f5f2d32be
@ -428,7 +428,7 @@ export default {
|
|||||||
)
|
)
|
||||||
updatePayload.metadata.authors = authorPayload
|
updatePayload.metadata.authors = authorPayload
|
||||||
} else if (key === 'narrator') {
|
} else if (key === 'narrator') {
|
||||||
updatePayload.metadata.narrators = [this.selectedMatch[key]]
|
updatePayload.metadata.narrators = this.selectedMatch[key].split(',').map((v) => v.trim())
|
||||||
} else if (key === 'genres') {
|
} else if (key === 'genres') {
|
||||||
updatePayload.metadata.genres = this.selectedMatch[key].split(',').map((v) => v.trim())
|
updatePayload.metadata.genres = this.selectedMatch[key].split(',').map((v) => v.trim())
|
||||||
} else if (key === 'tags') {
|
} else if (key === 'tags') {
|
||||||
|
Loading…
Reference in New Issue
Block a user