Hello there !
I use Videolan to record some streaming channels, and I have designed a Qt application
to program those records...with a time to start & a time to stop.
So, each time I have a new record to start, I launch a vlc through a QProcess, and it works great.
My problem is the shutdown...basically, I have 2 options :
- dirty : I kill the QProcess (and vlc then)
- cool : I send an http request to vlc, to order him to shutdown properly.
The URL is this one : "http://127.0.0.1/admin/?control=shutdown"
But, the admin section requires a login : pass (admin:admin).
So, I have to login before sending this url...and I'd like to do it with QHttp.
I tried this "http://admin:admin@127.0.0.1/admin/?control=shutdown", but I feel it's not the good way.
Any idea ?
Thanks in advance,
Guilugi.
Bookmarks