Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oscmessage /[type]/transition [duration] not fully working ? #18

Open
gllmAR opened this issue Oct 15, 2022 · 3 comments
Open

oscmessage /[type]/transition [duration] not fully working ? #18

gllmAR opened this issue Oct 15, 2022 · 3 comments

Comments

@gllmAR
Copy link

gllmAR commented Oct 15, 2022

Hi,

Tried to make transition duration time work but without success

/Fade/transition 5000

Does not make a error, it can change the transition type but not transition time.

hacking in a function for SetCurrentSceneTransitionDuration in index.js solved my issue and could be useful for changing only the transition time

        //Set SetCurrentSceneTransitionDuration
    else if(msg[0].includes('/SetCurrentSceneTransitionDuration')){
        logEverywhere("SetCurrentSceneTransitionDuration")
        console.log(`OSC IN: ${msg}`)
        logEverywhere(`OSC IN: ${msg}`)
        var msgArray = msg[0].split("/")
        msgArray.shift()
        console.log("Messge array: " + msgArray)
        logEverywhere("Messge array: " + msgArray)
        return obs.call("GetCurrentProgramScene").then(data => {
        obs.call("SetCurrentSceneTransitionDuration", {
            'transitionDuration': msg[1]
        }).catch(() => {
            logEverywhere("ERROR: Invalid SetCurrentSceneTransitionDuration Type Syntax. See Help > API")
        })
    })
    }

system :
macos 12.6, OBS 28.03 OSC-for-OBS 3.1

Thanks for your software.

@jshea2
Copy link
Owner

jshea2 commented Nov 9, 2022

/transition command is updated in v3.1.1 release. I'll keep this ticket open incase anyone else has issues with this command.

@pmaillot
Copy link

tested today and it works/worked fine for me (latest OSC for OBS release)

@jorgepablot
Copy link

Is it needed to use OBS 28? I am running 30.1.2, and web socket 5.4.2, transitions are not working for me, actually only Fade 5000 works. I can change scene transition, but when triggering transitions via /Fade/transition "300" or other numbers or types, they always change as Fade 5000 or don't work reliably

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants