IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Specifying channels in keys.xml
Guest_z0s0123_*
post Feb 3 2008, 03:19 PM
Post #1





Guests






I've fiddled with the settings file to get the numbers on my VP remote to select the appropriate channels (2,7,9,10, SBS) and it works great.

I would also like to program a key to bring up ABC Dig Jazz, but the problem I have is that the setchannel method requires a transport id, eg

SetChannel(0x503)

And of course DiG Jazz has the same TSID as ABC TV (i.e. 0x503)

How can I specify which channel therein I would like to tune into?
Go to the top of the page
 
+Quote Post
nate
post Feb 3 2008, 03:29 PM
Post #2


DigitalWatch Developer
Group Icon

Group: Admin
Posts: 2,267
Joined: 30-September 03
From: Melbourne
Member No.: 169
Card: DNTV Quad


You can't specify a program id in the set channel command, but you can assign multiple commands to a key.
eg.
<Key code=101>SetChannel(0x987) ProgramUp() ProgramUp()</>

It's just a matter of adding the right number of ProgramUp()'s to get you to the right channel.

Note: I haven't tried this myself but I think it should work.


--------------------
Go to the top of the page
 
+Quote Post
Guest_z0s0123_*
post Feb 3 2008, 04:35 PM
Post #3





Guests






Works perfectly, thanks!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2018 - 07:35 AM