mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-02-15 01:40:15 +01:00
Fix:Opening audiobook RSS feeds use audiofile name #3752
This commit is contained in:
parent
727310ab75
commit
e0c674d9a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user