mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
feat: add anidb support to jellyfin scanner (#1533)
* feat: anidb on jellyfin scanner * fix: handle 4k movies if the provider is anidb * fix: add nullish coalescing for anidbId * Update server/lib/scanners/jellyfin/index.ts Co-authored-by: Gauthier <mail@gauthierth.fr> * fix: await getEpisodes call in JellyfinScanner to handle async behavior --------- Co-authored-by: Gauthier <mail@gauthierth.fr>
This commit is contained in:
@@ -48,6 +48,7 @@ export interface AnidbItem {
|
||||
tvdbId?: number;
|
||||
tmdbId?: number;
|
||||
imdbId?: string;
|
||||
tvdbSeason?: number;
|
||||
}
|
||||
|
||||
class AnimeListMapping {
|
||||
@@ -97,6 +98,7 @@ class AnimeListMapping {
|
||||
tvdbId: anime.$.defaulttvdbseason === '0' ? undefined : tvdbId,
|
||||
tmdbId: tmdbId,
|
||||
imdbId: imdbIds[0], // this is used for one AniDB -> one imdb movie mapping
|
||||
tvdbSeason: Number(anime.$.defaulttvdbseason),
|
||||
};
|
||||
|
||||
if (tvdbId) {
|
||||
|
||||
Reference in New Issue
Block a user