0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-04 01:09:14 -05:00

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

feat: add synology exclusion patterns
This commit is contained in:
Jonathan Jogenfors 2025-01-29 20:42:21 +01:00 committed by GitHub
parent 4fd8c1b3c1
commit ca79e25a6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -223,7 +223,7 @@ export class LibraryService extends BaseService {
ownerId: dto.ownerId, ownerId: dto.ownerId,
name: dto.name ?? 'New External Library', name: dto.name ?? 'New External Library',
importPaths: dto.importPaths ?? [], importPaths: dto.importPaths ?? [],
exclusionPatterns: dto.exclusionPatterns ?? ['**/@eaDir/**', '**/._*'], exclusionPatterns: dto.exclusionPatterns ?? ['**/@eaDir/**', '**/._*', '**/#recycle/**', '**/#snapshot/**'],
}); });
return mapLibrary(library); return mapLibrary(library);
} }