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. Fofer

    Fofer XenForo Rocks! TCF Club

    82,116
    296
    Oct 29, 2000
    No help on this? (For me or Boot?) Does it depend on some other software... are we supposed to install something else? Some Developer Tools or something?

    Right now, installing the java remote, on a brand new Mac running OS X 10.5.6 clean install, doesn't work. It launches and immediately quits. So any feedback on how to get it running will help out lots of folks new to this thread.
     
  2. sfxc13

    sfxc13 New Member

    17
    0
    Nov 28, 2007
    It does eventually run just takes a super long time to load. (And I think I might have to "interrupt" for it to work. Oh well. Not super useful, but would work in a pinch.

    Any chance somebody has the old version where you hard coded in the address and it didn't search for anything?
     
  3. wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    You can still hard-code the address if you want. (Just fill it in on the line that says tivo_address = ''.) However, the search only takes a second (literally) -- if the TiVos don't respond within that time, they're ignored. (I'm planning to make it two seconds if and when I do another version.)

    Rather, any startup delay is probably due to loading Tk, which causes a noticeable delay even on my desktop. You can avoid that if you can use the Gtk interface instead.
     
  4. Feb 7, 2009 #384 of 692
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    You may have seen that TiVo seemed to be moving away from their old beacon system in TiVo Desktop 2.7. Then, the other night, I found that beacons had stopped working on one of my TiVos, which made my remote program hang. It turned out to be a fluke, but it made me wonder if I shouldn't look into detecting TiVos the Zeroconf way. That's what this version is about.

    I'd avoided this previously, because I liked the idea of having the remote self-contained in a single file (not counting the Python installation, of course). Now, I've bundled Zeroconf.py, which is twice the size of remote.pyw. :rolleyes: Anyway, the new system is simpler and cleaner, and may work in situations where the old one wouldn't. The downside is, it's a little slower on startup (about a one second delay for me).

    The old system is still included, and will be used automatically if Zeroconf fails. You can also explicitly disable Zeroconf, either by using the "-z" command-line option, by setting have_zc to False in remote.pyw, or simply by removing Zeroconf.py. Of course you can still specify an address directly, too, and bypass any autodetection.

    Other changes: Dropped support for the pre-9.4 closed caption toggling (eliminating version detection made it easier to incorporate Zeroconf); increased the old autodetection's timeout from 0.2 seconds (!) to 0.5 (it was occasionally missing a TiVo from the list here).

    [See sig for the latest version.]
     
  5. raghu1111

    raghu1111 New Member

    41
    0
    Nov 16, 2005
    It would be better if this is mentioned in 'remote.pyw --help' (or when connection fails, in the error message). almost everyone trying for the first time will be bitten by it.

    Thanks for the tool. Will run it after enabling 'Network Remote' on Tivo.
     
  6. dougt

    dougt New Member

    7
    0
    Aug 3, 2008
    Where did you read that tivo is moving from their current (old?) beacon system? Or rather, what are they going to use instead. is there a new version of the "TiVo Connect Automatic Machine Discovery Protocol Specification" doc?
     
  7. wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    In the TiVo Desktop 2.7 threads. They've reportedly dropped their old beacon program from that package, and are using only Bonjour now. There is no new published spec yet. But it was easy to figure out. I just ran Avahi Browser, and found the "_tivo-remote" service there.
     
  8. artships

    artships New Member

    11
    0
    Jan 26, 2002
    Fort Worth
    I can telnet to my prom-modded tivohd, still running 9.2a-01-2-652, but not to port 31339. There is no "Remote, CableCARD, & Devices > Network Remote Control" menu item. Is there a resource to toggle in the MFS? Or a service to start in rc.sysinit.author?
     
  9. ThAbtO

    ThAbtO TiVoholic by the bay

    6,726
    8
    Apr 6, 2000
    SF Bay Area
    The Network remote control in the menu feature did not appear until v11.0.
     
  10. wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    Eh, not quite. I think that was in 9.4. ;) Meanwhile, the port worked without having to turn it on in some earlier versions -- according to Omikron in the first post of this thread, since 9.1. So it seems like it should work with artships' system. I have no experience with PROM-modded TiVo HD's, though.
     
  11. JamieP

    JamieP Member

    991
    0
    Aug 2, 2004
    The feature can be turned off/on from the mothership. Artships should upgrade to a current software release. Normally this would happen automatically if not blocking updates. Running old software on a SA tivo is known to cause problems. As Bullwinkle would say, don't be a moron.
     
  12. artships

    artships New Member

    11
    0
    Jan 26, 2002
    Fort Worth
    Well, I certainly don't want to be a moron.

    Telneted in, echo mls /SwSystem |tivosh showed one partition with 9.2 on it and the other with 11 - Hey, I want that one! I assumed that if bootpage -p showed upgradesoftware=false that I should change it to upgradesoftware=true, so I did:
    Code:
    set x=`bootpage -p /dev/sda`
    set y=`echo "$x" | sed 's/re=false/re=true/'`
    bootpage -P "$y" /dev/sda
    Rebooted. Oops. Stuck on "Welcome Powering up". Plugged the drive into mfslive and changed it back to false. Still stuck. Through mfslive, bootpage -b said 6, bootpage -f changed it to 3. Still stuck. Bummer.

    Oh, and when I mount it from mfslive, the /var/log directory is unhelpfully empty.
     
  13. Omikron

    Omikron Member

    135
    0
    Feb 27, 2006
    Maybe I'm missing something, but did you allow the TiVo to attempt the software update automatically on a hacked unit?

    Normally, such an action should result in an unhacked, but usable system.
     
  14. JamieP

    JamieP Member

    991
    0
    Aug 2, 2004
    I'm not convinced your bootpage edit was correct. I use "-P" when I want to change the bootpage kernel parameters.

    Flipping to the alternate partitions is never a good idea unless you know you have a working software version there compatible with your MFS. The fact that 11.0b is in /SwSystem does not mean it is installed in the alternate partitions.

    Check your bootpage kernel parameters again. If you are never getting past the "Powering up" screen, chances are you just messed something up there.
     
  15. artships

    artships New Member

    11
    0
    Jan 26, 2002
    Fort Worth
    So do I, except when I write it here. Sorry. bootpage -p showed I got the command right. I'm not convinced though that it's not a flakey harddrive. Popped the original back in the tivo and it runs fine (ruling out a bad power supply but not ruling out buggered software). I just keep reminind myself I like doing this stuff, mistakes and all. Thanks for you help!
     
  16. JamieP

    JamieP Member

    991
    0
    Aug 2, 2004
    I guess it's time to hook up the serial console then. Or start over with a fresh image, let it upgrade, then hack.

    It might make sense to take this over to DDB, since it doesn't have much to do with this thread topic anymore.
     
  17. artships

    artships New Member

    11
    0
    Jan 26, 2002
    Fort Worth
    If by allow you mean, would really wish it would happen, especially after several forced calls, yes. I came to imagine that upgradesoftware=false inhibits such software updates, hence my mad determination to change it. I know that when I first hooked it up after getting it back from that fabulous guy who fixed it up for me (Thanks!) the first thing it wanted to do with the old disk in it was fetch fresh software (v11 - Woohoo!) and again when I put the old disk back into it this morning (v11.0b, IIRC).

    I'll have to kick this around some more this weekend, as fixing the bigger disk is bound to be less time consuming than rescuing all the recordings. And besides, another problem or two and I'll have enough postings to be able to read the links at the bottom of other people's sigs. Now there's something to look forward to. Thanks for you help!
     
  18. artships

    artships New Member

    11
    0
    Jan 26, 2002
    Fort Worth
    Works now. Had to start over with a later gen06 file that works with the latest tivo software version. Like with most tivo hacks, it's installed and works. Just have to imagine what I want to do with it.
     
  19. Apr 2, 2009 #399 of 692
    dragontivo

    dragontivo New Member

    15
    0
    Mar 17, 2004
    I'm in a little need of help on how to run this remote through Python. I downloaded and installed python, the latest version 3.1a1.

    I downloaded the scripts and extracted the remote.pyw and the Zeroconf.py files. I tried running both of them directly but nothing happens.

    I also tried opening Python and opening the files from there, and running them. When I do that I get Invalid syntax messages. This is my first time trying to run Python scripts, so I'm sure I'm doing something wrong, would appreciate a pointer in the right direction.

    Thanks!
     
  20. Apr 2, 2009 #400 of 692
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    Yeah, you need to stick to the 2.x series of Python for now. That's true for almost all Python software you'll come across -- don't use 3.x unless specified. Sorry about that; it's a confusing situation.
     

Share This Page