TiVo Community Forum banner
  • TiVoCommunity.com Ambassador Program Now Open! >>> Click Here

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

2M views 13K replies 921 participants last post by  mattack 
#1 ·
EDIT: This program has evolved a lot since this 1st post and now is written in Java and much easier to install than before (very easy on Windows and Mac OSX)... See http://sourceforge.net/projects/kmttg/ for details or visit the end of this thread for more up to date information.

kmttg is a Perl/Tk program I wrote to facilitate TivoToGo (TTG) transfers that can download, create pyTivo metadata, decrypt, run comskip & comcut (commercial detection and removal) and re-encode multiple shows you select from your Tivos all in 1 step.
You can select one or more shows at a time and then with one click of a button the program will download all the selected items, with the options of also automatically creating a metadata file for pyTivo, decrypting .TiVo files to .mpg, running comskip (commercial detection and removal program), and automatically re-encoding to a more portable format using mencoder, ffmpeg or any other command line encoder of your choosing. The program queues up multiple jobs and displays time, size and speed statistics for ongoing jobs.

For more information, screenshots and download visit:
http://sourceforge.net/projects/kmttg

Web page contains windows executables for all 3rd party tools used. The only other requirement of course is you must have Perl installed. Runs under Windows or Linux - tested with WinXP SP2 & Linux Red Hat Enterprise 4.

If you do try this out would appreciate some comments/feedback. For any programmers out there feel free to tinker and make improvements yourself.
 
See less See more
#5,002 ·
Why does kmttg_win32_tools_v0p9o.zip includes tivodecode 0.3pre4, instead of the newer (and less buggy) tivodecode 0.4.2?
Haven't heard of newer versions. AFAIK the most up to date source code was what I have under kmttg downloads and it still has some issues with TS TiVo decrypt. The official sourceforge patches area doesn't have anything later either:
http://sourceforge.net/tracker/?group_id=183716&atid=906362
Perhaps there's another fork elsewhere I'm not aware of?
(I use VideoRedo for TS TiVo decrypt myself).
 
#5,003 ·
Haven't heard of newer versions. AFAIK the most up to date source code was what I have under kmttg downloads and it still has some issues with TS TiVo decrypt. The official sourceforge patches area doesn't have anything later either:
http://sourceforge.net/tracker/?group_id=183716&atid=906362
Perhaps there's another fork elsewhere I'm not aware of?
(I use VideoRedo for TS TiVo decrypt myself).
It's actually available for download on your kmttg site, though it's in the depreciated area for some reason, despite being newer (date wise)

http://code.google.com/p/kmttg/downloads/detail?name=tivodecode_0.4.2_win32.zip

It isn't natively compiled though as it requires cygwin1.dll so maybe that's why. I have no idea where it came from.
 
#5,004 ·
It's actually available for download on your kmttg site, though it's in the depreciated area for some reason, despite being newer (date wise)

http://code.google.com/p/kmttg/downloads/detail?name=tivodecode_0.4.2_win32.zip

It isn't natively compiled though as it requires cygwin1.dll so maybe that's why. I have no idea where it came from.
That one actually had other issues from what I recall which is why it got pulled. The 0.3.4 that is not deprecated was the latest "stable" release. I was working with person that added TS support initially and he got close to getting TS decode working properly but I still have several samples that fail and never got resolved and the person no longer had time to deal with them. Bottom line is for TS TiVo decrypt the only reliable way is to use VideoRedo (there's an option in kmttg to use VRD instead of tivodecode for decrypt) and the 0.3.4 version of tivodecode is the most stable version that I know of.
 
#5,005 ·
I guess I'll delete it tomorrow and do a fresh install. Must be residual from the old. All I do to upgrade is put the .zip file in the folder then extract with WinRAR and let it copy over any existing files. Too bad there isn't an upgrader like on Linux (git pull).
No luck, 57 shows highlighted and it still only queue's 2 for download even with a fresh install. I did keep my config file so I guess the next thing to try is creating a new one of those but this is really weird. I wish I could try one of the older versions but since they have the cookie problem I can't try them.

Wait, new development, I can queue more then 2 shows from my premier so the problem has to be in my TivoHD and not in this application. Hopefully a good reboot tonight will fix that.
 
#5,006 ·
The latest version of tivodecode I've received from Mr. Anonymous Hacker is the one he calls 0.4.4. I have some issues with it, but it's probably better than the others available. I guess I can post it to SourceForge?

In thinking about how to handle this in pyTivo, I've been vaguely planning to have separate "tivodecode" and "tivodecodets" settings, to allow for keeping the stable version for program streams. (We need an old package anyway for tdcat, which A.H. discarded in his version. (Yes, that's one of the issues.))
 
#5,008 ·
Wait, new development, I can queue more then 2 shows from my premier so the problem has to be in my TivoHD and not in this application. Hopefully a good reboot tonight will fix that.
I think I know what your issue is. If you have a folder selected among the group of selected rows in the table then it messes things up. I'll have to look at fixing that but if you just turn off folders and then select all the shows you want to queue then it works as expected.
 
