mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-30 16:17:41 +01:00
more todos
This commit is contained in:
parent
df5f1a5fdb
commit
224de76578
2 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ import { useVideoPlayerDescriptor } from "@/video/state/hooks";
|
||||||
import { useMediaPlaying } from "@/video/state/logic/mediaplaying";
|
import { useMediaPlaying } from "@/video/state/logic/mediaplaying";
|
||||||
import { useMisc } from "@/video/state/logic/misc";
|
import { useMisc } from "@/video/state/logic/misc";
|
||||||
|
|
||||||
|
// TODO pausing before first frame will infinitely show spinner until unpaused
|
||||||
export function LoadingAction() {
|
export function LoadingAction() {
|
||||||
const descriptor = useVideoPlayerDescriptor();
|
const descriptor = useVideoPlayerDescriptor();
|
||||||
const mediaPlaying = useMediaPlaying(descriptor);
|
const mediaPlaying = useMediaPlaying(descriptor);
|
||||||
|
|
|
@ -251,6 +251,7 @@ export function MediaView() {
|
||||||
stream={stream}
|
stream={stream}
|
||||||
selected={selected}
|
selected={selected}
|
||||||
onChangeStream={(sId, eId) => {
|
onChangeStream={(sId, eId) => {
|
||||||
|
// TODO changing episode breaks useGoBack
|
||||||
history.replace(
|
history.replace(
|
||||||
`/media/${encodeURIComponent(params.media)}/${encodeURIComponent(
|
`/media/${encodeURIComponent(params.media)}/${encodeURIComponent(
|
||||||
sId
|
sId
|
||||||
|
|
Loading…
Reference in a new issue