mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-03 19:41:52 +02:00
Fix podcast episode track index null in playback session
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user