From 6d1714b746f35ccf5195c5624b3132eccb1ca199 Mon Sep 17 00:00:00 2001 From: "Mikal S." <7761729+revam@users.noreply.github.com> Date: Tue, 10 Dec 2024 20:13:45 +0100 Subject: [PATCH] feat: add action to search for TMDB matches (#1156) --- src/components/Dialogs/ActionsModal.tsx | 1 + src/core/quick-actions.ts | 5 +++++ src/core/util.ts | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/Dialogs/ActionsModal.tsx b/src/components/Dialogs/ActionsModal.tsx index 42f315c6..e1b07227 100644 --- a/src/components/Dialogs/ActionsModal.tsx +++ b/src/components/Dialogs/ActionsModal.tsx @@ -47,6 +47,7 @@ const actions = { tmdb: { title: 'TMDB', data: [ + 'search-for-tmdb-matches', 'update-all-tmdb-shows', 'delete-unused-tmdb-shows', 'update-all-tmdb-movies', diff --git a/src/core/quick-actions.ts b/src/core/quick-actions.ts index 87dc7871..510441bb 100644 --- a/src/core/quick-actions.ts +++ b/src/core/quick-actions.ts @@ -104,6 +104,11 @@ const quickActions = { functionName: 'ValidateAllImages', info: 'Identifies any invalid images and re-downloads them.', }, + 'search-for-tmdb-matches': { + name: 'Search for TMDB Matches', + functionName: 'SearchForTmdbMatches', + info: 'Scan for TMDB matches for all unlinked AniDB anime.', + }, 'update-all-tmdb-movies': { name: 'Update All TMDB Movies', functionName: 'UpdateAllTmdbMovies', diff --git a/src/core/util.ts b/src/core/util.ts index b7692259..73ace109 100644 --- a/src/core/util.ts +++ b/src/core/util.ts @@ -29,7 +29,7 @@ export function isDebug() { return DEV; } -export const minimumSupportedServerVersion = '5.0.0.81'; +export const minimumSupportedServerVersion = '5.0.0.86'; export const parseServerVersion = (version: string) => { const semverVersion = semver.coerce(version)?.raw;