Merge pull request #1110 from keaganhilliard/tone-json

Added tone json file support
This commit is contained in:
advplyr 2022-11-05 13:13:49 -05:00 committed by GitHub
commit 9627f58541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 98 additions and 36 deletions

View file

@ -398,7 +398,8 @@ class LibraryItemController {
}
const useTone = req.query.tone === '1'
this.audioMetadataManager.updateMetadataForItem(req.user, req.libraryItem, useTone)
const forceEmbedChapters = req.query.forceEmbedChapters === '1'
this.audioMetadataManager.updateMetadataForItem(req.user, req.libraryItem, useTone, forceEmbedChapters)
res.sendStatus(200)
}