mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
creating metafile config entry
This commit is contained in:
parent
73303c39c8
commit
717afebff9
@ -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';
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
@ -39,6 +39,9 @@ export class SettingsService {
|
||||
Video: {
|
||||
enabled: true
|
||||
},
|
||||
MetaFile: {
|
||||
enabled: true
|
||||
},
|
||||
Other: {
|
||||
enableCache: true,
|
||||
enableOnScrollRendering: true,
|
||||
|
Loading…
Reference in New Issue
Block a user