I did a search, but the subject of PotPlayer is narrowed to the plugin itself. However, this could even be a more general question. I currently use my keyboard to control XBMC remotely. There is a plugin written by someone way more intelligent and erudite than me, so all the communication and event triggers can be happily executed by associating a keystroke or two. That is AWESOME!
The plugin in question does send commands to Potplayer at a specified location, local or network...but the net effect is, it ends up executing the remote program locally (unless VNC has focus, then it sent it correctly.) Does there exist a method to send events remotely. I guess that's a completely ignorant question, as EventGhost is designed to do that.
Here's what I want to know if it is possible without me studying or growing a brain or doing painful research: Is there a plugin or method where I use my local EventGhost to control a remote EventGhost? I've installed the PotPlayer plugin (or any plugin, let's say) and instead of receiving local keystrokes, my eventghost is sending my keystrokes to the other computer running EG+PP and I can finally watch my porn on the big screen. Yes, porn. Don't act like you don't watch it either!
But my question is serious.
TIA
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Control Remote Eventghost from local Eventghost/Keyboard
Re: Control Remote Eventghost from local Eventghost/Keyboard
If it works remotely already, you could disable your local potplayer plugin or folder, with a keyboard event, (say ctrl+alt+r), and then re-enable (ctrl+alt+l) for local.
Or use something like the webserver plugin that when potplayer fires up remotely, it sends an event to your local which you can use to disable the local potplayer.
i.e. run webserver on the local PC, with 8082 as the port in this example. Replace 192.168.0.153 with your local IP.
And on the remote PC with the task create/switch event plugin, an event of task.created.potplayer triggers a single Python command:
import urllib; urllib.urlopen('http://192.168.0.153:8082/?PotPlayerOn')
task.destroyed.potplayer triggers:
import urllib; urllib.urlopen('http://192.168.0.153:8082/?PotPlayerOff')
The local PC uses the potplayer events to disable and enable its own potplayer folder.
Hope that helps.
Or use something like the webserver plugin that when potplayer fires up remotely, it sends an event to your local which you can use to disable the local potplayer.
i.e. run webserver on the local PC, with 8082 as the port in this example. Replace 192.168.0.153 with your local IP.
And on the remote PC with the task create/switch event plugin, an event of task.created.potplayer triggers a single Python command:
import urllib; urllib.urlopen('http://192.168.0.153:8082/?PotPlayerOn')
task.destroyed.potplayer triggers:
import urllib; urllib.urlopen('http://192.168.0.153:8082/?PotPlayerOff')
The local PC uses the potplayer events to disable and enable its own potplayer folder.
Hope that helps.
Re: Control Remote Eventghost from local Eventghost/Keyboard
Hey, thank your for that answer. I had seen discussion of the webserver, and that seemed like a good way to go. I like your idea of communicating back to my local EG and getting me to think about expanding some of the logic on execution/termination.