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. Sep 16, 2012 #4301 of 10412
    lrhorer

    lrhorer New Member

    6,922
    0
    Aug 31, 2003
    San...
    Again, the results depend on how the channel does its commercial insertions and how consistently they do them. Depending on the exact nature of the commercial insertions, it might be possible to tweak the cut paramaters to make this usually work as you want, at least for a given series on a given channel, and perhaps for all series on that channel. It is not unusual for similar results to be found on more than one channel, either, but OTOH it is also not unusual to encounter rather different results on different channels.

    I don't have enough experience with this to form a useful opinion. I would not be surprised for it to be the case.

    It has been my general experience that different episodes of a single series airing at the same time on the same channel are pretty consistent, but by no means perfectly so.
     
  2. Sep 16, 2012 #4302 of 10412
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    Addressing a question posed in the Sourceforge pyTivo forum.

    You need to download and configure kmttg to use the radian build of ffmpeg. Whether this will cause other problems, I do not know.
     
  3. Sep 21, 2012 #4303 of 10412
    Sam Ray

    Sam Ray New Member

    26
    0
    Jul 29, 2012
    Los Angeles, CA
    I downloaded kmttg today. At first it did not work; nothing happened.

    When Java 7 was installed it did not remove Java 6. When I execute kmttg using Java 7 javaw explicitly nothing happens. When I execute the exact same thing using Java 6 it works. So I do not know if it is a problem with the way Java is installed, in which case it is not a kmttg problem, or if there is a compatibility problem. So if someone is unable to use kmttg then this might at least help to isolate the problem.

    I am using Windows 7. The Java updates were installed from the Java site with no customizations (that I can remember).

    The command I am usng to execute kmttg using javaw explicitly is:

    "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -jar "C:\Software\kmttg\kmttg.jar"

    That uses Java 6 and works. If I change jre6 to jre7 (just the 6 to a 7) then nothing happens.
     
  4. Sep 21, 2012 #4304 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Just installed latest JRE 7 on a Win XP machine and was able to run kmttg without issue:
    Code:
    C:\home\kmttg>java -version
    java version "1.7.0_07"
    Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
    Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
    java -jar kmttg.jar
    
    Run java -jar kmttg.jar from command line (using jre7 version and using java instead of javaw) and see what error messages are generated in the console that may provide some clues. i.e. I think in your case:
    "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar "C:\Software\kmttg\kmttg.jar"
     
  5. Sep 21, 2012 #4305 of 10412
    Sam Ray

    Sam Ray New Member

    26
    0
    Jul 29, 2012
    Los Angeles, CA
    I got:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object​
     
  6. Sep 21, 2012 #4306 of 10412
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,724
    8
    Apr 6, 2000
    SF Bay Area
    What happens if you just open kmttg.jar by either double-click or right-click then open?
    That's how I run KMTTG.jar.
     
  7. Sep 21, 2012 #4307 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Sounds like a Java installation issue to me. Can you run any jar file with that Java installation? For example download this very simple hello.jar and try running it instead of kmttg.jar to see what happens. It should just print "Hello World!" to console:
    http://kmttg.googlecode.com/files/hello.jar
     
  8. Sep 21, 2012 #4308 of 10412
    Sam Ray

    Sam Ray New Member

    26
    0
    Jul 29, 2012
    Los Angeles, CA
    I am sorry, I was not clear. The simple answer to your question is that nothing happens. I assume because the jar file is associated with version 7 of Java. So that is what prompted me to use Java explicitly. When I open the Jar file in the manner you describe (except I have single-click turned on; if you don't know what that is then ignore it) then the same thing happens (at least symptom-wise) as if I execute explicitly using Java 7; nothing happens.
     
  9. Sep 21, 2012 #4309 of 10412
    Sam Ray

    Sam Ray New Member

    26
    0
    Jul 29, 2012
    Los Angeles, CA
    I get the same error if I use java (not javaw) and Java 7 but I get "Hello world!" with Java 6. So it does seem to be a Java problem.
     
  10. Sep 21, 2012 #4310 of 10412
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,724
    8
    Apr 6, 2000
    SF Bay Area
    Ironically, I ran hello.jar and I have nothing show up (except javaw.exe peeked in the task manager for less than a second), but KMTTG always worked for me.
     
  11. Sep 21, 2012 #4311 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    That's expected. You have to run "java -jar hello.jar" in a cmd (console) window to see the output since it just prints a message to stdout and exits, so running from GUI will do as you described.
     
  12. Sep 21, 2012 #4312 of 10412
    mattack

    mattack Active Member

    20,734
    4
    Apr 9, 2001
    sunnyvale
    Did you ever get back to this?
     
  13. Sep 22, 2012 #4313 of 10412
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    Sorry, no. I failed to take something into account - how big a bite out of my day that the course of treatment I began September 5 would take.
     
  14. Sep 22, 2012 #4314 of 10412
    L David Matheny

    L David Matheny Active Member

    1,588
    1
    Jan 29, 2011
    SE Ohio
    I hope the course of treatment goes well. I'm sure we all do.
     
  15. Sep 22, 2012 #4315 of 10412
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    So far, so good. At least I don't glow in the dark. Yet. :)
     
  16. Sep 23, 2012 #4316 of 10412
    janry

    janry New Member

    17,688
    0
    Jan 2, 2003
    Nashville, TN
    Sorry if this has been asked before but I can't find what I'm looking for. I have the latest version of kmttg installed. I have a desktop shortcut and kmttg launches fine from it and everything seems to run fine.

    I'm trying to schedule kmttg to run in Windows 7's "Task Scheduler" with the "-b" option without services running to do a daily transfer of selected programs. When I try to run the task which launches the same shortcut, I get the following error message: "Could not find the main class: C:\kmttg\kmttg.jar. Program will exit."

    Thoughts? Can kmttg be launched from Task Scheduler?
     
  17. Sep 23, 2012 #4317 of 10412
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    What you really want to do is run the kmttg service. Look under Auto Transfers->Service.
     
  18. Sep 23, 2012 #4318 of 10412
    janry

    janry New Member

    17,688
    0
    Jan 2, 2003
    Nashville, TN
    As I understand the service is it transfers at intervals. I want my transfers to always occur at 1:00 AM. Also, I don't believe the service will wake the computer.
     
  19. Sep 23, 2012 #4319 of 10412
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    OK. Not gonna ask why. I don't know much about Win7 (I'm still running Win2K cause I can't afford to upgrade), but have you got the task set to "Run as administrator"?
     
  20. Sep 23, 2012 #4320 of 10412
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Just tried and it works. My guess is you are setting kmttg.jar as the Program/script which won't work. You need to set it up as:
    Program/script = full path to javaw.exe
    Arguments = -jar "full path to kmttg.jar" -b
    Example:
    Program = "C:\Program Files (x86)\Java\jre6\bin\javaw.exe"
    Arguments = -jar "C:\home\kmttg java testing\kmttg.jar" -b

    For testing purposes you may want to leave off the -b just to see if kmttg GUI pops up as expected, and one you have that working add the -b back in.
     

Share This Page