Storing parameters passed to webserver as a variable.
Posted: Mon May 07, 2012 3:27 pm
I would like to use the webserver plugin to play a file on my PC that is specified by the url.
For example I want to trigger this URL:
And the playfile parameter would trigger the event and I could retrieve the filename to pass along to the action.
When I call the URL it shows up in eventghost like this:
How do I access the value of filename?
For example I want to trigger this URL:
Code: Select all
http://192.168.0.10:82?playfile=&filename=test.mkvWhen I call the URL it shows up in eventghost like this:
Code: Select all
HTTP.playfile [u'filename=test.mkv']