Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,12 @@ const noVerifyHttpsAgent = new https.Agent({
while (true) {
const r = await axios.get(`${process.env.PLEX_SERVER ?? "http://localhost:32400"}/identity`, {
timeout: 5000,
}).catch(() => null);

httpAgent: process.env.DISABLE_TLS_VERIFY === "true" ? noVerifyHttpsAgent : undefined,
httpsAgent: process.env.DISABLE_TLS_VERIFY === "true" ? noVerifyHttpsAgent : undefined,
}).catch((e) => {
console.error('Error reaching PLEX_SERVER:', e.message);
return null;
});
if (r && r.status === 200) {
status.error = false;
return resolve();
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/HeroDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useSearchParams, useNavigate } from "react-router-dom";
import { usePreviewPlayer } from "../states/PreviewPlayerState";
import ReactPlayer from "react-player";
import { useBigReader } from "./BigReader";
import { WatchListButton } from "./MovieItem";
import { HeroWatchListButton } from "./MovieItem";
import { getBackendURL } from "../backendURL";
import { queryBuilder } from "../plex/QuickFunctions";
import { getTranscodeImageURL } from "../plex";
Expand Down Expand Up @@ -318,7 +318,7 @@ function HeroDisplay({ item }: { item: Plex.Metadata }) {
</Typography>
</Button>

<WatchListButton item={item} />
<HeroWatchListButton item={item} />
</Box>
</Box>
</Box>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/MetaScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import { usePreviewPlayer } from "../states/PreviewPlayerState";
import MovieItem from "./MovieItem";
import { useBigReader } from "./BigReader";
import { useInView } from "react-intersection-observer";
import { WatchListButton } from "./MovieItem";
import { HeroWatchListButton } from "./MovieItem";
import { alpha } from "@mui/material/styles";
import { AnimatePresence, motion } from "framer-motion";
import { useConfirmModal } from "./ConfirmModal";
Expand Down Expand Up @@ -668,7 +668,7 @@ function MetaScreen() {
</Button>

<Tooltip placement="top" arrow title="Watchlist">
<WatchListButton item={data as Plex.Metadata} />
<HeroWatchListButton item={data as Plex.Metadata} />
</Tooltip>

{data && <RatingButton item={data} />}
Expand Down
Loading