mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-05-24 01:13:00 -04: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
@ -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…
x
Reference in New Issue
Block a user