How come this doesn't work? #!"C:\xampp\perl\bin\perl.exe" # tv.cgi #print "Content-type: text/plain\n\n"; use warnings; use strict; use Net::UPnP::ControlPoint; my $upnp = Net::UPnP::ControlPoint->new(); my @devs = $upnp->search(); my $tv; foreach my $dev ( @devs ) { foreach my ...
but it seems "kinda" slow? the script takes about 2 seconds from execution to return of values? is this UPnP's fault? or is there a way of decreasing this time?
I made it to the next step! if i run it through cmd i get this: c:\xampp\htdocs\XBMC>perl tv.pl [*] <?xml version="1.0" encoding="UTF-8"?><Channel><ChType>CANALDIGITALSAT</ChType><MajorCh>105</MajorCh><MinorCh>65534</MinorCh><PTC>571</PTC<ProgNum>3206</ProgNum></Channel> Error Ge...
Okay.. i tried the perl script on my XAMPP server.. i installed the NET:UPnP module and ran the script with the right perl path in top.. but it returns this error: Can't call method "postaction" on an undefined value at C:/xampp/htdocs/XBMC/tv.pl line 43. , My script looks like this: (just...
Cool.. Really! WOW thx! i can access the XML file through my browser on: http://<ip tv>:52235/MainTVServer2/MainTVAgent2.xml But it seems kinda empty? it looks like this: http://pastebin.com/jhSzuVSp I really would like having a script to get it.. but i am not that good at Perl. could you explain yo...
Okay.. so i the "debug menu" the currently active channel is showing.. but no current way of bringing this to the PC? either through HTTP, HDMI-CEC or ex-link?