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

New program for 1 step TTG downloads, decryption, encoding - kmttg

Discussion in 'TiVo Home Media Features & TiVoToGo' started by moyekj, Mar 15, 2008.

  1. Mar 28, 2008 #41 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Yes I've seen that error before. It seems to happen if you try and download a show from the Tivo shortly after retrieving Now Playing List from the Tivo or if you try and download one show right after another. Previously I had a "--retry 3" option on curl to automatically try again on failure which I removed since my Linux curl didn't have this option. I will add it back in for Windows platform at least which probably solves the problem there.
     
  2. Mar 28, 2008 #42 of 10412
    BP-isMe

    BP-isMe New Member

    62
    0
    Dec 16, 2003
    Boston
    Could the program be used to automatically get show from the TiVo, remove commercials and send the show back to the TiVo (sans spots)?

    Thanks...Brad
     
  3. Mar 28, 2008 #43 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    I'm not sure if there is a publicly documented way to push shows to a Tivo automatically, historically that has always been a pull (where you request from the Tivo). With the new Tivo Desktop release it seems like there is something along those lines where you can have it push shows from your PC to your Tivos automatically, but I haven't really looked into it and don't know if that functionality is publicly understood.
     
  4. Mar 28, 2008 #44 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    OK, kmttg v0.2a is now released.
    ENHANCEMENTS:
    * All configuration can now be done via the GUI. config.pl file no longer used - replaced with simple config.ini which is automatically saved via GUI.

    * Added capability to start from files already on your computer instead of being forced to select a show from a Now Playing List. This makes all steps optional including downloads.

    * Added capability to mark default Tivo to use on program start with a leading '*' character

    * Changed text area type such that contents can now be selected and copy/pasted.

    * Additional error checking added

    * Documentation extensively improved and converted to HTML format

    NOTE: Because of the new graphical configuration your old configuration in the config.pl file is no longer used. Configuration is now done via the GUI so the first time you run the program you will need to go to File->Configure... and re-enter your MAK and Tivo information and any other settings you desire such as enabling file browsing.

    NOTE: In documentation I included more details on downloading and compiling 3rd party tools for Linux platform. If someone wants to try and get it working on a Mac I'd be willing to help and then I can include instructions for getting things working on a Mac.
     
  5. Mar 29, 2008 #45 of 10412
    deVries

    deVries New Member

    11
    0
    Mar 28, 2008
    Thanks for a super program that is just getting started! I'm amazed at the quality for such a rapid development. I easily followed your documentation and got things to work quickly thanks to your error reporting too.

    One thing, in the IP Config yours defaults to https <-- the "S" caused mine to not work, so I had to edit the INI file to take that out. Maybe that's a minor fix that needs to be done???

    Excellent job! I had just downloaded the tivodecode, but I'm not an experienced programmer & wasn't looking forward to figuring it out by a lot of guesswork. You did a super job with the GUI.

    Stay inspired to keep going, because you have the skills to offer a lot.

    Again, thanks so much for an excellent program. Super job! :up:

    Dean
     
  6. Mar 29, 2008 #46 of 10412
    Berone

    Berone New Member

    108
    0
    Feb 14, 2005
    I'm playing with it now. Nice GUI - makes the config easier, but it returned some error messages as it ran. First time I re-entered all, second time I ignored the errors and it all seems fine. Thanks for the feature to select files already on the drive - makes life easier.

    I'm willing and wanting to try to get this going on the Mac, but my first attempts makes it look like there's no Perl on the machine, and it's supposed to be installed by default. So I installed the Mac version of Active Perl but still no joy. If I can't get that working I don't think I'll get too far!
     
  7. Mar 29, 2008 #47 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Thanks for the feedback. Can you explain this more? I don't understand the problem? There is no "https" to be entered anywhere in the config. You enter a Tivo Name which is anything you want, and a LAN IP such as 192.168.1.101.
    The only time "https" is used is for obtaining Now Playing List. Are you saying you had to edit kmttg.pl to change that?
    Thanks.
     
  8. Mar 29, 2008 #48 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Well that version didn't last long. Sorry guys, there was a problem with comskip & mencoder settings not being read from config.ini file (shows how little I use comskip!). This has been fixed and kmttg 0.2b is now released at the web site.
     
  9. Mar 29, 2008 #49 of 10412
    deVries

    deVries New Member

    11
    0
    Mar 28, 2008
    No, sorry I was not clear with my explanation. The first few times the program would not work. On the error notes I saw the https with my IP address. So, I entered the http://with my IP. That http then appeared with the https on the same line in the "error report", so I went in the Config.ini to remove my http. After doing this the program began working, so I don't know really why it wasn't working & then started working. I thought it might be that it was requesting my IP with the https, when it really needed the http with my IP to work.

    Whatever ???, after changing maybe nothing it began to work, when it would not connect to download before.

    Feature Idea... Is it possible to have an option to move files from the tivo, rather than just copy from it leaving the original on the tivo too? A new move option could then free up space on the tivo automatically without having to manually erase each file that was copied off it.

    Thanks for your ongoing work... :up:
     
  10. Mar 29, 2008 #50 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    I only wish there was an interface to delete files from Tivo via ethernet, but there is no such thing. ReplayTVs had such a feature but AFAIK with unhacked Tivos this is not possible.
     
  11. Mar 29, 2008 #51 of 10412
    nickhaas33

    nickhaas33 New Member

    38
    0
    Dec 11, 2006
    OK, this perl/tk script seems to work great.
    Can there be an option to block the console windows that pop up?
    The Status info should suffice (so that you know it is still running).
    Thanks a bundle for the app!
     
  12. Mar 29, 2008 #52 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    It's in the documentation how to do it. For Windows you can setup a shortcut that executes "wperl <path>\kmttg.pl" (substitute <path> with the path where you installed the program). wperl will not bring up a console window.
     
  13. Mar 29, 2008 #53 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    OK, version 0.2c is now released.
    ENHANCEMENTS:
    * Added a "File Naming" configuration option which allows you to customize how file names look for downloaded shows. Consult the documentation for more information on this.

    BUG FIX:
    * Fixed problem where kmttg would not work with spaces present in path names.
     
  14. Mar 29, 2008 #54 of 10412
    deVries

    deVries New Member

    11
    0
    Mar 28, 2008
    Could this have been caused by having the "TTG Server" loaded in the Windows tray? I think I used task manager to end the TTG, and then it released its network connection to the Tivo. It was late at night, and I didn't recall doing this till after I posted about this issue.

    You might point out in your Docs to make sure the TTG is not loaded in the SysTray (network connected to Tivo) before trying to run your prog??? :)
     
  15. Mar 29, 2008 #55 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Not sure if that's it. I actually do have Tivo Desktop running on my Windows system and it doesn't seem to interfere... Since I added the "--retry 3" option are you still getting failures on occasion?
     
  16. Mar 30, 2008 #56 of 10412
    deVries

    deVries New Member

    11
    0
    Mar 28, 2008
    I'll try to duplicate the problem, and this time I'll document it hopefully accurately. I'll report back if I can give you some good info, or I see it again.

    Btw, does anyone know how fast the network connection or data transfer rate can be with the Tivo? Is there a way to optimize this somehow?
     
  17. Mar 30, 2008 #57 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Version 0.2d just released.
    ENHANCEMENTS:
    * Added detailed show info in message area when a show is selected: Exact time of recording, channel number and name, duration, description.
    * Applied html unicode conversions for text so that special characters now display properly
     
  18. Mar 30, 2008 #58 of 10412
    nickhaas33

    nickhaas33 New Member

    38
    0
    Dec 11, 2006
    Help in blocking Console windows for called apps.

    I am using that exact shortcut (WPERL). It (kmttg) does not open a console window, just the programs that are called (like curl, tivodecode, mencoder, ffmpeg, etc).
    I don't code in PERL, so I am no help.
    Maybe something like this?
    http://community.activestate.com/faq/suppress-console-windows-
    BEGIN
    {
    Win32::SetChildShowWindow(0)
    if defined &Win32::SetChildShowWindow;
    }
     
  19. Mar 30, 2008 #59 of 10412
    nickhaas33

    nickhaas33 New Member

    38
    0
    Dec 11, 2006
    I have heard that you can put both tivo receivers on channels you don't receive (so it won't be recording anything).
    Also, I am sure a direct Ethernet connection (not going through wireless) will probably be faster. I have only been able to achieve a max of 900kb downloads though. Most average around 650kb though.
    The encryption process is what is slowing it down.
     
  20. Mar 30, 2008 #60 of 10412
    Berone

    Berone New Member

    108
    0
    Feb 14, 2005
    When I was using the wireless connection for the Tivo it was so slow that transfers weren't happening. I've recently hardwired and the speeds I'm getting on transfers (according to Curl) average around 1950k. I'm using my Windows laptop to run the program and it's saving to a hard drive that's attached to a Mac Mini. The Mini and the laptop are both gigabit, but the Tivo is 10/100 so I don't think the gigabit would affect transfer rate.
     

Share This Page