mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: skip locked photos during duplicate scan. (#19105)
Skip locked photos during duplicate scan.
This commit is contained in:
parent
103b83d2d6
commit
de756d9497
1 changed files with 5 additions and 0 deletions
|
|
@ -78,6 +78,11 @@ export class DuplicateService extends BaseService {
|
|||
return JobStatus.SKIPPED;
|
||||
}
|
||||
|
||||
if (asset.visibility === AssetVisibility.LOCKED) {
|
||||
this.logger.debug(`Asset ${id} is locked, skipping`);
|
||||
return JobStatus.SKIPPED;
|
||||
}
|
||||
|
||||
if (!asset.embedding) {
|
||||
this.logger.debug(`Asset ${id} is missing embedding`);
|
||||
return JobStatus.FAILED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue