We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 745338b commit 4ebcfa0Copy full SHA for 4ebcfa0
src/backend/model/fileaccess/DiskManager.ts
@@ -296,7 +296,7 @@ export class DiskManager {
296
directory.cache.mediaCount = directory.media.length;
297
// TODO: cache is now calculated purely though DB after indexing of the directory is done.
298
// Delete is with caution (double check if it still indeed not used)
299
- if (!directory.isPartial) {
+ if (!directory.isPartial && !settings.noMetadata) {
300
directory.cache.youngestMedia = Number.MAX_SAFE_INTEGER;
301
directory.cache.oldestMedia = Number.MIN_SAFE_INTEGER;
302
0 commit comments