mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-03 04:28:31 +01:00
wip
This commit is contained in:
@@ -105,9 +105,11 @@ export const PlaySettingsProvider: React.FC<{ children: React.ReactNode }> = ({
|
||||
audioStreamIndex: newSettings?.audioIndex ?? 0,
|
||||
subtitleStreamIndex: newSettings?.subtitleIndex ?? -1,
|
||||
userId: user.Id,
|
||||
forceDirectPlay: settings.forceDirectPlay,
|
||||
});
|
||||
|
||||
console.log("getStreamUrl ~");
|
||||
console.log(`${data?.url?.slice(0, 100)}...${data?.url?.slice(-50)}`);
|
||||
|
||||
_setPlaySettings(newSettings);
|
||||
setPlayUrl(data?.url!);
|
||||
setPlaySessionId(data?.sessionId!);
|
||||
|
||||
Reference in New Issue
Block a user