mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
Fix removal of games when they are deleted from file system
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user