mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-21 14:47:41 +01:00
add some todos
This commit is contained in:
parent
5967c83d28
commit
cf83df64bb
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue