mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-22 03:44:28 +02:00
Remove invalid RSS feeds on init and remove feeds when associated entity is removed
This commit is contained in:
parent
0e6b0d3eff
commit
c6763dee2d
5 changed files with 67 additions and 21 deletions
|
@ -386,6 +386,9 @@ class ApiRouter {
|
|||
}
|
||||
}
|
||||
|
||||
// Close rss feed - remove from db and emit socket event
|
||||
await this.rssFeedManager.closeFeedForEntityId(libraryItem.id)
|
||||
|
||||
// purge cover cache
|
||||
if (libraryItem.media.coverPath) {
|
||||
await this.cacheManager.purgeCoverCache(libraryItem.id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue