bbernstein / obsosc-py

Talk to OBS via OSC
6 stars 1 forks source link

Warning spew in Terminal while running #1

Open simoneves opened 3 years ago

simoneves commented 3 years ago

I have just installed obsosc-py to test it out. I was able to get QLab to send /scene <N> messages and make OBS change scenes, but in the Terminal window I get this for each one...

WARNING:obswebsocket.core:Invalid message: {
    "duration": 250,
    "name": "Fade",
    "to-scene": "Camera 1",
    "type": "fade_transition",
    "update-type": "TransitionEnd"
} (Invalid event TransitionEnd)
WARNING:obswebsocket.core:Invalid message: {
    "duration": 250,
    "from-scene": "Camera 1",
    "name": "Fade",
    "to-scene": "Camera 2",
    "type": "fade_transition",
    "update-type": "TransitionVideoEnd"
} (Invalid event TransitionVideoEnd)
You changed the scene to Camera 2

It seems benign, but wrong. Please advise.

This is with OSC 26.1.2 and osc-websockets 4.8.0 on macOS 11.1 on a 2020 MacBook Pro 13

simoneves commented 3 years ago

I changed requirements.txt to update obs-websocket-py to v0.5.3 and the warnings went away.

simoneves commented 3 years ago

PR opened