mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-30 12:14:06 +01:00
Fixes for db migration & local playback sessions
This commit is contained in:
1 parent
63e5cf2e60
commit
d99b2c25e8
13 files changed
+750
-119
No files matched your search
@@ -335,6 +335,11 @@ class Podcast {
|
||||
}
|
||||
|
||||
getEpisode(episodeId) {
|
||||
if (!episodeId) return null
|
||||
|
||||
// Support old episode ids for mobile downloads
|
||||
if (episodeId.startsWith('ep_')) return this.episodes.find(ep => ep.oldEpisodeId == episodeId)
|
||||
|
||||
return this.episodes.find(ep => ep.id == episodeId)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user