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. Jan 14, 2012 #3761 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    This has come up multiple times in this thread. tivodecode cannot properly decrypt .TiVo files in mpeg2 Transport Stream format (AKA TS or Fast Downloads). If using tivodecode to decrypt you have to download .TiVo files in traditional mpeg2 Program Stream format and then it works fine.
     
  2. Jan 14, 2012 #3762 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Under kmttg config-Program Options what do you have "active job limit" setting at? kmttg will only perform that many "active" tasks in parallel at once. If you increase that number sufficiently it should run the remux jobs while other active tasks are still running.
     
  3. Jan 14, 2012 #3763 of 10413
    MrPaulAR

    MrPaulAR New Member

    14
    0
    Jan 2, 2002
    I've been using KMTTG for quite some time and just a few weeks ago it started timing out when fetching the nowshoing information. Times out with both curl & java downloader after 2 minutes. It always says for me to check the MAK.

    Code:
    >> Getting Now Playing List from TivoHD ...
    curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\PAULTH~1\AppData\Local\Temp\cookie9203503626968516704.tmp --url https://10.1.1.2/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\PAULTH~1\AppData\Local\Temp\NPL554425163991960278.tmp 
    Failed to retrieve Now Playing List from TivoHD
    Exit code: 52
    Check YOUR MAK & IP settings
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0    31    0    31    0     0    146      0 --:--:-- --:--:-- --:--:--   146
      0    31    0    31    0     0    145      0 --:--:-- --:--:-- --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:12 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:13 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:14 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:15 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:16 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:17 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:18 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:19 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:20 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:21 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:22 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:23 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:24 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:25 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:26 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:27 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:28 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:29 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:30 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:31 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:32 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:33 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:34 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:35 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:36 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:37 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:38 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:39 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:40 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:41 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:42 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:43 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:44 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:45 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:46 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:47 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:48 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:49 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:50 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:51 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:52 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:53 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:54 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:55 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:56 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:57 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:58 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:00:59 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:00 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:01 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:02 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:03 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:04 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:05 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:06 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:07 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:08 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:09 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:10 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:11 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:12 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:13 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:14 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:15 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:16 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:17 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:18 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:19 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:20 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:21 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:22 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:23 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:24 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:25 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:26 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:27 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:28 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:29 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:30 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:31 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:32 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:33 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:34 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:35 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:36 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:37 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:38 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:39 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:40 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:41 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:42 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:43 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:44 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:45 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:46 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:47 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:48 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:49 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:50 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:51 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:52 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:53 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:54 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:55 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:56 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:57 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:58 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:01:59 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:02:00 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:02:01 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:02:02 --:--:--     0
      0    31    0     0    0     0      0      0 --:--:--  0:02:02 --:--:--     0
    curl: (52) Empty reply from server

    I've tested the server by opeing a new session in my browser and copy pasting the MAK in the auth box and it works fine. I've upgraded kmttg to the lastes release and no change. Suggestions?
     
  4. Jan 14, 2012 #3764 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    Have you rebooted the TiVo? That usually fixes such problems.
     
  5. Jan 14, 2012 #3765 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    I use and have used galleon in the past too, but i dont really get why you are making such a big deal about watching folders but have a solution for you if needed, but here is my suggestion instead, use kmttg to transfer the files and process them, it takes away the folder monitoring that isnt needed unless for some reason you developed galleon and have custom coding that you have to run.

    Essentially you want to take shows of the tivo and process them, that is what kmttg does, there is no need to use galleon for that task. I see no additional advantage in trasferring the shows using galleon and then monitoringto folder for the file to be transferred to finish and then process it, vs a program that is designed and works well to do just that.(kmttg) As you know, to transfer more than one file via galleon take an awful lot more button clicks and such than to do it via kmttg anyway. And if you are doing multiple files, why not save the effort and just click them in kmttg, if you are only doing one file every so often, than why the big push to automatically scan folders and such. I by nature am lazy, so doing the least amount of work to accomplish a goal is what makes sense to me. If you want to process several files, you have much less effort and more control with kmttg. If you are only doing one file once in a blue moon, then just do it manually.

    But if for some reason you like to do extra work, you could use galleon to drop the files into a folder and then use the videoredo processing which includes a folder monitor to decrypt the files and other processing as needed. Or there are several other utils out there to folder monitor and scan and then you can run command line decrypt and other commands(tivodecode and such) using those utilities. But i fail to see why or what advantage that is when you have a java program that already does exactly the same thing and is customizable to run almost anything as a custom command or script on the file as part of the processing. If you explain what extra you need, we might be able to help you, though as you probably know, complaining about how things suck and such is not likely to get too many people to help you with anything, especially when you are complaining about things that are well known workarounds and such in the same thread you are asking questions about.
     
  6. Jan 14, 2012 #3766 of 10413
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    If you dont have enough processing power or whatever, another workaround is to select a few files and qsfix them, then select them to remux right away (why are you demuxing and remuxing anyway?) so select star wars to qsfix without any further processing, hit start, select it to remux, hit start, select star wars 2 to qsfix, hit start, then select it to remux, hit start, etc. It is double the work but since kmttg currently only processes inline and you cant manually start just one process in the queue out of order, you can pla e them in tbe queue in order.

    If some sunny day, moyek decides to allow use to either reorder the queue or manually process line items or whatever, then you could say right click on the remux process and have it run right after qsfix.
     
  7. Jan 14, 2012 #3767 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Boy are you gonna get it!:eek: Worse than I did. He wants to initiate the process from the TiVo rather than the computer. He can already initiate the transfer that way, he just wants the computer to automatically decode the transferred files.

    What he needs to do at this point is to configure Galleon so that the transfer is done in PS mode rather than TS.
     
  8. Jan 15, 2012 #3768 of 10413
    wdoerf

    wdoerf New Member

    10
    0
    Jan 13, 2012
    I'ts not a matter of extra work. I'm actually trying to make it simple so my wife will do this.

    I want to do everything (moving shows off, transferring them back) using the Tivo remote. I don't want to sit at a computer to do it. This I already have working (via Galleon).

    What I need is to automatically decode those transferred show files when they arrive at the server so I can play them on my Roku as well. Then my wife can also watch 'TV' on the television that isn't connected to the local Cable Co.

    My issue is that so far nothing has been able to do that last part. I'm almost ready to drop a couple hundred $$ on an older model Mac Mini to run Plex Media Server on it for the Roku. Plex has a Tivo plugin, but that plugin only runs on Mac (not Windows or Linux).
     
  9. Jan 15, 2012 #3769 of 10413
    wdoerf

    wdoerf New Member

    10
    0
    Jan 13, 2012
    Any hints on how to do that?
     
  10. Jan 15, 2012 #3770 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Nope. Sorry. Never used Galleon.
     
  11. Jan 15, 2012 #3771 of 10413
    lillevig

    lillevig Hot in West Texas

    1,769
    0
    Dec 6, 2010
    San Angelo, TX
    Ok, just showing my ignorance here. I installed kmttg and downloaded a movie from my Tivo using the ff_h264_high_rate format and it created a .Tivo file just like what I got from Tivo Desktop. What am I missing to get it into some sort of standard mpeg file format so it will play on an external media player like WD TV Live or even directly on my TV (via USB flash drive) which likes mpeg files?
     
  12. Jan 15, 2012 #3772 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    Use Decode instead of Encode on KMTTG.
     
  13. Jan 15, 2012 #3773 of 10413
    lillevig

    lillevig Hot in West Texas

    1,769
    0
    Dec 6, 2010
    San Angelo, TX
    Just to be clear, I didn't click on "encode" prior to the download but, in any case, it looks like I need to click the "decrypt" box before starting the job. I assume that's what you meant by "decode".
     
  14. Jan 15, 2012 #3774 of 10413
    lillevig

    lillevig Hot in West Texas

    1,769
    0
    Dec 6, 2010
    San Angelo, TX
    I started the job but it looks like it is downloading the .Tivo file and has the decrypt job queued up. So it looks like I will end up with both types of files upon completion. True?
     
  15. Jan 15, 2012 #3775 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    Yes, but there is a setting to delete the .tivo file after the decrypt automatically.
     
  16. Jan 15, 2012 #3776 of 10413
    lillevig

    lillevig Hot in West Texas

    1,769
    0
    Dec 6, 2010
    San Angelo, TX
    Thanks for your help.
     
  17. Jan 15, 2012 #3777 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    The steps you need to perform are decrypt and encode. The decrypt will produce an mpg and the encode will create the h264 file. There is a configuration option for each step to delete the source file for that step upon completion. You can also specify a destination directory for each step.

    The settings are under File->Configure->File Settings
     
  18. Jan 16, 2012 #3778 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,736
    8
    Apr 6, 2000
    SF Bay Area
    I was playing around with v0p8o and discovered that after selecting multiple jobs with metadata/download, etc. Kmttg would do all the metadata jobs first.

    Is that something new?
     
  19. Jan 16, 2012 #3779 of 10413
    moyekj

    moyekj Well-Known Member

    11,148
    33
    Jan 23, 2006
    Mission...
    One of main changes in v0p8o was applying configured delay to all download tasks (including metadata) to ensure TiVo web server doesn't get into "server busy" state, so it could affect the timing such that metadata tasks all run first.
     
  20. Jan 17, 2012 #3780 of 10413
    MrPaulAR

    MrPaulAR New Member

    14
    0
    Jan 2, 2002
    Yes, I've rebooted twice since I started troubleshooting. I also removed just about every show & suggestion except the few I wanted to transfer. Still no luck.
     

Share This Page