mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 10:49:00 +02:00
Fix:Opening audiobook RSS feeds use audiofile name #3752
This commit is contained in:
parent
727310ab75
commit
e0c674d9a9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue