diff --git a/server/models/FeedEpisode.js b/server/models/FeedEpisode.js index 3bf0ff8512..0d1a3a485a 100644 --- a/server/models/FeedEpisode.js +++ b/server/models/FeedEpisode.js @@ -138,7 +138,7 @@ class FeedEpisode extends Model { const contentUrl = `/feed/${slug}/item/${episodeId}/media${Path.extname(audioTrack.metadata.filename)}` - let title = audioTrack.title + let title = Path.basename(audioTrack.metadata.filename, Path.extname(audioTrack.metadata.filename)) if (book.trackList.length == 1) { // If audiobook is a single file, use book title instead of chapter/file title title = book.title