mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Fix seeking (#3096)
* Update apikey when generating/clearing * Fix seeking on systems with api key
This commit is contained in:
@@ -397,8 +397,10 @@ export const ScenePlayer: React.FC<IScenePlayerProps> = ({
|
||||
const sourceSelector = player.sourceSelector();
|
||||
sourceSelector.setSources(
|
||||
scene.sceneStreams.map((stream) => {
|
||||
const src = new URL(stream.url);
|
||||
const isDirect =
|
||||
stream.url.endsWith("/stream") || stream.url.endsWith("/stream.m3u8");
|
||||
src.pathname.endsWith("/stream") ||
|
||||
src.pathname.endsWith("/stream.m3u8");
|
||||
|
||||
return {
|
||||
src: stream.url,
|
||||
|
||||
Reference in New Issue
Block a user