mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
added type to be saved. Should support podcasts
It should support everything important from the podcast metadata: https://api.audiobookshelf.org/#podcast-metadata And the book metadata: https://api.audiobookshelf.org/#book-metadata
This commit is contained in:
parent
2fbb31e0ea
commit
f9bbd71174
1 changed files with 2 additions and 2 deletions
|
@ -178,8 +178,8 @@ class PlaybackSessionManager {
|
|||
// This makes sure that the client's metadata is preferred over the library's metadata, if available, to make a non-breaking change
|
||||
if(session.mediaMetadata == null) {
|
||||
// Only sync important metadata
|
||||
const { title, subtitle, narrators, authors, author, series, genres } = libraryItem?.media?.metadata || {}
|
||||
session.mediaMetadata = { title, subtitle, narrators, authors, series, genres, author}
|
||||
const { title, subtitle, narrators, authors, author, series, genres, type } = libraryItem?.media?.metadata || {}
|
||||
session.mediaMetadata = { title, subtitle, narrators, authors, author, series, genres, type }
|
||||
}
|
||||
if(session.displayTitle == null || session.displayTitle === '') {
|
||||
session.displayTitle = libraryItem?.media?.metadata?.title ?? ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue