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. Feb 18, 2014 #6501 of 10413
    dvdvids

    dvdvids New Member

    42
    0
    Feb 8, 2008
    got it.. thanks!
     
  2. Feb 19, 2014 #6502 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Kevin,
    For quite some time now, I noticed that KMTTG leaves TONS of NPL-blah-blah-blah.tmp and cookie-blah-blah-blah.tmp files in the KMTTG directory. I clean them up from time to time, but every day they're back. Thousands of them.

    What are these for? Is there any way to avoid these, or put them in an actual Windows temp directory?
     
  3. Feb 19, 2014 #6503 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    They should all go to Windows %TEMP% dir and should mostly get deleted. Example:
    "C:\home\kmttg java testing\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie sid=abc --cookie-jar C:\Users\Kevin\AppData\Local\Temp\cookie6702686982288296991.tmp ......

    If you open a "cmd" window and type the following it will show you where %TEMP% dir is:
    set TEMP

    If you are using auto transfers and didn't configure the kmttg service to run using your account instead of the system default that could be the problem.

    Additionally the files are created using Java File.createTempFile and even kmttg attempts to delete them when no longer in use, but even when that fails, once you exit kmttg they should also be deleted by Java unless you have crashes or other abnormal events.
     
  4. Feb 20, 2014 #6504 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Ah ha! That's what it was. I think it's better now!
     
  5. Feb 20, 2014 #6505 of 10413
    plamumba

    plamumba New Member

    38
    0
    Mar 19, 2005
    I apologize if this has already been asked, but I did not find any discussion using the (unimpressive) search function at this site.

    What exactly is the "Season Premieres" tab in kmttg? Is it truly for season premiers as it says, or will it search for new shows (air date on or after today's date) regardless of whether the season itself is premiering? Or maybe I should ask if there is a way to search for programs with a first aired date on or after today's date. The tivo guide will have a "new" by such programs from what I can tell. Thanks for any help.
     
  6. Feb 20, 2014 #6506 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Season Premieres looks for any not previously aired epsiodic show airing 1st episode of any season. i.e. The idea is to find season premieres of new shows or season premieres of existing shows airing in next 12 days for a set of channels that you configure to look at. My guess is others probably don't use it much since it's a little complex to setup in a useful way, but it's one of my most used Remote functions and how I find and schedule any/all new shows.
     
  7. Feb 21, 2014 #6507 of 10413
    christheman

    christheman New Member

    166
    0
    Feb 20, 2013
    To moyekj, thanks again for all the updates.

    I have one quick question. On the Custom Commands, I have a small command line program which I would like to try to get KMTTG to run, after it is done running VideoRedo QSF. I am interested in having a command line that does this:
    Code:
    c:\mysmallprogram input.ts output.ts
    and in KMTTG it might look like this
    Code:
    "c:\mysmallprogram" [mpegFile] [mpegFile]suffix
    The command prompt "input.ts" file argument is simply replaced with a 1st instance of KMTTG syntax "[mpegFile]".

    The "output.ts" file would obviously need to have a slightly different name since it will go into the same Windows directory. I would be okay with just appending a suffix to a 2nd instance of "[mpegFile]", so that it reads something like "[mpegFile]suffix".

    What would be the correct syntax for me to do that in KMTTG, and would the [mpegFile] argument cover ".ts" files?

    Thanks
    Chris
     
  8. Feb 21, 2014 #6508 of 10413
    mglutz

    mglutz New Member

    33
    0
    Jan 13, 2011
    I find it very useful and it's one of the features I too use most often. Thank you for the effort to keep updates coming.
     
  9. Feb 21, 2014 #6509 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    @christheman, best way is to make "mysmallprogram" a script where you can define the name of the output file yourself and then setup kmttg custom command to use that script with just input file given as an argument. If "mysmallprogram" is not a script of some sort you can still make it a script and call your original intended command within the script.
     
  10. Feb 21, 2014 #6510 of 10413
    christheman

    christheman New Member

    166
    0
    Feb 20, 2013
    Yeah, that sounds easy enough. I can just make a script to support that.

    Chris
     
  11. Feb 21, 2014 #6511 of 10413
    plamumba

    plamumba New Member

    38
    0
    Mar 19, 2005
    Ok, thanks. I'll have to ponder whether I might find that useful. Thanks for all your work and time.

     
  12. Feb 21, 2014 #6512 of 10413
    christheman

    christheman New Member

    166
    0
    Feb 20, 2013
    @moyekj I went ahead and just wrote a CMD "batch" file. I like how KMTTG waits and confirms my batch script's exit codes before it moves on to each next file. Perfect! From that I am able to chain together an entire sequence of post-events for each TS file I QSF, more than I had expected to do at this point.

    Thanks again!
    Chris
     
  13. Feb 21, 2014 #6513 of 10413
    Joe Siegler

    Joe Siegler New Member

    780
    0
    May 10, 2000
    Garland, TX
    Can kmttg be used to force a service call on a connected TiVo box? If so, how?
     
  14. Feb 21, 2014 #6514 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    [​IMG]

    I use it when the Roamio fails to download and hitting this feature seem to restart the server.
     

    Attached Files:

  15. Feb 24, 2014 #6515 of 10413
  16. Feb 24, 2014 #6516 of 10413
    rpk113

    rpk113 New Member

    26
    0
    Oct 15, 2002
    New York
    I keep getting this error

    RemoteInit - (IP=192.168.11.8, port=1413): [sun.security.ssl.Alerts.getSSLException(Unknown Source), sun.security.ssl.Alerts.getSSLException(Unknown Source), sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source), sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source), sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source), sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source), sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source), com.tivo.kmttg.rpc.Remote.RemoteInit(Remote.java:189), com.tivo.kmttg.rpc.Remote.<init>(Remote.java:151), com.tivo.kmttg.main.config.initRemote(config.java:566), com.tivo.kmttg.task.remote$1AutoThread.run(remote.java:57), java.lang.Thread.run(Unknown Source)]

    Its a TiVo premiere 4, updated java windows 7

    and this is on my premiere

    >> RUNNING 'REMOTE NP List' JOB FOR TiVo: Living Room
    RemoteInit - (IP=192.168.11.125, port=1413): [sun.security.ssl.Alerts.getSSLException(Unknown Source), sun.security.ssl.Alerts.getSSLException(Unknown Source), sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source), sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source), sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source), sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source), sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source), com.tivo.kmttg.rpc.Remote.RemoteInit(Remote.java:189), com.tivo.kmttg.rpc.Remote.<init>(Remote.java:151), com.tivo.kmttg.main.config.initRemote(config.java:566), com.tivo.kmttg.task.remote$1AutoThread.run(remote.java:57), java.lang.Thread.run(Unknown Source)]

    Funny thing is, my tivoHD is fine..
     
  17. Feb 24, 2014 #6517 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    rpk113, you must be running older version of kmttg using an expired RPC certificate - update to latest version of kmttg.
     
  18. Feb 25, 2014 #6518 of 10413
    wireman121

    wireman121 Member

    126
    0
    Nov 8, 2008
    Anyone else having an issue where, with VideoReDo set to autosave on exit after reviewing the cuts, it is adding a 001 to the end of the filename instead of saving over the original file? Or is this working as designed?
     
  19. Feb 25, 2014 #6519 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    If the kmttg "cut dir" is configured same as "mpg dir" then kmttg expects to see a file with "_cut.mpg" or " (01).mpg" at the end, so you shouldn't use the VRD autosave on exit if it's adding 001.
     
  20. Feb 25, 2014 #6520 of 10413
    rpk113

    rpk113 New Member

    26
    0
    Oct 15, 2002
    New York
    Did the trick.. thank you sir!!!
     

Share This Page