Skip to content

High performance self-hosted photo and video management solution.

feat(server): synology exclusion patterns (#15773)

Jonathan Jogenforsca79e25a6e07
diff --git a/server/src/services/library.service.ts b/server/src/services/library.service.ts
index daccf01dce..59ac171ce6 100644
--- a/server/src/services/library.service.ts
+++ b/server/src/services/library.service.ts
@@ -223,7 +223,7 @@ export class LibraryService extends BaseService {
ownerId: dto.ownerId,
name: dto.name ?? 'New External Library',
importPaths: dto.importPaths ?? [],
- exclusionPatterns: dto.exclusionPatterns ?? ['**/@eaDir/**', '**/._*'],
+ exclusionPatterns: dto.exclusionPatterns ?? ['**/@eaDir/**', '**/._*', '**/#recycle/**', '**/#snapshot/**'],
});
return mapLibrary(library);
}