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. Dec 31, 2013 #6221 of 10412
    RBeatse

    RBeatse Member

    37
    0
    Jan 6, 2005
    Salt Lake...
    Well, I did as you asked and I got the same message but as soon as it put the error message out it started the program. So, I guess it is working?!? THANK YOU, either way!!

    c:\kmttg>"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -cp kmttg.jar com.tivo
    .kmttg.main.kmttg

    c:\kmttg>kmttg.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: C:\kmttg\kmttg/jar
    Caused by: java.lang.ClassNotFoundException: C:\kmttg\kmttg.jar
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: C:\kmttg\kmttg.jar. Program will exit.

    c:\kmttg>
     
  2. Dec 31, 2013 #6222 of 10412
    lpwcomp

    lpwcomp Active Member

    8,078
    2
    May 6, 2002
    John's...
    It looks to me like Java is not properly installed on your system.
     
  3. Dec 31, 2013 #6223 of 10412
    lpwcomp

    lpwcomp Active Member

    8,078
    2
    May 6, 2002
    John's...
    Once again, thanks for the quick response. After figuring out what my problem was (I needed to update the entire project, not just the src), I managed to build a working version and it works fine. I then re-applied my patch and it also works fine.

    Edit: The date thing does indeed appear to be a Win 8(.1?) "feature", wherein if you rename a file to an already existing file, it keeps the create date of the existing file.
     
  4. Dec 31, 2013 #6224 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    v1p0l version is now released with a few fixes & changes. YouTube App launch changed to html version instead of flash version.
    Consult release_notes Wiki page for details.
     
  5. Dec 31, 2013 #6225 of 10412
    rgr

    rgr Member

    582
    6
    Feb 21, 2003
    I've really only started using kmttg since installing a roamio - it would have been useful with my old series 3, but I didn't know about it since I never needed to look for the transfer functionality. Now that I've found it, it's my go-to remote for TiVo.

    Two questions:
    1) is there a kmttg app for android? It does so much more than the apps out there and seems small and portable enough to be able to be ported.

    2) kmttg can transfer more than other TiVo methods - can you expand it to allow for complete transfer of relevant files on a hard drive upgrade? I'm talking about wishlists, thumbs up/down, files created during guided setup, other personal settings?

    Thanks for the great app!!
     
  6. Dec 31, 2013 #6226 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Pretty much everything useful I know what to do with RPC operations is included in some form in kmttg. Probably about 80% of the RPC functions that I know of are not authorized to run with iOS/Android authentication level, so functionality we have is limited and is all based on reverse engineering.

    Best Android App I know of is arantius' TiVo Commander which is a better version than what TiVo offers. I have no interest in working on an Android version of anything and the TTG related tasks are not well suited to run on that kind of platform anyway.
     
  7. Jan 1, 2014 #6227 of 10412
    christheman

    christheman New Member

    166
    0
    Feb 20, 2013
    Hi and Happy New Year.

    I'll second that. I "qsfix" with VRD. Although it is not a dealbreaker either way I look at it, I'd rather be required to manually delete or rename any existing MPG, in lieu of accidentally overwriting the file which would necessitate a complete re-run somewhere else.
     
  8. Jan 1, 2014 #6228 of 10412
    lpwcomp

    lpwcomp Active Member

    8,078
    2
    May 6, 2002
    John's...
    I'm not complaining you understand since I think things are working the way I want them to now, and maybe I'm dense, but I fail to understand the logic here. If I have the "Overwrite existing files" option checked and I tell kmttg to begin the process with a specific file or TiVo recording, why would I want it to use existing files in lieu of the ones created by the process?
     
  9. Jan 1, 2014 #6229 of 10412
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,724
    8
    Apr 6, 2000
    SF Bay Area
    Suggestion:

    There should be a new option for Web show query so spaces can be removed.

    IE: Charlie's Angels

    Currently this will result in "Charlies+Angels" when a web site page would need "CharliesAngels"

    I currently use www.EpGuides.com for TV episode information and the above example would need the URL to be "www.epguides.com/CharliesAngels", (not cap case sensitive).
     
  10. Jan 1, 2014 #6230 of 10412
    christheman

    christheman New Member

    166
    0
    Feb 20, 2013
    It has been a while since I last looked, but I think that only applies to pre-existing .tivo files on the computer, as per Tivo-to-computer KMTTG transfer. If that gets interrupted then it will obviously need to be replaced with a whole file.

    The other possibility that I am understanding being an .mpg file (for many, this would be the QSF output). So theoretically if a movie is downloaded and QSF'd a second time by accident, then the QSF subroutine would detect an existing .mpg and not overwrite it, saving the user a bit of extra time. Or costing them, depending on how you look at it.

    I could be wrong about some of this since I run it with the "overwrite" checkbox deselected and the "delete decrypted .tivo file" selected, but it would seem to me that the same logic that applies to the .tivo file would also need to explicitly be defined by the programmer to apply to the .mpg file as well (if so desired).
     
  11. Jan 1, 2014 #6231 of 10412
    christheman

    christheman New Member

    166
    0
    Feb 20, 2013
    A simple checkbox near that on the config page should suffice. BTW, the idea for that "jump-to-IMDB" shortcut was one of my big contributions to society. :)
     
  12. Jan 1, 2014 #6232 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    The change I made only applies to the "decrypt" task. If you are running "qsfix" task the old logic of looking at .mpg file 1st still applies. This makes sense to me since purpose of decrypt task is to decrypt .TiVo file.
     
  13. Jan 1, 2014 #6233 of 10412
    lpwcomp

    lpwcomp Active Member

    8,078
    2
    May 6, 2002
    John's...
    The option is at the bottom of the "File Settings" screen and so presumably it refers to all files created during processing. And that's the way it did work until I switched to VideoRedo.

    Most of the time, the reason you are redoing everything is because there was a problem with the end result. If you know an interim file is good, start there and re-run from that point. In addition, anyone using tivodecode will have the .mpg file created by the decrypt step. If you're using VideoRedo, the .mpg was created by qsfix so whyy are you running it through qsfix again.

    AFAICT, that's the way it does work for the most part, unless you are using VideoRedo. It seems to me that to do otherwise assumes that the user made a mistake and wasn't trying to rerun the process starting at an earlier point and thus didn't really want to overwrite that file despite checking the "Overwrite existing files" box.
     
  14. Jan 1, 2014 #6234 of 10412
    lpwcomp

    lpwcomp Active Member

    8,078
    2
    May 6, 2002
    John's...
    I don't mean to be difficult, but it still makes no sense to me. As I noted in my prior post, if you're using VideoRedo, then the .mpg file was created by qsfix. If I'm using tivodecode and want to start with the decrypted .mpg, I would have selected that file rather than the .tivo file.
     
  15. Jan 2, 2014 #6235 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    As I said before, you're assuming TD is installed so that qsfix will work with .tivo file which may not be the case. In any case, I don't see the problem here. If you want to qsfix .tivo file simply start with it and choose "decrypt" task and it will do what you want.
     
  16. Jan 2, 2014 #6236 of 10412
    christheman

    christheman New Member

    166
    0
    Feb 20, 2013
    That would explain things a bit since I also use VideoRedo. I haven't used KMTTG without it for quite some time.

    I am often up late at night when I work on this, like right now. By the time I have some quiet time to myself, it is usually hours after I start the QSF transfers so I sometimes lose track.

     
  17. Jan 2, 2014 #6237 of 10412
    truegalbklyn

    truegalbklyn Member

    43
    0
    Aug 8, 2012
    Have they really done away completely with the option to pause a show and start downloading from the pause point? Why did they do that?
     
  18. Jan 2, 2014 #6238 of 10412
    lpwcomp

    lpwcomp Active Member

    8,078
    2
    May 6, 2002
    John's...
    To sell more TiVos?

    Actually, it may not have been deliberate. The probably just changed thw way something works and didn't care that this was one of the side effects.
     
  19. Jan 2, 2014 #6239 of 10412
    lpwcomp

    lpwcomp Active Member

    8,078
    2
    May 6, 2002
    John's...
    Actually, it doesn't. What I want to do is feed the .tivo file directly to VRD adscan/adcut-encode. To this end, I have metadata, Ad Detect, Ad Cut and Encode selected. Neither decrypt nor QS fix is selected. I also have the relevant VRD options selected. Unfortunately, kmttg looks for the .mpg file and uses it if it exists. If it doesn't exist, it forces a qsfix to create one.

    If you could just point me to the routine wherein it makes that decision, I am perfectly fine with adding to my local mods. I've already found the place in adscan.java to mod that I think will get me what I want.
     
  20. Jan 2, 2014 #6240 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Yes, that's the right file to modify. But FYI comskip usually gives better commercial detection results but of course cannot operate on .TiVo files.
     

Share This Page