1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TiVo UI Control via Telnet - No Hacking Required!

Discussion in 'TiVo Underground' started by Omikron, Apr 30, 2008.

  1. May 7, 2008 #121 of 692
    jeffcox65

    jeffcox65 Rabid HD Junkie

    10
    0
    Jul 23, 2004
    SF, CA
    Thanks for this -- that's the best way to do it.

    Works like a charm! Way to go! Thank you!
     
  2. May 8, 2008 #122 of 692
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    This version has a keyboard entry function. Also, I had to rearrange the buttons to fit it in, which included moving Ch- to below Ch+, where it really belongs. (That was bugging me.)

    Keyboard entry should work on any screen with a keyboard, with a few caveats. First, be sure the "Cols:" field is set to the correct number of columns -- that's 4 for the standard Search, but 5 for Swivel Search, for example. I've seen between 4 and 9 columns in various keyboards, so I've made that the range, with 4 as the default.

    Second, be sure that the selector is on 'A' at the start. "Clear" does that automatically for the built-in menus, but tends not to for the HME menus (like Swivel Search).

    Currently there's no support for mixed case; you'll have to handle that manually.

    [See sig for the latest version.]
     
  3. May 8, 2008 #123 of 692
    anticrust

    anticrust New Member

    6
    0
    Feb 18, 2004
    @wmcbrine

    VERY COOL! How about a stop button?
     
  4. May 8, 2008 #124 of 692
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    What would a stop button do?
     
  5. May 8, 2008 #125 of 692
    windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    On the DVD units it'll stop DVD playback, but since the S2 boxes aren't supported ...

    :)
     
  6. May 8, 2008 #126 of 692
    anticrust

    anticrust New Member

    6
    0
    Feb 18, 2004
    IRCODE STOP

    It stops the playback of running show and returns you to the program info screen for that show. It's very useful for stopping and deleting a programs that you have seen before. Unless you are at the end of the show, the TiVo button returns you all the way to the TiVo Central screen (PITA).
     
  7. May 8, 2008 #127 of 692
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    The left arrow key would do the same thing, no?
     
  8. May 8, 2008 #128 of 692
    anticrust

    anticrust New Member

    6
    0
    Feb 18, 2004
    Yeah, once the initial info layover disappears, but stop is definitively, stop. I know it's not included on the original TiVo remote, but I have it mapped on my Harmony remote and use it often. I'm sure I can add it myself (starting to learn python thanks to you :eek:), but others may find it useful as well.
     
  9. May 8, 2008 #129 of 692
    turnipsun

    turnipsun New Member

    27
    0
    Jan 14, 2006
    Santa Clarita
  10. May 8, 2008 #130 of 692
    jeffcox65

    jeffcox65 Rabid HD Junkie

    10
    0
    Jul 23, 2004
    SF, CA
    Ok, the CC function and now the keyboard entry are just downright FREAKY!! BUT THEY WORK! Truly Amazing!!!

    Now here comes my wish...

    Would there be any way of controlling your app with keyboard shortcuts? Like the keyboard arrows being the Left, Right, Up and Down functions? Maybe the Return key or the Spacebar could be "Select"? Or maybe Spacebar could be Pause?

    Just dreamin' here...

    - Jeff
     
  11. May 9, 2008 #131 of 692
    anticrust

    anticrust New Member

    6
    0
    Feb 18, 2004
    I tried changing the layout, but pooched the keyboard widgets. Any suggestions?

    [​IMG]
     
  12. May 9, 2008 #132 of 692
    windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    wmcbrine's remote app is really "tall" (it won't fit on my Eee PC's screen without scrolling, and even in 1024x768 on an external monitor it fills the screen top to bottom). Any chance of a landscape version? :p

    edit: maybe it's time for me to actually learn some python ...
     
  13. May 9, 2008 #133 of 692
    mrhack636

    mrhack636 New Member

    5
    0
    Jun 19, 2003
    Duckfin,
    I got your app working on my iphone and I already started trying to make it look nicer with different gfx, only problem it all uses 1 button.
    Anyway you could make it skinnable? In the link below is a bunch of tivo images you can use for the remote I'm sure it'd make it look 10times nicer.
    http://stashbox.org/114261/tivoimages.zip

    MrHack
     
  14. May 9, 2008 #134 of 692
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    OK, here are some keyboard shortcuts. I've tried to make most of them logical. I had a hard time deciding whether Return should map to Enter or Select, and a few came out weird. Here's the list so far:

    Arrow and number keys: same

    t: TiVo
    a: Aspect
    i: Info
    l: LiveTV
    g: Guide

    Return: Select
    d: ThumbsDown
    u: ThumbsUp

    PgUp: ChannelUp
    PgDn: ChannelDown
    r: Record

    p: Play
    Space: Pause
    f: Forward
    v: Reverse
    s: Skip
    x: Replay
    o: Slow

    Esc: Clear
    .: Enter

    c: closed captions
    q: quit

    (I've put this in the archive, too.)

    [See sig for the latest version.]
     
  15. May 9, 2008 #135 of 692
    jeffcox65

    jeffcox65 Rabid HD Junkie

    10
    0
    Jul 23, 2004
    SF, CA
    awesome! intuitive!

    now i can watch tv and work on my laptop and do all of that tivo stuff without having to reach for the remote, or even lifting my hands off the keyboard.

    YOU TOTALLY ROCK!

    - Jeff
     
  16. anticrust

    anticrust New Member

    6
    0
    Feb 18, 2004
    @wmcbrine

    WELL DONE!!!

    Question, since I'm changing the layout to 4 columns wide, how do I extend the text area (gtk.Entry) to occupy 3 columns? I've tried with no success. :(

    Also, I added and extra PLAY command at the end of the 'clock' and 'sps30' buttons just to clear the progress bar at the end.

    def sps30(widget=None):
    irsend('SELECT', 'PLAY', 'SELECT', 'NUM3', 'NUM0', 'SELECT', 'PLAY')

    def sps9(widget=None):
    irsend('SELECT', 'PLAY', 'SELECT', 'NUM9', 'SELECT', 'PLAY')

    Thanks for all you work!
     
  17. duckfin

    duckfin New Member

    10
    0
    May 5, 2008
    http://code.google.com/p/tivoremote/wiki/Interface has some information for customizing the appearance of the program (for the new .05 version). I spent way too much time today trying to figure out why Installer.app was not refreshing my repository (and after all that effort, I couldn't figure out if it is a problem with my repository, Installer.app, or my phone).

    I was going to put off playing with your graphics till tomorrow, but I got on a roll. They certainly make a world of a difference.
     
  18. PVR

    PVR New Member

    4
    0
    Sep 29, 2002
    Anyone planning on doing this in a compiled form? (VB, C or C++)?
     
  19. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Thanks... feel free to donate. :)

    You may be looking in the wrong place -- judging by your screenshot, you're using Tk, not Gtk.

    Not me. Why?
     
  20. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Landscape mode, activated via the command-line option "--landscape" (or edit it to set landscape = True).

    [See sig for the latest version.]
     

Share This Page