diff --git a/gameyfin/src/main/kotlin/de/grimsi/gameyfin/libraries/LibraryService.kt b/gameyfin/src/main/kotlin/de/grimsi/gameyfin/libraries/LibraryService.kt index 2db9ebf..ff76146 100644 --- a/gameyfin/src/main/kotlin/de/grimsi/gameyfin/libraries/LibraryService.kt +++ b/gameyfin/src/main/kotlin/de/grimsi/gameyfin/libraries/LibraryService.kt @@ -206,7 +206,7 @@ class LibraryService( library.unmatchedPaths.addAll(newUnmatchedPaths) // 1.3 Remove deleted games from the library - val removedGames = gameService.getAllByPaths(removedGamePaths) + val removedGames = library.games.filter { removedGamePaths.contains(it.metadata.path) } library.games.removeAll(removedGames) // 2. Download all images