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,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..
 
#5,027 ·
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..
Things to consider (in priority order):
1. Don't install kmttg in "Program Files" or "Program Files (x86)" folders in Windows.
2. Antivirus software may be causing problems.
3. If any part of the network between TiVo and your PC is wireless that could be suspect.
4. If currently using "curl" as transfer method switch over to "java downloads" in kmttg config->Program Options instead to see if it behaves any better.
 
#5,028 ·
1. Don't install kmttg in "Program Files" or "Program Files (x86)" folders in Windows.
Maybe this was discussed at some point but what's the reasoning for that? I use it primarily on Linux but I'm pretty sure that on my Win7 box I have it under Program Files and haven't noticed any problems with it.
 
#5,029 ·
Maybe this was discussed at some point but what's the reasoning for that? I use it primarily on Linux but I'm pretty sure that on my Win7 box I have it under Program Files and haven't noticed any problems with it.
Because starting with Vista Windows has locked down permissions tightly under those folders and it doesn't like programs writing there and many people use accounts without Administrator rights and so it causes all kinds of problems. With proper setup you can get it working, but it's just easier to install elsewhere and not deal with it.
 
#5,031 ·
Feature Request

I use the 'Wont Record' tab on a regular basis to check for season pass recordings that will need to be moved to a different tivo on the network. Run this task 2 or 3 times a week, select the items that will not record anywhere and have kmttg send the recordings to a different tivo.

It would be great if this could be automated. IE a task that could run say, once a day and automaticly try to record on the next tivo in a user defined priority list. And notify the user when all attempts have failed.

Thoughts?
 
#5,032 ·
Feature Request

I use the 'Wont Record' tab on a regular basis to check for season pass recordings that will need to be moved to a different tivo on the network. Run this task 2 or 3 times a week, select the items that will not record anywhere and have kmttg send the recordings to a different tivo.

It would be great if this could be automated. IE a task that could run say, once a day and automaticly try to record on the next tivo in a user defined priority list. And notify the user when all attempts have failed.

Thoughts?
I've thought about it and even started coding some logic for automatically resolving conflicts but quickly got bogged down on many issues. This kind of thing is a lot more easily solved by a human.

Note that since I added conflicts and upcoming recording indicators to "Season Passes" table I never find the need to use "Won't Record" tab anymore. It's much quicker and easier just to look at SP table for entries with pinkish background color towards the bottom of the list indicating conflicts, then using the "Conflicts" button to check on them to see if they will record on another TiVo else take action.
 
#5,033 ·
For me, using the season pass screen takes many more steps. Needing to click each pink line, check each for conficts and then fix if needed. And the SP page is many pages long.

The Wont record tab, program source conflict folder brings them all together and all can be resolved at once by selecting all items that are not resolved and telling kmttg to record them on another tivo. All done. Just seemed so simple and repetitive that programming could handle it. Guess not, or perhaps you were trying to resolve far more than I was suggesting.
 
#5,034 ·
The Wont record tab, program source conflict folder brings them all together and all can be resolved at once by selecting all items that are not resolved and telling kmttg to record them on another tivo. All done. Just seemed so simple and repetitive that programming could handle it. Guess not, or perhaps you were trying to resolve far more than I was suggesting.
I forgot that back in version v0p9k I added "Try scheduling on all TiVos" option to the Record button, so the code behind that could probably be leveraged for attempting to schedule shows currently in conflict (albeit with no real control over the TiVo order scheduling is attempted). Still not sure of a good way to fit it into kmttg. Perhaps a new batch mode run of kmttg that you can then setup a scheduler to run it periodically or would having a menu entry in the GUI be sufficient? Then there's also the question of what to do when conflicts can't be resolved.
 
#5,035 ·
I just figured it would run in loop mode like the auto transfers. Once a day would be fine by me but others may want a setting.

I have kmttg running full time on the same machine running pytivo, jukebox, vidmgr, videoredo, VAP and a download engine for usenet. Since none of that is very processor intensive, it all runs fine on an old laptop connected to my network. Used for network and NAS maintainance as well.

I suppose a background task might work better for some but not what I had in mind.

Never quite understood the use and effect of the 'try on all tivos'
 
#5,036 ·
Never quite understood the use and effect of the 'try on all tivos'
It will try scheduling on the currently selected TiVo and if that fails will move on down the list of all RPC enabled TiVos attempting to schedule on each until successful. i.e. Rather than trying to collect all the information from each TiVo and figure out an empty slot it's just a brute force try on multiple units until successful.
 
#5,037 ·
It will try scheduling on the currently selected TiVo and if that fails will move on down the list of all RPC enabled TiVos attempting to schedule on each until successful. i.e. Rather than trying to collect all the information from each TiVo and figure out an empty slot it's just a brute force try on multiple units until successful.
Gee, so simple. No wonder I had trouble with it. Thanks for the explaination. Hope you figure a way to do some basic automation though. Even basic integration of SPs across Tivo units is something really needed and not even planned by Tivo that I can tell.
 
#5,038 ·
I am using the Tivo Desktop software to convert my Tivo mpegs to standard mpegs, however Sony Vegas 11 pro loses the video and/or audio on many of the files I then try to read into it.

I know about kttg, pytivo but find that the PC desktop 2.8x that I paid good money for shoud have striped out the MAK drm and left a readable Mpeg file!

IS there a simple fix to this issues, I simply want to accumulate my week of colbert to dvd to watch on weekends when i have time!.

We are talking about SONY tivo to SONY desktop to SONY vaio to SONY vegas to SONY DVD+R's on a SONY dvd burner or my SONY blu-ray burner... For god sake you don't get more LOYAL then that! you would think they would have the decency to work with themselve, the only thing that is not SONY is the TV that the tivo plays on (thats a Samsung)

Duf
 
#5,039 ·
I am using the Tivo Desktop software to convert my Tivo mpegs to standard mpegs, however Sony Vegas 11 pro loses the video and/or audio on many of the files I then try to read into it.

I know about kttg, pytivo but find that the PC desktop 2.8x that I paid good money for shoud have striped out the MAK drm and left a readable Mpeg file!

IS there a simple fix to this issues, I simply want to accumulate my week of colbert to dvd to watch on weekends when i have time!.

We are talking about SONY tivo to SONY desktop to SONY vaio to SONY vegas to SONY DVD+R's on a SONY dvd burner or my SONY blu-ray burner... For god sake you don't get more LOYAL then that! you would think they would have the decency to work with themselve, the only thing that is not SONY is the TV that the tivo plays on (thats a Samsung)

Duf
To remove Tivo DRM, use TivoDecode, its free.
 
#5,041 ·
The desktop pc software removes the DRM it loading the MPG file into vegas where I lose video or audio or sync or just get an error message telling me it can't be done!

Any software step to get this into vegas, or even just dvd architect!
Tivo Desktop does not remove its DRM, instead, it adds codecs and stuff so that computer has the ability to decode and play .TiVo files.

If you were to completely uninstall Tivo Desktop, you lose the ability to play the same .TiVo files.

If you were to take the same files to another computer without Tivo Desktop installed on it, it cannot play on there. Hence, the use of programs such as TivoDecode which removes said DRM and converts to a standardized .MPG which will play on another computer.
You can then use any DVD Authoring program to make DVDs in the standard style with .VOB which will play on any standard DVD player, but just writing .MPG files to DVD will only be able to play on those players with .MPG playback functions.
 
Top