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

[Feature Request] Allow local entries for own tools adding songs to the queue #39

Open
endyb66 opened this issue Sep 19, 2020 · 10 comments

Comments

@endyb66
Copy link

endyb66 commented Sep 19, 2020

It would be great, if we don't need the twitch connect, so that users can build their own tools for sending requests to the mod. E.g. i build a small chat tool, which does send the bot request via tcp/udp/websocket what so ever to the SongRequestManager mod, instead of requesting from twitch. Would this be possible?

@angturil
Copy link
Owner

There is an undocumented UDP interface to do this - used for channel points handler atm :) I believe its on port 10360.

@angturil
Copy link
Owner

Use code for documentation if you can figure it out :)

@endyb66
Copy link
Author

endyb66 commented Sep 19, 2020

So it should work without connecting to twitch? What about the need of chatcore, should it work without it?

@angturil
Copy link
Owner

Honestly never tested that.

@angturil
Copy link
Owner

a better question is, is the chatcore plugin required, and can it work with it without it being connected.

@angturil
Copy link
Owner

Don't really have the time atm to investigate - really busy with another project this weekend.

@angturil
Copy link
Owner

best thing to do is just try it and see if it runs

@endyb66
Copy link
Author

endyb66 commented Sep 19, 2020

Okay will try that. I think the presence of a UDP interface could be a chance

@endyb66
Copy link
Author

endyb66 commented Sep 21, 2020

Okay i tested just a bit, UDPListener was started according to the logs. I tested with a small UDP tool, which can send messages. But the question which i have is, in which format should such a request over UDP look like?

@endyb66
Copy link
Author

endyb66 commented Oct 3, 2020

It looks like the UDP interface is just for calling one method -> MoveRequestPositionInQueue(), there are no other methods, so only a "mtt" command will be processed...
Have tested much things, but it seems that it is not possible to use it without twitch. My hope was that it would be enough to write requests to the "queue"-files, but that does not work at all. Do you have any other ideas?

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

2 participants