1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

more todos

This commit is contained in:
Jelle van Snik 2023-02-12 16:27:27 +01:00
parent df5f1a5fdb
commit 224de76578
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ import { useVideoPlayerDescriptor } from "@/video/state/hooks";
import { useMediaPlaying } from "@/video/state/logic/mediaplaying";
import { useMisc } from "@/video/state/logic/misc";
// TODO pausing before first frame will infinitely show spinner until unpaused
export function LoadingAction() {
const descriptor = useVideoPlayerDescriptor();
const mediaPlaying = useMediaPlaying(descriptor);

View file

@ -251,6 +251,7 @@ export function MediaView() {
stream={stream}
selected={selected}
onChangeStream={(sId, eId) => {
// TODO changing episode breaks useGoBack
history.replace(
`/media/${encodeURIComponent(params.media)}/${encodeURIComponent(
sId