From 6e8b99f7e1997d11f1a983a64d5cf851ea9e4530 Mon Sep 17 00:00:00 2001 From: John Corser Date: Thu, 2 Jan 2025 14:07:24 -0500 Subject: [PATCH] remove checkIfPlaybackReportingInstalled since it requires admin rights --- src/components/pages/ServerConfigurationPage.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/components/pages/ServerConfigurationPage.tsx b/src/components/pages/ServerConfigurationPage.tsx index e755e1c..8155dac 100644 --- a/src/components/pages/ServerConfigurationPage.tsx +++ b/src/components/pages/ServerConfigurationPage.tsx @@ -8,7 +8,6 @@ import { authenticateByAuthToken, } from "@/lib/jellyfin-api"; import { useNavigate } from "react-router-dom"; -import { checkIfPlaybackReportingInstalled } from "@/lib/playback-reporting-queries"; import { getCacheValue, JELLYFIN_AUTH_TOKEN_CACHE_KEY, @@ -80,15 +79,6 @@ const ServerConfigurationPage = () => { await authenticateByUserName(serverUrl, username, password); } - const playbackReportingPluginInstalled = - await checkIfPlaybackReportingInstalled(); - if (!playbackReportingPluginInstalled) { - alert( - "Playback Reporting Plugin is not installed. Please install it to enable playback reporting.", - ); - setIsLoading(false); - return; - } navigate("/movies"); } catch (e) { showBoundary(e);