From cf83df64bbdc3a0689af29201994e562e8a1ec71 Mon Sep 17 00:00:00 2001 From: Jelle van Snik Date: Sat, 14 Jan 2023 00:34:13 +0100 Subject: [PATCH] add some todos --- src/backend/index.ts | 1 + src/views/MediaView.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/index.ts b/src/backend/index.ts index 47587b3a..ee267e67 100644 --- a/src/backend/index.ts +++ b/src/backend/index.ts @@ -5,6 +5,7 @@ import { initializeScraperStore } from "./helpers/register"; // - hooks to run all providers one by one // - move over old providers to new system // - implement jons providers/embedscrapers +// - show/episode support // providers // -- nothing here yet diff --git a/src/views/MediaView.tsx b/src/views/MediaView.tsx index 26637a46..926f4c54 100644 --- a/src/views/MediaView.tsx +++ b/src/views/MediaView.tsx @@ -60,6 +60,7 @@ export function MediaView() { const [stream, setStream] = useState(null); useEffect(() => { + // TODO handle errors (async () => { const [t, id] = params.media.split("-", 2); const type = JWMediaToMediaType(t); @@ -68,7 +69,6 @@ export function MediaView() { })(); }, [setMeta, params]); - // TODO not found checks // TODO watched store // TODO scrape loading state // TODO error page with video header