Hey,I am using the VLC player API to control a video display on a monitor from a raspberry pi. Basically, the raspberry is sending requests like this to a laptop on the same wifi network to for example skip the current video: http://127.0.0.1:9090/requests/status.xml?command=pl_next Now I would like to have a node script running on the laptop (where vlc is running) and react to this incoming request that is directed to the server vlc is running in the background in order to display a on-screen notification over the running video. Notifications in node work fine with node-notifier, but I would prefer not to have a second server on the laptop and second request going out from the raspberry just to trigger this notification. I dont know much about network things, so ... is there a way to react to a request in node that is not directly headed to a node-server?
Submitted May 14, 2019 at 11:44AM by MrInka
No comments:
Post a Comment