all-files: implement titles (shows, movies) list

This commit is contained in:
jurgis
2022-12-10 19:47:52 +01:00
parent 75ba458b59
commit 80ba785798
6 changed files with 82 additions and 18 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ import { TypeOrmModuleOptions } from '@nestjs/typeorm';
import { LrtCategory } from '../KodiApi/LRT/LrtApiClient/Entity/lrt-category.entity';
import { join } from 'path';
import { TitleEntity } from '../KodiApi/AllFiles/Entity/title.entity';
import { FileEntity } from '../KodiApi/AllFiles/Entity/file.entity';
env.config();
@@ -21,7 +22,7 @@ export class ConfigService {
return {
type: 'sqlite',
database: this.getEnv('DB_PATH'),
entities: [LrtCategory, TitleEntity],
entities: [LrtCategory, TitleEntity, FileEntity],
};
}