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

SetTbarPostion Problems #1211

Open
gevorg-tsat opened this issue Mar 16, 2024 · 2 comments
Open

SetTbarPostion Problems #1211

gevorg-tsat opened this issue Mar 16, 2024 · 2 comments

Comments

@gevorg-tsat
Copy link

Operating System Info

Other

Other OS

mac os 14.3.1

OBS Studio Version

Other

OBS Studio Version (Other)

30.0.2

obs-websocket Version

5.1.0

OBS Studio Log URL

https://obsproject.com/logs/qkqFUfDy0t993Iy2

OBS Studio Crash Log URL

No response

Expected Behavior

need some help c SetTBarPosition.
it doesnt work as i want, explain me please

so,
when i send any position to obs, it works for microsecond and go back to its start position

then i noticed that SetTBarPosition works well when i make TBar "active". it's active when i move it anywhere and when Transition button looks inactive (as u can see on first screenshot)
but when Transition button is active(second screenshot), it again works for microsecond and go back to its start position.
i dont want to move it manually all the time to make tbar "active".
image
image

Current Behavior

explained above

Steps to Reproduce

my golang code sample:
goobs v1.2.3

_, err := obsClient.Transitions.SetTBarPosition(&transitions.SetTBarPositionParams{
        Position: &s.Position, // == 0.5
        Release:  &s.Release, //==true
    })
    if err != nil {
        logger.Info("Error occurred while setting TBar postion", zap.Error(err))
    }

Anything else we should know?

No response

@AVRC
Copy link

AVRC commented May 28, 2024

I have this exact issue and symptoms on Windows, OBS version 31.1.2(64 bit)
The command is accepted and returns code 100 but nothing happens unless I first move the T-Bar with my mouse off the left position.

11:54:37.970: [obs-websocket] [debug] [WebSocketServer::onMessage] Incoming message (decoded):
11:54:37.970: {
11:54:37.970: "d": {
11:54:37.970: "requestData": {
11:54:37.970: "position": 0.45,
11:54:37.970: "release": true
11:54:37.970: },
11:54:37.970: "requestId": "mzyqLKSU5u6oRCsa",
11:54:37.970: "requestType": "SetTBarPosition"
11:54:37.970: },
11:54:37.970: "op": 6
11:54:37.970: }
11:54:37.971: [obs-websocket] [debug] [WebSocketServer::onMessage] Outgoing message:
11:54:37.971: {
11:54:37.971: "d": {
11:54:37.971: "requestId": "mzyqLKSU5u6oRCsa",
11:54:37.971: "requestStatus": {
11:54:37.971: "code": 100,
11:54:37.971: "result": true
11:54:37.971: },
11:54:37.971: "requestType": "SetTBarPosition"
11:54:37.971: },
11:54:37.971: "op": 7
11:54:37.971: }

@Armandur
Copy link

Armandur commented Sep 15, 2024

Same problem here using OBS Studio 30.2.3 64bit on windows, nothing happens until I slide the t-bar a bit manually.

I was really hoping for this to work to implement at physical t-bar using an arduino.

BUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 735, 'requestData': {'position': 0.8, 'release': True}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 735, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7} DEBUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 997, 'requestData': {'position': 0.9, 'release': True}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 997, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7} DEBUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 513, 'requestData': {'position': 1.0, 'release': True}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 513, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7} DEBUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 370, 'requestData': {'position': 1.0, 'release': True}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 370, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7} DEBUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 75, 'requestData': {'position': 0.9, 'release': True}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 75, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7} DEBUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 600, 'requestData': {'position': 0.8, 'release': True}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 600, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7}

DEBUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 781, 'requestData': {'position': 0.9, 'release': False}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 781, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7} DEBUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 54, 'requestData': {'position': 1.0, 'release': False}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 54, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7} DEBUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 377, 'requestData': {'position': 1.0, 'release': False}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 377, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7} DEBUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 327, 'requestData': {'position': 0.9, 'release': False}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 327, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7} DEBUG:obsws_python.baseclient.ObsClient:Sending request {'op': 6, 'd': {'requestType': 'SetTBarPosition', 'requestId': 38, 'requestData': {'position': 0.8, 'release': False}}} DEBUG:obsws_python.baseclient.ObsClient:Response received {'d': {'requestId': 38, 'requestStatus': {'code': 100, 'result': True}, 'requestType': 'SetTBarPosition'}, 'op': 7}

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

No branches or pull requests

3 participants