mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-28 03:30:37 +02:00
Add channels, codec and bitrate to tracks table & breakpoint updates
This commit is contained in:
parent
2706a9c4aa
commit
e0b90c6813
3 changed files with 20 additions and 9 deletions
|
@ -834,8 +834,8 @@ class LibraryItemController {
|
|||
}
|
||||
|
||||
if (req.libraryItem.isMissing || !req.libraryItem.isBook || !req.libraryItem.media.includedAudioFiles.length) {
|
||||
Logger.error(`[LibraryItemController] Invalid library item`)
|
||||
return res.sendStatus(500)
|
||||
Logger.error(`[LibraryItemController] getMetadataObject: Invalid library item "${req.libraryItem.media.title}"`)
|
||||
return res.sendStatus(400)
|
||||
}
|
||||
|
||||
res.json(this.audioMetadataManager.getMetadataObjectForApi(req.libraryItem))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue