From 977bdbf0bbacaa401751c1aadb42f2a731994cf8 Mon Sep 17 00:00:00 2001 From: advplyr Date: Mon, 6 Jan 2025 13:30:31 -0600 Subject: [PATCH] Fix podcast episode AudioTrack object --- server/models/PodcastEpisode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/models/PodcastEpisode.js b/server/models/PodcastEpisode.js index c6a1b9fa..9eb14632 100644 --- a/server/models/PodcastEpisode.js +++ b/server/models/PodcastEpisode.js @@ -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 }