add some todos

This commit is contained in:
Jelle van Snik 2023-01-14 00:34:13 +01:00
parent 5967c83d28
commit cf83df64bb
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ import { initializeScraperStore } from "./helpers/register";
// - hooks to run all providers one by one // - hooks to run all providers one by one
// - move over old providers to new system // - move over old providers to new system
// - implement jons providers/embedscrapers // - implement jons providers/embedscrapers
// - show/episode support
// providers // providers
// -- nothing here yet // -- nothing here yet

View File

@ -60,6 +60,7 @@ export function MediaView() {
const [stream, setStream] = useState<MWStream | null>(null); const [stream, setStream] = useState<MWStream | null>(null);
useEffect(() => { useEffect(() => {
// TODO handle errors
(async () => { (async () => {
const [t, id] = params.media.split("-", 2); const [t, id] = params.media.split("-", 2);
const type = JWMediaToMediaType(t); const type = JWMediaToMediaType(t);
@ -68,7 +69,6 @@ export function MediaView() {
})(); })();
}, [setMeta, params]); }, [setMeta, params]);
// TODO not found checks
// TODO watched store // TODO watched store
// TODO scrape loading state // TODO scrape loading state
// TODO error page with video header // TODO error page with video header