Merge branch 'master' into dewyer/add-custom-metadata-provider

This commit is contained in:
advplyr 2024-02-11 09:10:29 -06:00
commit ddf4b2646c
64 changed files with 8869 additions and 25483 deletions

View file

@ -124,11 +124,6 @@ class LibraryItemController {
const libraryItem = req.libraryItem
const mediaPayload = req.body
// Item has cover and update is removing cover so purge it from cache
if (libraryItem.media.coverPath && (mediaPayload.coverPath === '' || mediaPayload.coverPath === null)) {
await CacheManager.purgeCoverCache(libraryItem.id)
}
// Book specific
if (libraryItem.isBook) {
await this.createAuthorsAndSeriesForItemUpdate(mediaPayload, libraryItem.libraryId)