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. Jul 17, 2013 #5441 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    There's been no changes to failed download deletion in years. You can look at change log history and code for "download.java" for example:
    http://sourceforge.net/p/kmttg/code/2668/log/?path=/trunk/src/com/tivo/kmttg/task/download.java

    I've added another option under File Settings for next release to give you option to get behavior you want:
    "Delete failed downloads" (on by default).

    If you want to test it out there's a beta version of kmttg.jar with that option added in this zip file.
     
  2. Jul 17, 2013 #5442 of 10412
    SiB57

    SiB57 New Member

    12
    0
    Feb 4, 2008
    I searched the thread and haven't see this question yet, so apologies if it was already asked.

    Is there a problem with some show names and adding them to the auto transfers list? Two (admittedly bad) summer shows "Whodunnit?" and "Whose Line is it Anyway?" both have a ? in them and both do not transfer for me automatically. Those are the only two shows (of a LOT of shows) that I've had problems with so wondering if it's an issue with the ? in the show name. I checked the auto.ini file and they're both in there, but they won't downloaded, but do transfer if I do it manually.

    Thanks
     
  3. Jul 17, 2013 #5443 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Yes, since regex matching is used for matching titles the ? if left unescaped will prevent matching, so you will need to escape the ? for those. I've added the following note to the auto_transfers Wiki page:
     
  4. Jul 17, 2013 #5444 of 10412
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    Believe it or not, I am having the exact opposite problem. Occasionally, a download will fail to acquire the full recording w/o generating an error. The larger problem is that the particular show that has exhibited this problem is being pushed to a remote TiVo. I record it in both SD (for the push) and HD (for my viewing), so if I know the transfer has not completed successfully, I can try the HD, which so far has been successful. I'm just afraid that at some point I'm not going to find out until it is too late.
     
  5. Jul 17, 2013 #5445 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Yes, that is nothing new where due to a glitch of some sort the TiVo server just stops serving up the file without any indication of an error, so as far as client goes (kmttg) the download completed without error. It was those problem shows that made the "resume download" option useful (which TiVo "broke" for series 4 units, though broke is not quite accurate as it was never an officially supported feature in the 1st place).
     
  6. Jul 17, 2013 #5446 of 10412
    christheman

    christheman New Member

    166
    0
    Feb 20, 2013
    So far I've asked about transferring a "partially downloaded" show between two Tivo Premieres to get the rest of the show, but the answer I got was that doing so would about double my Tivo charges, as both Premieres would need to be "activated."

    Would it be possible to use a Tivo Mini as a second unit to transfer the shows internally - and possibly fix broken Tivo files for PC download? Has anyone tried this and accomplished anything?
     
  7. Jul 17, 2013 #5447 of 10412
    SiB57

    SiB57 New Member

    12
    0
    Feb 4, 2008

    Great thanks, I'll try it!
     
  8. Jul 17, 2013 #5448 of 10412
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    No, as the TiVo Mini streams, it does not transfer. It has no storage unit to which it could be transferred.
     
  9. Jul 17, 2013 #5449 of 10412
    christheman

    christheman New Member

    166
    0
    Feb 20, 2013
    Gotcha. Thanks.
     
  10. Jul 17, 2013 #5450 of 10412
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    I completely believe you, you write the code so you should know, but has there been a change to the detection or something? Because it has only been recently that instead of hanging due to network timeout or whatever, that it would try to redownload again. I would say the last few months. Maybe it just had not happened much on my machine or I caught the hang before the detection did and cancelled it before it got a chance to wipe the file, who knows? I comb thru the logs pretty regularly.

    Anyway, thank you so much for putting in the Option to not delete the file. These Tour de France stages can be very long, sometimes 6+hours to download, so I would much rather have the part and partial download the rest if something goes wrong than wait another 6 hours. I more than anyone wish that the downloads could be premiere fast, but nope!

    Again, thanks for adding in this option, it might not be widely used, but it will be definitely appreciated by those who do use it.
     
  11. Jul 20, 2013 #5451 of 10412
    IPbUnSJ5njOL

    IPbUnSJ5njOL New Member

    16
    0
    Feb 19, 2005
    Hi,

    Wow, this is an old, long thread. I guess people just keep adding new questions here instead of creating new threads?

    I was wondering about the following:

    1) Can KMTTG on the Mac be made to show the VideoRedo section in the configuration tab? If VideoRedo is better than ProjectX (and if not better is at least still under active development), then I'd like to use it via Wine. I currently use wine to use the latest windows version of comskip.exe by pointing to a shell script that passes the arguments and it works great, so I'd like to try the same with VideoRedo, but it isn't even listed in the Mac KMTTG configuration...

    2) I'd like to achieve the following with advanced file naming: have the name be different based on whether it's a movie or a TV show. I saw the advanced file naming section and see how it's supposed to work, but I also want it to work with auto sub-folders, but only when it's a TV show. The following doesn't work the way I'd expect:

    [mainTitle][" (" movieYear ")"][/ "Season " season][/ SeriesEpNumber " - " episodeTitle]

    Am I missing something? Is it possible to get something like that to work? The resulting output puts _ in place of the / even though I don't have the / in quotes and am not trying for it to be a literal string. I want to use it as the folder separator keyword, and I want that in the conditional so it's only used if season and episodeTitle don't equate to null...

    Thanks for such great software.
     
  12. Jul 20, 2013 #5452 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    1. I don't think any version of VideoRedo works via Wine because it relies heavily on Windows DirectX
    2. The keyword to make sub-folders is [/] not just /. I think this template works for what you want to do:
    [mainTitle][" (" movieYear ")"]["[/]Season " season]["[/]" SeriesEpNumber][" - " episodeTitle]

    Examples:
    "Covert Affairs [Ep 401] - Vamos" would come out as:
    Covert Affairs/Season 04/s04e01 - Vamos.TiVo

    "Superbad [2007]" would come out as:
    Superbad (2007).TiVo
     
  13. Jul 20, 2013 #5453 of 10412
    IPbUnSJ5njOL

    IPbUnSJ5njOL New Member

    16
    0
    Feb 19, 2005
    Thanks for replying. :)

    1. That's a shame. I just assumed it would work the same way... Oh well...

    2. "The keyword to make sub-folders is [/] not just /." I know, but I read "You can define multiple space separated fields within square brackets" and I misunderstood that to mean I didn't need the square brackets around the / if using multiple fields in one block. Thanks for providing an example that works.

    I had another question. Well more of a feature request, actually. Comskip doesn't work well to trim the very beginning or ending of shows that don't start at the right time. For instance a show starts 10 seconds after the hour, and there is no commercial between it and the previous show. So I'm using a custom script to use ffmpeg to trim the final encoded mp4. The amount of time that needs to be trimmed is generally consistent on a show/channel basis. For example for me, The Daily Show is 20 seconds past the hour and Love It or List It is 10 seconds.

    How hard would it be to enhance the custom command to be different for each auto transfer configuration, the same way you can specify a different comskip.ini override? I'm thinking of simply building one large custom command that uses logic based on the name of the file to determine how much to trim, but I thought a different custom command per auto transfer might make sense...
     
  14. Jul 20, 2013 #5454 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    For something like that you can make a custom encoding profile that calls a script which does the main encoding and calls ffmpeg a 2nd time within the script to do the trimming. i.e. The custom encoding profile can be a script as well, it doesn't have to be a call to ffmpeg or handbrake.
     
  15. Jul 20, 2013 #5455 of 10412
    ShayL

    ShayL Member

    211
    0
    Jul 17, 2007
    Dallas, TX
    moyekj, is there anyway that kmttg can prevent a mac running Mountain Lion from sleeping? The transfers take a long time and my computer can go to sleep. Apple changed their sleeping behavior in Mountain Lion.
     
  16. Jul 20, 2013 #5456 of 10412
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,724
    8
    Apr 6, 2000
    SF Bay Area
    About the only thing to do is to disable sleep mode.
     
  17. Jul 20, 2013 #5457 of 10412
    IPbUnSJ5njOL

    IPbUnSJ5njOL New Member

    16
    0
    Feb 19, 2005
    Thanks. I hadn't thought of that. KMTTG is so versatile! Thanks again! :)

    There will be some donating coming your way eventually... ;)
     
  18. Jul 20, 2013 #5458 of 10412
    ShayL

    ShayL Member

    211
    0
    Jul 17, 2007
    Dallas, TX
    You can use something like caffeine. Handbrake just put it that feature in the last release.
     
  19. Jul 23, 2013 #5459 of 10412
    IPbUnSJ5njOL

    IPbUnSJ5njOL New Member

    16
    0
    Feb 19, 2005
    This feature would be cool... ;)

    I don't really need to batch process solely at night since the only thing that's really intensive is the encoding. Everything else can be done whenever.

    So I thought, let me find a way to send the handbrakecli job directly to the Handbrake GUI so I can use it's queue to pause encoding when necessary.

    Then I thought, why not just see if there is some way to manually pause the process. Found this:

    http://osxdaily.com/2013/05/30/pause-resume-app-process-mac-os-x/

    Then I remembered I use atMonitor and it has it built in to be able to select a process from the list and pause it with a button.

    Tested it and it worked great...

    But THEN I thought, "Gee, wouldn't it be cool if KMTTG just had a pause button right there in its GUI to manually pause only the encoding... And perhaps some type of configuration to auto pause at certain times of day..."

    So I thought I'd mention it... ;)
     
  20. Jul 23, 2013 #5460 of 10412
    IPbUnSJ5njOL

    IPbUnSJ5njOL New Member

    16
    0
    Feb 19, 2005
    FYI, I realized that handbrakecli has arguments to let you trim the beginning and ending in the same command that does the encoding. SO EASY. :)
     

Share This Page