mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-06 09:20:20 +02:00
Fix:Opening audiobook RSS feeds use audiofile name #3752
This commit is contained in:
@ -138,7 +138,7 @@ class FeedEpisode extends Model {
|
|||||||
|
|
||||||
const contentUrl = `/feed/${slug}/item/${episodeId}/media${Path.extname(audioTrack.metadata.filename)}`
|
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 (book.trackList.length == 1) {
|
||||||
// If audiobook is a single file, use book title instead of chapter/file title
|
// If audiobook is a single file, use book title instead of chapter/file title
|
||||||
title = book.title
|
title = book.title
|
||||||
|
Reference in New Issue
Block a user