#5,009 ·
Installed about a week ago and running flawlessly thanks to alot of help from moyekj . I was wondering about the Disk Size that is indicated. I have a 2TB unit and a 1TB unit . kmttg shows total size of 1742GB and 821 gb respectively, if I recall correctly tivo playlist used somewhat larger numbers, the ones calculated (?) by kmttg seem somewhat low and results in indications of zero available disk space when I think there should be some available. Do these sizes seem correct and if not what should they be and can the size reported by the program be modified ?.

As Always thanks for your help .
 
#5,010 ·
Installed about a week ago and running flawlessly thanks to alot of help from moyekj . I was wondering about the Disk Size that is indicated. I have a 2TB unit and a 1TB unit . kmttg shows total size of 1742GB and 821 gb respectively, if I recall correctly tivo playlist used somewhat larger numbers, the ones calculated (?) by kmttg seem somewhat low and results in indications of zero available disk space when I think there should be some available. Do these sizes seem correct and if not what should they be and can the size reported by the program be modified ?.
You have to tell kmttg once per TiVo what the total disk space is, otherwise it just sums up total space used by shows. The tooltip tells you what to do under "Total Disk Space (GB)" field - enter the total space in GB and then press Enter to save it. For a 2TB unit the exact number in GB is 1827. For 1TB the number is ~ 915.
 
#5,012 ·
You have to tell kmttg once per TiVo what the total disk space is, otherwise it just sums up total space used by shows. The tooltip tells you what to do under "Total Disk Space (GB)" field - enter the total space in GB and then press Enter to save it. For a 2TB unit the exact number in GB is 1827. For 1TB the number is ~ 915.
I'll mention that the current software (20.2.2.1) significantly over-reports the used space for some recordings (SD and 720p), so it's possible to "exceed" the total disk space.
 
#5,013 ·
I have the latest version of Kmttg installed. On certain programs it has 4 files in my folder. The names of them are as follows. It has a edl file 1 kb in size, a vprj file size 2 kb, a text document 1 kb in size and the main program file.
This only does on certain files. Why does does it do this?
 
#5,015 ·
I have the latest version of Kmttg installed. On certain programs it has 4 files in my folder. The names of them are as follows. It has a edl file 1 kb in size, a vprj file size 2 kb, a text document 1 kb in size and the main program file.
This only does on certain files. Why does does it do this?
Sounds like cases where "Ad Detect" using comskip and/or the subsequent "Ad Cut" jobs may have failed or were interrupted.
 
#5,016 ·
A couple of days ago when I checked the kmttg down load folder it had this kmttg_win32_tools_v0p9o.zip at 27.8MBs and it had the v0p9o .zip at 1.8MB. Which one should be installed first the tool kit then the program or the other way around or does it matter which way.
Probably easiest way to upgrade everything is:
1. Install kmttg_v0p9o.zip the usual way (as documented)
2. Remove the "tivodecode" folder wherever you installed step 1 if there is one there already.
3. When you start kmttg it will then automatically download the new tools and install them.
 
#5,020 ·
Would like to start using kmttg auto transfers for backing up shows from my tivo. What's the preferred method for viewing these recordings, using my tivo, after they've been processed by kmttg and sitting on a remote drive? Pytivo? Streambaby? Does kmttg do this itself? At the moment I'm not planning to convert them out of the native tivo format, other than decoding.

Another quick question - I want to use the KUID (keep until I delete) feature to tell kmttg what it should transfer. Once it's done, does it delete the original from my tivo, or do I do that manually? thanks all
 
#5,021 ·
You delete it from your Tivo after downloading.

The Mac version of pyTivo has StreamBaby built in. The Tivos only have less than 1 gig of temp storage for streams, so if you're watching HD recordings, you'll probably hit that quickly. Even on SD recordings, I hit the limit at around 45 minutes of show.. so you have to go past that point and have it rebuffer.. It's useful sometimes…. but if I intend to WATCH the show (rather than skim through it which I do for some shows to find the part I want to keep, which is easier on the Tivo oftentimes), I will use pytivo and copy the recording via the Tivo's UI.
 
#5,023 ·
Is this related to the recent cookie stuff and/or am I the new guy receiving it today.
Earlier today everything kmttg worked fine now when I do NPL on my premiere I get

RPC error response: invalid credential
rpc Auth error - null

Every time. Worked fine this morning.....(versionO)
No, that's the "remote NPL" job trying to get information from the TiVo failing - so if you try and use the kmttg remote it is failing for some reason. If it keeps doing that try rebooting your premiere.
 
#5,024 ·
No, that's the "remote NPL" job trying to get information from the TiVo failing - so if you try and use the kmttg remote it is failing for some reason. If it keeps doing that try rebooting your premiere.
Will do it, but what is weird is the remote functions work, just that error when refreshing replay guide. i restarted kmttg and it went away for a bit but then came back (then I went out so will try the reboot and report back
 
#5,026 ·
Installed recently and very happy with kmttg, starting yesterday every time I attempt to transfer it seems that the transfers slow to a crawl and evertually fail unfinished. Usually seems to transfer at 10.0 to 20.0 MBs now they seem to drop down to 0.4 or 0.9. Have reset both tivos no change nothing substantial going on in background on PC. If past history is any guide I have either missed something super obvious or already well documented but I'm stuck for the moment..
 
Top