mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-25 07:51:51 +01:00
cleanup todos
Co-authored-by: Jip Frijlink <JipFr@users.noreply.github.com> Co-authored-by: James Hawkins <jhawki2005@gmail.com> Co-authored-by: William Oldham <wegg7250@gmail.com>
This commit is contained in:
parent
398644951e
commit
a2e647297a
@ -19,22 +19,6 @@ if (key) {
|
|||||||
}
|
}
|
||||||
initializeChromecast();
|
initializeChromecast();
|
||||||
|
|
||||||
// TODO video todos:
|
|
||||||
// - chrome cast support
|
|
||||||
// - bug: safari fullscreen will make video overlap player controls
|
|
||||||
|
|
||||||
// TODO stuff to test:
|
|
||||||
// - browser: firefox, chrome, edge, safari desktop
|
|
||||||
// - phones: android firefox, android chrome, iphone safari
|
|
||||||
// - devices: ipadOS
|
|
||||||
// - HLS
|
|
||||||
// - HLS error handling
|
|
||||||
// - video player error handling
|
|
||||||
|
|
||||||
// TODO backend system:
|
|
||||||
// - implement jons providers/embedscrapers
|
|
||||||
// - AFTER all that: rank providers/embedscrapers
|
|
||||||
|
|
||||||
const LazyLoadedApp = React.lazy(async () => {
|
const LazyLoadedApp = React.lazy(async () => {
|
||||||
await initializeStores();
|
await initializeStores();
|
||||||
return {
|
return {
|
||||||
|
@ -70,7 +70,6 @@ async function getMetas(
|
|||||||
|
|
||||||
let keys: (string | null)[][] = [["0", "0"]];
|
let keys: (string | null)[][] = [["0", "0"]];
|
||||||
if (item.data.type === "series") {
|
if (item.data.type === "series") {
|
||||||
// TODO sort episodes by season & episode so it shows the "highest" episode as last
|
|
||||||
const meta = await getMetaFromId(item.data.type, item.data.id);
|
const meta = await getMetaFromId(item.data.type, item.data.id);
|
||||||
if (!meta || !meta?.meta.seasons) return;
|
if (!meta || !meta?.meta.seasons) return;
|
||||||
const seasonNumbers = [
|
const seasonNumbers = [
|
||||||
|
@ -17,8 +17,7 @@ import { updateMediaPlaying } from "../logic/mediaplaying";
|
|||||||
import { VideoPlayerStateProvider } from "./providerTypes";
|
import { VideoPlayerStateProvider } from "./providerTypes";
|
||||||
import { updateProgress } from "../logic/progress";
|
import { updateProgress } from "../logic/progress";
|
||||||
|
|
||||||
// TODO startAt when switching state providers
|
// TODO HLS for casting?
|
||||||
// TODO test HLS
|
|
||||||
export function createCastingStateProvider(
|
export function createCastingStateProvider(
|
||||||
descriptor: string
|
descriptor: string
|
||||||
): VideoPlayerStateProvider {
|
): VideoPlayerStateProvider {
|
||||||
@ -184,7 +183,6 @@ export function createCastingStateProvider(
|
|||||||
break;
|
break;
|
||||||
case "isMuted":
|
case "isMuted":
|
||||||
state.mediaPlaying.volume = e.value ? 1 : 0;
|
state.mediaPlaying.volume = e.value ? 1 : 0;
|
||||||
// TODO better mute handling
|
|
||||||
updateMediaPlaying(descriptor, state);
|
updateMediaPlaying(descriptor, state);
|
||||||
break;
|
break;
|
||||||
case "displayStatus":
|
case "displayStatus":
|
||||||
|
Loading…
Reference in New Issue
Block a user