Page 1 of 1

Apple TV Scrolling Speed

Posted: Sat May 03, 2014 12:19 pm
by Dulstone
Anyone had any luck getting a fast smooth scroll through Apple TV menus ? I just can't get it to scroll anywhere near as fast as using the apple remote. Also can't get the Option menu up which would be a long press on the select button of Gen 2 & 3 apple TV.

I'm using press and hold to repeat the commands, and with a repeat setting of 0.05 seconds give about the fastest scroll on my kit.

Also no joy yet with the Demopad ITunes module working with Apple TV new generation.

Rob.

Re: Apple TV Scrolling Speed

Posted: Sat May 03, 2014 3:19 pm
by DemoPad
The trick is to store the learned command with the offset in the correct place, so that you are not repeating the entire code, but rather only the section of the code which actually repeats. I assume you are using Global Cache, in which case:

sendir,1:1,1,39000,10,137,347,172,21,22,21,64,21,64,21,64,21,22,21,64,21,64,21,64,21,64,21,64,21,64,21,22,21,22,21,22,21,22,21,64,21,64,21,22,21,64,21,64,21,64,21,22,21,64,21,22,21,64,21,64,21,64,21,22,21,22,21,22,21,22,21,64,21,1391,347,172,21,22,21,64,21,64,21,64,21,22,21,64,21,64,21,64,21,64,21,64,21,64,21,22,21,22,21,22,21,22,21,64,21,22,21,22,21,64,21,22,21,22,21,22,21,22,21,22,21,64,21,64,21,64,21,22,21,22,21,22,21,22,21,64,21,1557,347,86,21,3699

Will active the option menu (long press of select)

and

sendir,1:1,1,39000,10,69,348,172,21,22,21,64,21,64,21,64,21,22,21,64,21,64,21,64,21,64,21,64,21,64,21,22,21,22,21,22,21,22,21,64,21,22,21,22,21,22,21,64,21,22,21,22,21,22,21,22,21,64,21,64,21,64,21,22,21,22,21,22,21,22,21,64,21,1558,347,87,21,780

repeated should scroll left, provided you send the command to the IP2IR before it has finished executing the previous command. You might want to use a :

stopir,1:1

on the release of the button to stop scrolling as soon as you lift your finger off the button.

Re: Apple TV Scrolling Speed

Posted: Sun May 04, 2014 12:50 pm
by Dulstone
Thanks for the tip. I'm nearly there but struggling with why you chose 137 and 69 offset in the 2 examples. I can't see the full codes as they truncated in your post.

Here is my select code :
sendir,1:2,1,38461,1,1,347,173,21,22,21,65,21,65,21,65,21,22,21,65,21,65,21,65,21,65,21,65,21,65,21,22,
21,22,21,22,21,22,21,65,21,22,21,22,21,65,21,65,21,65,21,22,21,65,21,22,21,65,21,22,21,65,21,65,21,65,
21,65,21,22,21,23,21,3846

And here is my left code :
sendir,1:2,1,38343,1,1,347,172,21,22,21,64,21,64,21,64,21,22,21,64,21,64,21,64,21,64,21,64,21,64,21,22,
21,22,21,22,21,22,21,64,21,64,21,22,21,22,21,64,21,22,21,22,21,22,21,22,21,64,21,22,21,64,21,64,21,64,
21,64,21,22,21,23,21,3834

Both only have a max offset of 67 ?
How do you figure out which part is the preamble ?

Thanks

Rob.

Re: Apple TV Scrolling Speed

Posted: Sun May 04, 2014 1:08 pm
by DemoPad
You should be able to copy the line of code into notepad - if not just email support & we will send you the code. When you learn the code in iLearn with a long button press, it becomes clear which part of the code repeats, as they are put on separate lines, and you increase the offset to exclude that portion of the code.

Re: Apple TV Scrolling Speed

Posted: Mon May 05, 2014 11:22 am
by Dulstone
OK, thanks. Relearning long presses in iLearn helped. I get it, and have it fully working!

Just a work of caution to anyone trying this, don't throw the codes repeatedly as fast as you can at the apple tv as there is some sort of buffer and you can't stop quickly, even sending the stop command.

Instead, set the repeat time in Press&Hold action to 0.2 seconds, and send the stop command from the Release action.

Here are the long codes adjusted as above (for left, right, up, down and select). I use emitter 2 so you might need to change the emitter number in the sendir and stopir commands within. (e.g. change 1:2 to 1:3 to use emitter no. 3)

Rob.
AppleTV_Long_Codes.dc1