Search found 13 matches

by smilykoch
Wed Jun 27, 2012 8:21 pm
Forum: [D] Brainstorm
Topic: Script to get active tv channel
Replies: 25
Views: 33712

Re: Script to get active tv channel

hmmm... if i run the exact same code as i posted above in my perl (with the eq instead of ==) i get:

Code: Select all

Can't use an undefined value as an ARRAY reference at C:/xampp/perl/site/lib/Net
/UPnP/Device.pm line 111.
WHY? :O
by smilykoch
Thu Jun 07, 2012 10:40 am
Forum: [D] Brainstorm
Topic: Script to get active tv channel
Replies: 25
Views: 33712

Re: Script to get active tv channel

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 ...
by smilykoch
Tue May 22, 2012 4:41 pm
Forum: [D] Brainstorm
Topic: Script to get active tv channel
Replies: 25
Views: 33712

Re: Script to get active tv channel

I dont have root access on my d8005 either.. sorry :s
by smilykoch
Mon May 21, 2012 10:11 am
Forum: [D] Brainstorm
Topic: Script to get active tv channel
Replies: 25
Views: 33712

Re: Script to get active tv channel

Wooohoo! now it works..

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?

Thanks
by smilykoch
Mon May 21, 2012 9:43 am
Forum: [D] Brainstorm
Topic: Script to get active tv channel
Replies: 25
Views: 33712

Re: Script to get active tv channel

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...
by smilykoch
Mon May 21, 2012 9:36 am
Forum: [D] Brainstorm
Topic: Script to get active tv channel
Replies: 25
Views: 33712

Re: Script to get active tv channel

That should be no problem as im trying on my ue40d8005..

but i get the above mentioned error :s
by smilykoch
Mon May 21, 2012 9:04 am
Forum: [D] Brainstorm
Topic: Script to get active tv channel
Replies: 25
Views: 33712

Re: Script to get active tv channel

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...
by smilykoch
Sat May 19, 2012 5:40 pm
Forum: [D] Brainstorm
Topic: Script to get active tv channel
Replies: 25
Views: 33712

Re: Script to get active tv channel

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...
by smilykoch
Sat May 19, 2012 11:06 am
Forum: [D] Brainstorm
Topic: Script to get active tv channel
Replies: 25
Views: 33712

Re: Script to get active tv channel

Plz do explain a little more or give some links to some more info on this :)

i could really use this :)
by smilykoch
Mon May 07, 2012 12:37 pm
Forum: [D] Brainstorm
Topic: Script to get active tv channel
Replies: 25
Views: 33712

Re: Script to get active tv channel

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?

Go to advanced search