/simple-web-remote

This is a webserver written in python, which emulates a multimedia keypress.

Primary LanguagePythonMIT LicenseMIT

Python web remote

If you watch/listen to any multimedia on your computer, and you don't want to use the mouse/keyboard to control it, this is the solution!

Usage: ./remote.py

A port can be specified with: ./remote.py <port>

The python script starts a http server, which serves as the remote.

Implementation

The client sends a POST request to 'http://<hostname>:<port>' with the corresponding payload. For example:

{ "operation": "playpause" }

The server then emulates a press of the requested multimedia key.

Screenshot

Screenshot