This commit is contained in:
Fredrik Burmester
2024-09-29 08:05:22 +02:00
parent ff88c45d43
commit 456048a92c
7 changed files with 191 additions and 104 deletions

View File

@@ -74,6 +74,7 @@ type Settings = {
rewindSkipTime: number;
optimizedVersionsServerUrl?: string | null;
optimizedVersionsAuthHeader?: string | null;
downloadMethod?: "optimized" | "remux";
};
/**
*
@@ -108,6 +109,9 @@ const loadSettings = async (): Promise<Settings> => {
defaultVideoOrientation: ScreenOrientation.OrientationLock.DEFAULT,
forwardSkipTime: 30,
rewindSkipTime: 10,
optimizedVersionsServerUrl: null,
optimizedVersionsAuthHeader: null,
downloadMethod: "remux",
};
try {