mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-15 00:09:38 +00:00
Fix podcast episode track index null in playback session
This commit is contained in:
parent
878f0787ba
commit
8c38987d92
2 changed files with 7 additions and 1 deletions
|
|
@ -185,6 +185,7 @@ class PodcastEpisode extends Model {
|
|||
const track = structuredClone(this.audioFile)
|
||||
track.startOffset = 0
|
||||
track.title = this.audioFile.metadata.filename
|
||||
track.index = 1 // Podcast episodes only have one track
|
||||
track.contentUrl = `/api/items/${libraryItemId}/file/${track.ino}`
|
||||
return track
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue