I was wondering if it would be possible to use socket to control certain parts of the application. I am designing my own bot in python and would like to have it start a new video session for synced video watching. (right now i just have the bot open a browser and have it do everything in the browser, which eats CPU)
I just figured that socket would be the way to go for this, like Streama would have it's own key for verification, and you would send the key + the command to the socket, and have it execute a function.
So like this:
Python code: Send - 'hQNX3To86NjvqtCx' + ':' + 'Do_this'
Streama code: Recv - 'hQNX3To86NjvqtCx:Do_this'
then split it with the colon, check the key and run the command
I was wondering if it would be possible to use socket to control certain parts of the application. I am designing my own bot in python and would like to have it start a new video session for synced video watching. (right now i just have the bot open a browser and have it do everything in the browser, which eats CPU)
I just figured that socket would be the way to go for this, like Streama would have it's own key for verification, and you would send the key + the command to the socket, and have it execute a function.
So like this:
Python code: Send - 'hQNX3To86NjvqtCx' + ':' + 'Do_this'
Streama code: Recv - 'hQNX3To86NjvqtCx:Do_this'
then split it with the colon, check the key and run the command