mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 09:44:41 +02:00
Podcast episode player fixes, episode table ui updates
This commit is contained in:
parent
0e665e2091
commit
12027b9a76
13 changed files with 47 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
const Path = require('path')
|
||||
|
||||
const { encodeUriPath } = require('../../utils/index')
|
||||
class AudioTrack {
|
||||
constructor() {
|
||||
this.index = null
|
||||
|
@ -26,7 +26,7 @@ class AudioTrack {
|
|||
this.startOffset = startOffset
|
||||
this.duration = audioFile.duration
|
||||
this.title = audioFile.metadata.filename || ''
|
||||
this.contentUrl = Path.join(`/s/item/${itemId}`, audioFile.metadata.relPath)
|
||||
this.contentUrl = Path.join(`/s/item/${itemId}`, encodeUriPath(audioFile.metadata.relPath))
|
||||
this.mimeType = audioFile.mimeType
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue