UDPLauncher is a small application with a GUI that servers as an UDP Listener (Windows Only). It can run in the background an be minimized to the tray. The listener is then able to start an application if it receives a UDP package on the specified port.
It can also be configured to launch a specified XBMC Event which will be fired against a running XBMC instance upon receiving a package.
The program is still not finished, there is not much logging – but if something goes wrong, just comment and I’ll look into it.
If you like this little tool, you can buy me a beer:
UDPLauncher – Version 1.0.2
Fill the settings according to your needs. A overview of what each setting represents:
- Path of the Program to launch
This is the full path to the program you wish to be launched upon receiving a package. Hit Browse in order to search for a program.
- Exit the above application if running?
Enabling this will quit the specified application from above if it is already running. If it is not running however, it will launch it.
- Port on which I’ll listen for packets
This is the port the application will bind to. Note that this application listens on all IP-Adresses, if you have multiple.
- Start Listener when Program launches
Automatically start the listener when the program is started.
- Start Minimized?
Start the program minimized.
- Use XBMC Event?
If you enable this, the fields below will become available. This will launch a XBMC Event against a running instance if a package is received.
- XBMC Hostname
The hostname of the XBMC machine to fire the event against.
The port of the XBMC machine on which XBMC’s HTTP Server is listening.
- Username (if used)
If you have configured XBMC to use a Username/Password in the WEB-API, enter the username here.
- Password (if used)
This is the password to the above username.
Hitting “Save” will save the configuration. If the listener is running at the time of saving, it will be restarted.
2. Running the Listener
Just hit “Run” and you’re off. You can minimize the application to tray (hitting the minimize button of the window). Restore it with double-clicking the bulb in the tray (which also represents the status – if the bulb is on, the server is running).
The listener can also be controlled from the tray-menu: