Keyboard Question (from Directv Sample)

bitzerjd's Avatar Topic Author
User User
  • Posts: 375
  • Thanks: 3

Keyboard Question (from Directv Sample)

2 years 5 months ago
#2043
In the Directv sample, there is a box above the keyboard that shows the numbers hit.  The label for the button has "{{av_{{active_directv_{{clientname}}}}_buffer}}".  I wanted to use the button with my Tivo's and replaced active_directv with active_tivo.  It didn't work....  Is there a way to do this?   Again, I simply want the box to show the numbers punched into the keypad.

Thanks!

Please Log in or Create an account to join the conversation.

davep's Avatar
Admin Admin
  • Posts: 371
  • Thanks: 98

Re: Keyboard Question (from Directv Sample)

2 years 5 months ago
#2105
Also look at the commands that are on each of the number buttons on the keypad. That's where the buffer variable gets updated. Since the Tivo driver does not have a Tune command you would modify each of the number buttons with a macro like

Macro|
SetVariable|av_{{active_tivo_{{clientname}}}}_buffer~{{av_{{active_tivo_{{clientname}}}}_buffer}}<0 .. 9>!
AV|{{active_tivo_{{clientname}}~<0 ... 9>

Change <0 .. 9> to the actual number on each  button. This is zero

Macro|SetVariable|av_{{active_tivo_{{clientname}}}}_buffer~{{av_{{active_tivo_{{clientname}}}}_buffer}}0!AV|{{active_tivo_{{clientname}}~0

The clear button command becomes SetVariable|av_{{active_tivo_{{clientname}}}}_buffer~



 

Please Log in or Create an account to join the conversation.

bitzerjd's Avatar Topic Author
User User
  • Posts: 375
  • Thanks: 3

Re: Keyboard Question (from Directv Sample)

2 years 5 months ago
#2106
I see how the buffer variable is updated, but, how does this work for something like 501...three presses. is the buffer appended or replaced?

Please Log in or Create an account to join the conversation.

bitzerjd's Avatar Topic Author
User User
  • Posts: 375
  • Thanks: 3

Re: Keyboard Question (from Directv Sample)

2 years 5 months ago
#2108
Works Great! Thanks again

Please Log in or Create an account to join the conversation.

Time to create page: 0.296 seconds