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. Mar 3, 2010 #461 of 692
    eht123

    eht123 New Member

    11
    0
    Jul 17, 2008
    Here's hoping the software update to support the direct text entry on the new keypad remote also includes the corresponding telnet commands....
     
  2. Mar 3, 2010 #462 of 692
    Fofer

    Fofer XenForo Rocks! TCF Club

    82,099
    290
    Oct 29, 2000
    FWIW, the new keypad remote is Bluetooth. But yes, updating the code to include corresponding telnet commands for specific text entry would be nice indeed.
     
  3. Mar 3, 2010 #463 of 692
    pmiranda

    pmiranda New Member

    669
    0
    Feb 12, 2003
    Austin, TX
    It'd be nice to change the keyboard shortcuts then, since I'd have plans for all the letters, numbers, and many symbols.
     
  4. Mar 4, 2010 #464 of 692
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Shortcuts should be able to be supported using upper/lower case. Just <shift> or caps lock when you want to access a shortcut.
     
  5. Apr 1, 2010 #465 of 692
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    The KEYBOARD command works on the TiVo Premiere. It works like this:

    KEYBOARD H\r
    KEYBOARD E\r
    KEYBOARD L\r
    KEYBOARD L\r
    KEYBOARD O\r

    More later.
     
  6. Apr 2, 2010 #466 of 692
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    This version supports direct keyboard input on the Premiere (only, sorry). To use this mode, set the "Cols:" value to 0. It doesn't work in any HME apps yet, as far as I've seen. Where it doesn't work (including S3/HD), it will be safely ignored. I recommend using this mode whenever possible, since it's not only faster, but has less risk of side effects from the cursor being in the wrong place, or from arrows being read at the wrong time, after the TiVo has moved the cursor out of the search box.

    This isn't as exciting as it might've been, given my other discovery of the night. :)

    This version also includes some Zeroconf fixes, and detection of Australian/NZ TiVos and the Premiere in non-Zeroconf mode.

    [See sig for latest version.]
     
  7. Apr 2, 2010 #467 of 692
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    What I haven't found yet are the telnet IRCODEs for the A/B/C/D buttons -- not the QWERTY ones, but the multi-colored ones on the Premiere remote just above the number pad.
     
  8. Apr 2, 2010 #468 of 692
    Zaph32

    Zaph32 New Member

    138
    0
    May 22, 2000
    Found that it will accept KEYBOARD SPACE but it doesn't type a space.
     
  9. Apr 2, 2010 #469 of 692
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Ah, thanks; in my eagerness, I neglected to test space and numbers. This version corrects that. (I just send IRCODE FORWARD for space now, as in the arrow-based keyboard code, and IRCODE NUM0 etc. for numbers.)

    Also, I'm told that the IRCODEs for the new buttons are "ACTION_A", etc. Now I just have to figure out how to fit a four-button row into my three-column format. :)

    [See sig for latest version.]
     
  10. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    OK, finally, here's a version that's fully Premiere-ready. I've added A, B, C and D buttons, along with corresponding keyboard shortcuts. I've also added function key shortcuts to match what I've found with USB keyboards on the Premiere. "Aspect" has been relabelled "Zoom", as on the Premiere, with 'Z' as a keyboard shortcut for it.

    Adding the new buttons entailed significant restructuring, which I've taken advantage of to reduce excess spacing -- despite having an extra row of buttons, this version is actually less tall than previous ones.

    [See sig for latest version.]
     
  11. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    OK, in addition to being Premiere-ready, this new version does something it should've done a long time ago: uses a single window instead of destroying and creating multiple windows. It looks the same, but it eliminates the "losing focus" issue, and is slightly faster.

    This should be the last new version for a while. Sorry for the glut. :D

    [See sig for latest version.]
     
  12. bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    I am going to be building a remote system using an iPad and the Commandfusion software. This is interesting, I might play around with controling the Tivo using this meathod rather than the IR blaster...

    I wonder if the network connection sends any information back through the stream? It would be very neat if it could send the guide data or the now playing list to the remote and allow you to select what you want to watch from there!

    I am sure that is far too much to ask for... But it sure would be cool!
     
  13. wmccain

    wmccain Custom AV Consultant

    124
    0
    Dec 15, 2002
    Palo Alto,...
    Do not issue the IRCODE EXIT command from an IP-based remote while in the new HD menu system on a TiVo Premiere! You will be very sorry if you do so, as it causes nearly all IR commands to be disabled (from a "real IR remote" as well as from the IP-based remote).

    Only the arrow buttons will still work. You will end up having to pull the power plug to reboot.

    (However, the IRCODE EXIT command still functions normally, without any disastrous side-effects, if it is issued while an "old GUI" screen is displayed. This is the case even if the HD GUI is enabled, but you have navigated to one of the menus or information panels that is in the "old GUI" style simply because it has not yet been converted to the "new GUI".)
     
  14. wmccain

    wmccain Custom AV Consultant

    124
    0
    Dec 15, 2002
    Palo Alto,...
    Another annoying glitch that I have encountered when using IP-based remote control of the TiVo Premiere: If you navigate to the panel that has the checkboxes for specifying the resolutions that your TV supports, all IP-based commands are ignored on that panel. It appears to queue the ignored commands and they get executed later, after you exit the "resolutions" panel.

    Even worse, once you have entered some IP-originated commands, most of the navigation buttons on the IR remote get ignored (or queued) as well. However, you can "escape" by pressing the TiVo button on the IR remote. (Unlike the problem with IRCODE EXIT that I reported above, a power-cord reboot is not required.)

    However, you can use IP-based commands to navigate to the "resolutions" panel, then pick up your IR remote and use it for all navigation and selections within that panel. In that case, everything works okay.
     
  15. jfh3

    jfh3 New Member

    4,469
    0
    Apr 15, 2004
    Denver area
    I can't get Tivo remote to run using 2.x or 3.x - not sure why it doesn't work. Is there an idiot's guide to running this ap somewhere?
     
  16. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Nothing special is required. It's 2.x only. There are some installations of Python that don't come with Tkinter. If you're running it from the GUI and don't have an error message, run it from the command line. Otherwise, you haven't given me enough to go on.

    There's no "idiot's guide", but I am working on a README (finally) for the next version. It also does a better job of capturing errors to report them to the GUI.
     
  17. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    In fact, it's up right now.

    As noted above, changes in this version include stronger attempts to catch errors for display to the GUI, instead of leaving tracebacks on the console, and a README.txt file. Another big change is that, instead of posting it as an attachment here, I've opened a repo on GitHub:

    http://github.com/wmcbrine/tivoremote

    Direct download link:

    http://github.com/downloads/wmcbrine/tivoremote/tivo-remote-0.22.zip

    I also realized that the keyboard shortcut for the "C" button conflicted with the one for closed-caption toggling. So now there's no shortcut for CC, which is probably better anyway (it's one of those potentially dangerous multi-code sequences), if slightly less convenient.

    This version also attempts to reconnect when it sees that the connection has been dropped, which isn't as useful as it sounds, since it takes a while for it to notice. And the code is restructured a bit to make it (I hope) easier to read.
     
  18. Sidnicious

    Sidnicious New Member

    9
    0
    Feb 25, 2007
    Don't forget TELEPORT STANDBY.
     
  19. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    I have a Python 3.x version if anyone needs one. Tkinter only, and no Zeroconf yet.
     
  20. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    11.0h arrived on my S3 this morning. It adds support for the new keyboard remote (and other USB keyboards), and I assumed that it would also support the KEYBOARD command via the telnet interface, as on the Premiere, since to me those features go hand in hand. Sadly, this appears not to be the case. :( However, 11.0h does add support for the A/B/C/D buttons.
     

Share This Page