Skip to content

Commit

Permalink
Fix:Opening audiobook RSS feeds use audiofile name advplyr#3752
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Dec 28, 2024
1 parent 727310a commit e0c674d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/FeedEpisode.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0c674d

Please sign in to comment.