diff --git a/backend/model/threading/DiskMangerWorker.ts b/backend/model/threading/DiskMangerWorker.ts index 23367357..c9b435e7 100644 --- a/backend/model/threading/DiskMangerWorker.ts +++ b/backend/model/threading/DiskMangerWorker.ts @@ -3,7 +3,7 @@ import * as path from 'path'; import {DirectoryDTO} from '../../../common/entities/DirectoryDTO'; import {CameraMetadata, GPSMetadata, PhotoDTO, PhotoMetadata} from '../../../common/entities/PhotoDTO'; import {Logger} from '../../Logger'; -import {IptcParser, MarkerError, FileFormatError} from 'ts-node-iptc'; +import {IptcParser} from 'ts-node-iptc'; import {ExifParserFactory, OrientationTypes} from 'ts-exif-parser'; import {FfprobeData} from 'fluent-ffmpeg'; import {ProjectPath} from '../../ProjectPath'; diff --git a/common/config/public/ConfigClass.ts b/common/config/public/ConfigClass.ts index b9fe229a..53018b0d 100644 --- a/common/config/public/ConfigClass.ts +++ b/common/config/public/ConfigClass.ts @@ -47,6 +47,10 @@ export module ClientConfig { enabled: boolean; } + export interface MetaFileConfig { + enabled: boolean; + } + export interface Config { applicationTitle: string; @@ -61,6 +65,7 @@ export module ClientConfig { authenticationRequired: boolean; languages: string[]; Video: VideoConfig; + MetaFile: MetaFileConfig; } } @@ -100,6 +105,9 @@ export class PublicConfigClass { Video: { enabled: true }, + MetaFile: { + enabled: true + }, Other: { enableCache: true, enableOnScrollRendering: true, diff --git a/frontend/app/gallery/gallery.service.ts b/frontend/app/gallery/gallery.service.ts index 1d9adebb..9e6020dc 100644 --- a/frontend/app/gallery/gallery.service.ts +++ b/frontend/app/gallery/gallery.service.ts @@ -44,7 +44,6 @@ export class GalleryService { content.directory = this.galleryCacheService.getDirectory(directoryName); content.searchResult = null; - console.log(content.directory); this.content.next(content); this.lastRequest.directory = directoryName; diff --git a/frontend/app/settings/settings.service.ts b/frontend/app/settings/settings.service.ts index d807f7d2..3caf0c8b 100644 --- a/frontend/app/settings/settings.service.ts +++ b/frontend/app/settings/settings.service.ts @@ -39,6 +39,9 @@ export class SettingsService { Video: { enabled: true }, + MetaFile: { + enabled: true + }, Other: { enableCache: true, enableOnScrollRendering: true,