mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-10 13:59:40 +00:00
Merge pull request #3822 from mikiher/episode-table-refresh-fix
Episode table refresh fixes
This commit is contained in:
commit
9b5bdc1fdb
2 changed files with 19 additions and 5 deletions
|
|
@ -461,6 +461,9 @@ class PodcastController {
|
|||
return res.sendStatus(404)
|
||||
}
|
||||
|
||||
// Remove it from the podcastEpisodes array
|
||||
req.libraryItem.media.podcastEpisodes = req.libraryItem.media.podcastEpisodes.filter((ep) => ep.id !== episodeId)
|
||||
|
||||
if (hardDelete) {
|
||||
const audioFile = episode.audioFile
|
||||
// TODO: this will trigger the watcher. should maybe handle this gracefully
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue