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. Jun 16, 2008 #201 of 10412
    ronaldlw

    ronaldlw New Member

    21
    0
    Apr 29, 2008
    anyone had any luck getting automatic commercial skipping to work better? No luck here.
    Thanks,
    Ron
     
  2. Jun 16, 2008 #202 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    The biggest problem is the "comcut" step (which uses mencoder to cut out commercial segments detected by comskip) not keeping audio/video in sync. Is this the problem you are referring to? If so I was not able to find a better automated mpeg editor for doing the cuts. However cutting out commercials with Womble (and I would presume VideoRedo) works fine.
     
  3. Jul 6, 2008 #203 of 10412
    spudnic

    spudnic New Member

    42
    0
    Jul 25, 2004
    First off, thank you so much for this.

    It looks like program names with a splat (*) in them need to be handled by downloading with %2a and replacing them in the PC filename with some other character.

    Case in point, M*A*S*H.

    Just a head's up.
     
  4. Jul 8, 2008 #204 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Thanks for reporting it. I'm on extended vacation right now but will look into it when I get back.
     
  5. Jul 13, 2008 #205 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    ------------------
    v0.4h (07/13/2008)
    ------------------
    BUG FIX:
    * Shows with '*' characters in the name would not download with kmttg.
    The characters are now dropped from the file name in order to prevent
    problems.
     
  6. Jul 13, 2008 #206 of 10412
    spudnic

    spudnic New Member

    42
    0
    Jul 25, 2004
    Excellent, thank you.

    I've looked around a bit but haven't found this. Is there a way to queue up a list of programs to push to tivo rather than initiating it from NP?
     
  7. Jul 13, 2008 #207 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    For pushing programs to Tivo you have to use a different program such as pyTivo or Tivo Desktop. kmttg is for pulling files only. TD 2.6.1 has auto-push capabilities and I believe some branches of pyTivo also recently added that capability.
     
  8. Aug 1, 2008 #208 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Minor enhancement useful for those with lots of stuff on their Tivos.

    ------------------
    v0.4i (08/01/2008)
    ------------------
    ENHANCEMENT:
    * Prints statistics for total number of shows, space and time after obtaining
    Now Playing List from a Tivo.
     
  9. Aug 11, 2008 #209 of 10412
    Prestond

    Prestond New Member

    44
    0
    Feb 4, 2008
    Kevin,
    I love this program. I use this a couple of times a week, I thought it deserves a bounce for KUDOs to you for this...you should add a Donate icon on your website!
    Thanks again...
     
  10. Aug 11, 2008 #210 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Thanks! I'm using it every week still as well so that is payment enough. :)
     
  11. Aug 29, 2008 #211 of 10412
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    Kevin,

    Thanks very very much for writing this perl script, as it seems to be just the ticket for me, running Windows Home Server as the only server box in my home network.

    I was looking for weeks for a way to download and then play back my .Tivo files from my Tivo in a fashion that would be easy and seamless with my WHS box.

    I do have a few questions which I'm not completely clear on from scanning this thread.

    1. It looks like there is an option to run the auto transfers as a service, with a timer value for when to fetch the programs. Is there a way to provide schedule information? I would like to make it only grab my recordings when my network is fairly idle.

    2. How does your script handle duplicates? I have noticed my Tivo seems to do a lot of duplicate recordings and I would prefer not to have to manually do a lot of cleanup if there's a way to tell it simply not to transfer something already in the repository directory.

    3. Are the output .mpg files a lot more compact than the original .tivo files? At this time I only plan on playing back with my .tivo so I don't need FFMPEG conversion, but I would do it if it saved a lot of space. I've noticed that a single 1hr long HD program is over 3GB in size! Yikes!

    Thanks again!

    Jason.
     
  12. Aug 29, 2008 #212 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    You could use the batch mode option (kmttg.pl -b) (instead of service mode) and use a scheduler to fire off the script in batch mode on a schedule of your choosing. In batch mode your Tivos are checked only once for matching programs to auto-download and once the downloads and whatever actions you specified to perform on them complete then the program exits.

    If you create an auto.history file alongside kmttg.pl then that file is updated each time a download successfully completes with the ProgramId of the download show. That file is consulted before downloading a show and if ProgramId match then the download is skipped. I don't use auto/batch mode much at all and I noticed a while back that for some shows (like O'Reilly factor) the ProgramId is the same every time for different episodes which I thought was unusual, so this may need some work to find a more unique identifier.

    The resulting unencrypted .mpg files are almost the same size as the originally downloaded .TiVo file - some encryption and metadata infromation are stripped out so .mpg is a little smaller but not by much.
     
  13. Aug 29, 2008 #213 of 10412
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    Thanks very much, I will do some experimenting with some of this and see how things go.

    The best part of all of this is that I can finally delete off some of the shows I've been "Saving" on my Tivo! :)
     
  14. Aug 30, 2008 #214 of 10412
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    One comment I can make right now is that Tivo HD is slow as hell in file transfers. I'm seeing about 3GB/hr over 100Mb wired LAN.

    Man, that's slow.

    By comparison I regularly move 30 megabytes a SECOND to the same server from other devices on the network.
     
  15. Sep 2, 2008 #215 of 10412
    ronaldlw

    ronaldlw New Member

    21
    0
    Apr 29, 2008
    Hey, I'm still loving this script! It really works great for me. I just wish i could get the auto commercial skipping to work right!

    One thing i just noticed that is an issue for me is that some shows just have simple titles, "Funniest Pets and People" for example. They don't have any other info in the title that is unique to each show. Because of this only one show ever gets downloaded since the script decides that all the other episodes with the same name are the same episode. Also, I can't go in and manually initiate the transfer either, since that part checks the log and decides the same thing. Is there any way you could add an option on a per show basis to "download all shows" or something? also it would be nice to be able to force processing in the gui even if there is a match in the log already.

    Thanks!!

    Ron
     
  16. Sep 2, 2008 #216 of 10412
    jmpage2

    jmpage2 New Member

    1,951
    0
    Jan 20, 2004
    Is there an easy way to debug the script if auto-archiving doesn't appear to be working? I manually ran my auto-archive jobs on 8/30 and no shows have been downloaded since that date, even though the Tivo has several with matching titles.
     
  17. Sep 3, 2008 #217 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    How do you have your tivoFileNameFormat configured? The standard/default name is [title]_[wday]_[month]_[mday] such that recordings on different days get a different name.
     
  18. Sep 3, 2008 #218 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    I think for some shows ProgramId is not unique for each episode so once you have that ProgramId in the auto.history file then no further episodes are downloaded. If that's the issue then as a workaround you can remove auto.history before starting auto downloads. You can look at auto.log file to see what happened (why nothing recorded).
     
  19. Sep 3, 2008 #219 of 10412
    lrhorer

    lrhorer New Member

    6,922
    0
    Aug 31, 2003
    San...
    Although the THD is no racehorse, it should not be that slow. That's less than 7 Mbps. I don't have any trouble transferring up to 18 Mbps via MRV and 15 Mbps or better via TTG. FTP transfers sometimes peak at nearly 45 Mbps.

    Not over a 100M connection, you don't. That's 240Mbps, and the absolute maximum possible on a 100M Ethernet connection with a 1508 byte MTU is 96 Mbps. Realistically, 80 Mbps is about the most one would ever see unless giant frames are enabled, no matter how fast the computers at each end are. Transferring server to server over a 1000M link, I've been able to transfer up to a total of 500Mbps in and out of my video server, but that doesn't help the transfers in or out of the TiVos.
     
  20. Sep 3, 2008 #220 of 10412
    nowakezone

    nowakezone New Member

    13
    0
    Dec 13, 2004
    Missouri
    Can you tell me the encoder arguments command line for a ipod mp4 file?
     

Share This Page