2010-10-30, 22:36
Capt.Insano Wrote:XBMC has "allow control of xbmc via HTTP" enabled and when I use the above URL on another computer on the same network (changing user and pass, and localhost to correct IP address) I get the Correct "Test Test" Pop Up. But SortTV still does not start XBMC Library Update.
SortTV has the correct info:
Code:xbmc-web-server:user:pass@localhost:8080
I could not open a browser and run above URL on the same machine as XBMC as I use a Minimal XBMC Set-Up and have no Browser on the box.
Any further advice?
Thanks
The Capt.
EDIT:
Found out I could use PHP to request a URL through the commandline so I used
Code:php -r "file('http://[i]USER:PASS[/i]@localhost:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn%28Notification%28test,test,%207000%29%29');"
and I got the required test test PopUp, So I know that xbmc is set up correctly and there is no reason why a localhost request to port 8080 should not work, yet XBMC still will not update on using SortTV.
If the script is running on the same machine try "localhost" rather than the IP address (if that isn't what you are already doing).
If that doesn't help, you could try copying just the xbmc update line from sorttv.pl into a test.pl and try running it to test Perl sending the request. (hardcode the host and port.)
Let me know how you go.