Skip to content

Commit

Permalink
remove checkIfPlaybackReportingInstalled since it requires admin rights
Browse files Browse the repository at this point in the history
  • Loading branch information
John Corser committed Jan 2, 2025
1 parent 8066212 commit 6e8b99f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/components/pages/ServerConfigurationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6e8b99f

Please sign in to comment.