mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Fix podcast episode AudioTrack object
This commit is contained in:
parent
a1ec10bd0d
commit
977bdbf0bb
@ -168,7 +168,7 @@ class PodcastEpisode extends Model {
|
|||||||
getAudioTrack(libraryItemId) {
|
getAudioTrack(libraryItemId) {
|
||||||
const track = structuredClone(this.audioFile)
|
const track = structuredClone(this.audioFile)
|
||||||
track.startOffset = 0
|
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}`
|
track.contentUrl = `${global.RouterBasePath}/api/items/${libraryItemId}/file/${track.ino}`
|
||||||
return track
|
return track
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user