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

    wmcbrine Ziphead

    10,441
    55
    Aug 2, 2003
    Ah... look under "Open With".

    Sorry about that. I've now edited the 0.15 post to reflect this.
     
  2. Phasers

    Phasers New Member

    46
    0
    May 28, 2008
    I lost (well my wife!!!!!!) my remote on my series 3, and this is the only thing keeping me going until tivo sends me a new one.

    I can't believe I am using a $1500 laptop solely as a remote control for tivo but hey what can I say.

    It took me 2 days to find this, and I realized how mch I was addicted.

    By the way if anyone hasn't enable the network remote control feature (Under settings somewhere) the info button on the front of the series 3 will work to input the 3 thumbs up when you have to confirm when you enable the feature

    Dude thanks so so so so so much!
     
  3. Fofer

    Fofer XenForo Rocks!

    83,425
    632
    Oct 29, 2000
    I am running OS X 10.5.5 (Leopard,) I renamed it to TiVo Remote.py, and don't get that contextual menu. The only thing under "Open With" is "SubEthaEdit" and "Other..."

    [​IMG]

    I know Python 2.5.1 is pre-installed with Leopard, do I need to install it again?
     
  4. wmcbrine

    wmcbrine Ziphead

    10,441
    55
    Aug 2, 2003
    Hmm... based on that link, it sounds like it only shows up if you've installed Xcode and/or a new Python. If I've misled anyone, it was unintentional; sorry.
     
  5. Morfious

    Morfious Happy Roamio user

    26
    0
    Jun 3, 2007
    Bucks County PA
  6. Nov 1, 2008 #266 of 709
    snowjay

    snowjay 40mph couch potato

    15,437
    1
    Mar 26, 2007
    Almost in...
    Yes you need Xcode installed for the Build Applet to show up.


    Thanks for this app! :)
     
  7. Nov 1, 2008 #267 of 709
    nwellner

    nwellner New Member

    8
    0
    Jan 28, 2006
    I've only seen the Iphone remote App for jailbroken phones. Is there a chance there will be a version released in the Itunes app store? Or are there too many corporate implications with Tivo and Apple for this to happen?

    *sorry if this has been mentioned, I scanned these 9 pages in this thread looking for the answer but didn't find it.
     
  8. Nov 2, 2008 #268 of 709
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Am i just missing something, I can't figure out why there are programs that run on an iphone without needing to install python, but to do it on a windows i need to run python.

    I am using a new dell 4 series (the new mini ultra) that has limited memory and space and it looks like the program for the remote is extemely small, but python is like 15 megs. Why not compile this app into an exe so or make it into a yahoo gadget or java so people could run it anywhere without having to install python?

    knowning nothing about it, it seems like that would make more sense and you would have many more people able to use the front end remote than requiring everyone to install python.

    Am i just missing something? If there is an easy way to run this as an exe or something please let me know, i read all the responses thus far and can find nothing that explains why this is the way it is.
     
  9. Nov 2, 2008 #269 of 709
    wmcbrine

    wmcbrine Ziphead

    10,441
    55
    Aug 2, 2003
    I guess you're missing how trivial it is to install Python... plus the fact that it's a free program... among other things.

    It's written in Python because I enjoy writing in Python. If you're not interested in installing Python, you're welcome not to use it. I don't care.
     
  10. Nov 2, 2008 #270 of 709
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Look, I am not dissing python or anything, I know nothing about it. But it takes a minimum of 38mb from what I saw in the install package. So in order to run this on a majorly limited capacity machine, that seems like a lot of overhead. I don't have an iphone, but it seems to run the app on the iphone requires almost no overhead, like under 100k.

    Does python not allow you to compile the code into executables? For the replays there is a similar backdoor for remote control that is run both thru a widget and also a html script, as a stand alone executable and also a java program. And that community is almost dead so I would figure that it shouldn't be that hard to port something out that could be used by a larger universe of users than those that have the technical competance and the overhead to be able to run python.

    If this is ported to java, it could run almost anywhere and get a large following because then it could run on any java device, or if python lets you compile, you could port it out to windows, linux, CE, apple software or just about anything.

    I don't think it matter what language the code is written in, python ,c visual basic or whatever, usually you can port it out. I am just wondering why not do that, to be able to have it exposed to more users who would appreciate it?

    You would probably get ten times as many people using it on multiple different platforms. More people who would be glad that you wrote it and more notoriety for yourself!
     
  11. Nov 3, 2008 #271 of 709
    gonzotek

    gonzotek tivo_xml developer

    2,416
    7
    Sep 24, 2004
    Outside...
    wmcbrine's a python developer. It's a language he's comfortable with. You're right, it doesn't matter what language the functionality is written in, the end result is more or less always a TiVo remote. It doesn't matter, except of course to the person who happens to be writing it.

    I've been writing a small remote script in php and html/javascript for the iphone because I'm not currently interested in jailbreaking the phone or waiting for someone to release something in the store (I don't think there should be any reason apple/tivo would block it). Will this be useful for everyone? No, definitely not. It requires the iphone (although I plan on creating a stylesheet for normal browsers, right now it's custom designed for the iphone) and a php server running on a machine in the local network. But I plan on releasing what I've done pretty soon, so other people can use it if they want, either as a (hopefully) useful piece of software or as a learning tool/guide for some other project(perhaps a java jar?). Here's the kicker, I used wmcbrine's python implementation as a guide myself, since he was kind enough to allow us access to the source under the GPL. I don't know anything about the replay remote softwares, but I imagine they weren't all written by one person and perhaps the developers shared information about how to communicate with the replays?

    There isn't a port in every language on every platform because no one has written one, yet. Do you know java, VB, or C#? Own a blackberry or android phone? What about the chumby? It's ok, if you don't program and don't own any of those. But instead of asking why wmcbrine's remote is only available in python you should consider asking if anyone is interested in writing for your platform of choice...maybe if some interested java developer sees the need, he'll step up and build it.
     
  12. Nov 3, 2008 #272 of 709
    DVDerek

    DVDerek <WittySaying />

    6,450
    0
    Sep 30, 2002
    Boston, MA
    Let me get this straight... you're upset about 38MB? Hell, buy a 128MB USB stick and run it on there if you really don't have the space.

    If not, since you seem to think it's so easy, you could just "port it out" yourself.
     
  13. Nov 3, 2008 #273 of 709
    dswallow

    dswallow Save the ModeratŠ¾r TCF Club

    51,195
    103
    Dec 3, 2000
    Long...
    Well, if 38MB bothers you, then you must be totally shocked at the Java bloat.
     
  14. Nov 3, 2008 #274 of 709
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Yeah but java is already on the devices, hence the beauty of it. Python is something I never heard of until i read this forum, and I am no dumb bunny.

    Nowadays people don't think about the beauty of minimalization of code. 38mb is bigger than many hard drives only a few years ago. Now I am probably older than most people reading this, but in the old days, there was not the need to put the development language on the machine to run the executable, and again, knowing nothing about python, I would guess there is a way to develop out a executable file. Otherwise what is the point? If not, why learn the language at all, when you could write this in C or something smaller?

    All this app does is send telnet commands with what like 30 variations? And put a front end on it with standard buttons? I mean the command structure for that should be extremely small, like under 1 mb, and the biggest part would be if you were to do as somebody suggested by like putting the buttons overlaid on a picture of a tivo remote, of which the graphic should be the biggest part of the file.

    Don't get me wrong, I am just surprised that for as huge as the tivo install base is, (what like 50X replay now, or maybe 2000X) there sure isn't that much of a code community out there or maybe they don't like to share and develop together like other communities, but being a recent convert, it is really surprising that somebody finds a development like this and there are not 15 different front ends to offer up the remote service which is very useful and that people seem to only be developing for the iphone and not all the other cool phones out there.

    Is it that most tivo users have macs and iphones and so don't normally develop apps in more standard machine languages? i have no idea? I mean macs are not the best development machines, so maybe that is more understandable.

    It just seems weird that techies would focus so much on the iphone which is really restricted compared to the cool things you can out out of my phone (a windows mobile device) or out of the blackberry and palm systems or especially the cool new developments available thru the android system (of which I will be buying one and playing around with it as soon as I get some time)

    I guess I am just really surprised that there is so little really going on with hacking the tivos and development by user groups for them. I know there is lots for the older tivos and such, but still it seems weird to me so little goes on.

    If I get time, I would be glad to write something up, I already have some built into my phone and my own development for the mini dell mentioned, and if I get those refined to releaseable, I would be glad to port them out, but I just don't usually have the hobby time to do that and others usually do. I wish I did, I miss the old days of doing this kind of stuff all the time.

    But I would imagine someone out there does and most of us know how nice it is to have a lan network remote, especially if you use your dvr in multiple rooms and ir repeaters are sketchy. It was the first thing I looked for after installing my tivo.
     
  15. Nov 3, 2008 #275 of 709
    gonzotek

    gonzotek tivo_xml developer

    2,416
    7
    Sep 24, 2004
    Outside...
    Python is a scripting language. The point is, specifically, that you do not NEED to compile to run the code..You can make changes to it in an editor, restart the process and immediately see the results of the changes. It is possible to create executables out of python scripts, but doing that removes a lot of the advantages it provides (the aforementioned rapid development cycle, cross-platform capability, etc.). Wmcbrine's program, for instance, runs, without modification, on Macs, Windows, Linux, Solaris; and people have even gotten it to work on WinMo devices.

    Wmcbrine's latest release is only 21k of code. A Java jar would probably end up larger, and if you hadn't already had java installed you would be looking at a MUCH larger overall footprint.

    Send me an android phone and a blackberry and I'll develop for them. I have an iPhone, so naturally I am most interested in software that works for it. I plan on having my script work with browsers other than the iPhone's Safari, but I am first and foremost interested in it working there, for that is my device.

    No Mac here, just the iphone. My understanding, though, is that people who have to code in multi-platform environments consider modern macs to be awesome platforms for development.

    I dumped WinMo for the iPhone because it was so clunky for so many tasks(unrelated to software development). Android just came on the scene a few days ago, officially. I wouldn't be at all surprised to see someone do some cool TiVo-related work with it sometime soon.

    The remote functionality doesn't exist in S2 TiVos, it is (so far) exclusively a S3 feature, and the bulk of the machines out there are S2 models. There are quite a few different pieces of software that work with TiVos, if you look around a bit. Transcoding software like pyTiVo (another python app) that can send video in many different formats to the TiVo, games, utilities, etc. All of these run on the network, outside of the TiVo software environment. 'Hacking' older TiVos was easy because the software in them wasn't locked down with hardware encryption, but most S2 and all S3 models are crippled in such a way that to modify the software the TiVos run requires de-soldering a prom and flashing it. This puts up a major barrier to most would-be hackers. For those that can handle doing that, people are still doing really cool stuff like installing a webserver with all kinds of cool additions into the TiVo box.

    I wish I had more hobby time to code too :(.

    You may want to try my script out when I can release it, if you have another machine in the lan that can run php. It would mean you wouldn't need to install anything at all on the mini. As I said, it's not an ideal solution for everyone: You need a machine to serve the script, running all the time (or at least as long as you wanted the remote), but if someone is already running a server-type machine in the lan for some other purpose (file server, etc.) it could be a good fit.
     
  16. Nov 5, 2008 #276 of 709
    proudx

    proudx New Member

    198
    0
    Sep 16, 2008
    I'm using these commands to send a pause when my phone rings from my homeseer server. When the phone call is ended and disconnects tv is sent a play command. works great.

    I got another good use for this tool. A scheduled automated reboot. While I reconize tivo has a history of not needing to be rebooted that much, seems as though performance and bug related issues could be masked/reduced by a simple weekly or monthy automated 3am reboot. Just have a script that macros into the menus and sends the right commands to restart it. Anyone try this yet?
     
  17. Fofer

    Fofer XenForo Rocks!

    83,425
    632
    Oct 29, 2000
    Make sure you also have OpenSSL installed.

    More info here.
     
  18. David Platt

    David Platt !Texas TCF Club

    10,522
    54
    Dec 13, 2001
    Portland, OR
    Whoops, you got me on the ninja deletion.

    my post said I had just installed the tivo app on a jailbroken iPhone and it was crashing. I updated Cydia and re-installed, and everything's fine now. Thanks, Fof!
     
  19. jtkohl

    jtkohl New Member

    170
    0
    Feb 6, 2004
    Arlington,...
    For Galleon, I package it up with PackageMaker and install a skeleton .app directory, then in a postflight script copy in the Java runtime stub from /Library/...

    Maybe you could do something similar, perhaps a small script that execs the python interpreter, and keeps the .app-handling part of Finder happy?
     
  20. wmcbrine

    wmcbrine Ziphead

    10,441
    55
    Aug 2, 2003
    It's come to my attention that the TiVo HD XL has a Tivo Service Number that starts with 658, which wasn't recognized as a supported model -- I was only checking for 648 (Series 3) and 652 (regular TiVo HD). So, here's an update to support the XL.

    [See sig for the latest version.]
     

Share This Page