mirror of https://github.com/stashapp/stash.git
Apply autostartVideoOnPlaySelected to queue (#2896)
This commit is contained in:
parent
5db42f4882
commit
e6b7d40784
|
@ -538,6 +538,8 @@ const SceneLoader: React.FC = () => {
|
|||
}
|
||||
|
||||
const autoplay = queryParams?.autoplay === "true";
|
||||
const autoPlayOnSelected =
|
||||
configuration?.interface.autostartVideoOnPlaySelected ?? false;
|
||||
const currentQueueIndex = queueScenes
|
||||
? queueScenes.findIndex((s) => s.id === id)
|
||||
: -1;
|
||||
|
@ -621,7 +623,7 @@ const SceneLoader: React.FC = () => {
|
|||
function playScene(sceneID: string, newPage?: number) {
|
||||
sceneQueue.playScene(history, sceneID, {
|
||||
newPage,
|
||||
autoPlay: true,
|
||||
autoPlay: autoPlayOnSelected,
|
||||
continue: continuePlaylist,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -519,7 +519,7 @@
|
|||
"options": {
|
||||
"auto_start_video": "Auto-start video",
|
||||
"auto_start_video_on_play_selected": {
|
||||
"description": "Auto-start scene videos when playing selected or random from Scenes page",
|
||||
"description": "Auto-start scene videos when playing from queue, or playing selected or random from Scenes page",
|
||||
"heading": "Auto-start video when playing selected"
|
||||
},
|
||||
"continue_playlist_default": {
|
||||
|
|
Loading…
Reference in New Issue