mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-14 15:59:38 +00:00
Podcast episode playing fix title and author
This commit is contained in:
parent
12027b9a76
commit
03bfecefee
2 changed files with 17 additions and 1 deletions
|
|
@ -39,6 +39,10 @@ export default class PlayerHandler {
|
|||
get playerPlaying() {
|
||||
return this.playerState === 'PLAYING'
|
||||
}
|
||||
get episode() {
|
||||
if (!this.episodeId) return null
|
||||
return this.libraryItem.media.episodes.find(ep => ep.id === this.episodeId)
|
||||
}
|
||||
|
||||
load(libraryItem, episodeId, playWhenReady) {
|
||||
if (!this.player) this.switchPlayer()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue