feat(tvdb): get tv seasons/episodes with tvdb

This commit is contained in:
TOomaAh
2024-07-26 23:56:22 +02:00
parent 368ecf8771
commit 26e22e9dba
51 changed files with 922 additions and 56 deletions

View File

@@ -1,6 +1,6 @@
import TheMovieDb from '@server/api/themoviedb';
import { ANIME_KEYWORD_ID } from '@server/api/themoviedb/constants';
import type { TmdbKeyword } from '@server/api/themoviedb/interfaces';
import TheMovieDb from '@server/api/indexer/themoviedb';
import { ANIME_KEYWORD_ID } from '@server/api/indexer/themoviedb/constants';
import type { TmdbKeyword } from '@server/api/indexer/themoviedb/interfaces';
import {
MediaRequestStatus,
MediaStatus,

View File

@@ -39,6 +39,9 @@ export class UserSettings {
@Column({ nullable: true })
public originalLanguage?: string;
@Column({ nullable: true })
public tvdbToken?: string;
@Column({ nullable: true })
public pgpKey?: string;

View File

@@ -1,4 +1,4 @@
import TheMovieDb from '@server/api/themoviedb';
import TheMovieDb from '@server/api/indexer/themoviedb';
import { MediaType } from '@server/constants/media';
import { getRepository } from '@server/datasource';
import Media from '@server/entity/Media';