Fix podcast episode AudioTrack object

This commit is contained in:
advplyr 2025-01-06 13:30:31 -06:00
parent a1ec10bd0d
commit 977bdbf0bb

View File

@ -168,7 +168,7 @@ class PodcastEpisode extends Model {
getAudioTrack(libraryItemId) {
const track = structuredClone(this.audioFile)
track.startOffset = 0
track.title = this.audioFile.metadata.title
track.title = this.audioFile.metadata.filename
track.contentUrl = `${global.RouterBasePath}/api/items/${libraryItemId}/file/${track.ino}`
return track
}