add re-scan all option

This commit is contained in:
Jurgis Sakalauskas
2023-10-30 11:42:38 +02:00
parent e707fa838b
commit 67dc81090e
4 changed files with 19 additions and 2 deletions
@@ -65,6 +65,9 @@ export class VideoFilesUpdateService {
}
await this.repository.saveFiles(entitiesToSave);
console.log(
`file scan and update complete - ${refresh ? 'full update' : 'only new'}`,
);
}
private isPathToIgnore(filePath: string): boolean {