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. Oct 13, 2018 #12001 of 12032
    kpeters59

    kpeters59 Well-Known Member

    1,331
    250
    Jun 19, 2007
    If you have to have the installation folder in Program Files, you'll probably need to change the folder permissions to allow it.

    -KP
     
  2. Oct 24, 2018 #12002 of 12032
    mfc90125

    mfc90125 New Member

    6
    0
    Apr 18, 2009
    Hello and thanks for making this program available for free!

    I did some searches of the following before posting, but forgive me if I missed the answer somewhere. I have a Roamio that I would like to completely automate including download, conversion to Plex, and deletion of the original videos. I am currently using TiVo Desktop to dl and KMTTG to convert, but does your program allow for the automatic deletion of the original dl-ed videos once we're done converting them? I see that we can add KMTTG as a service so that looks like fun as well.

    My thanks in advance for your help.
     
  3. Oct 24, 2018 #12003 of 12032
    ThAbtO

    ThAbtO TiVoholic by the bay

    9,465
    473
    Apr 6, 2000
    SF Bay Area
    Why are you letting Tivo Desktop download when KMTTG does it and will chain jobs, decrypt, etc.
     
    kpeters59 likes this.
  4. Oct 25, 2018 #12004 of 12032
    worachj

    worachj Well-Known Member

    1,357
    70
    Oct 13, 2006
    Eagan, MN
    You can let KMTTG download and decrypt.

    [​IMG]
     
    kpeters59 likes this.
  5. Oct 26, 2018 #12005 of 12032
    reneg

    reneg Active Member

    963
    117
    Jun 19, 2002
    Feature request - I'd like the ability to have a kmttg Command line option to perform a "network connect" (phone Home) from one or all Tivos. My usage would be to set this up as a Windows scheduled task on a 24 hour cadence to insure that my Tivos have up to date guide info before prime time each evening. Thanks for considering.
     
  6. Oct 26, 2018 #12006 of 12032
    moyekj

    moyekj Well-Known Member

    11,832
    539
    Jan 23, 2006
    Mission...
    If you enable the web server in kmttg you can already accomplish this using a utility such as curl:
    Code:
    curl -o out.txt 'http://192.168.1.100:8181/rpc?operation=PhoneHome&tivo=Roamio'
    
    Obviously substitute the above IP with that of machine that is running kmttg web server and the tivo name with the appropriate name (Roamio was name of my Tivo in above example). The -o out.txt means to send response to out.txt for logging/debugging purposes, and is not strictly required.
     
    Last edited: Oct 26, 2018
    ClearToLand likes this.
  7. Oct 26, 2018 #12007 of 12032
    reneg

    reneg Active Member

    963
    117
    Jun 19, 2002
    Thanks, didn't know you could do this. You're the best!
     
    mlippert likes this.
  8. Oct 26, 2018 #12008 of 12032
    reneg

    reneg Active Member

    963
    117
    Jun 19, 2002
    I'm probably doing something wrong, but I get the error below. In the source code, I don't see an operation defined for PhoneHome in kmttgServer.java, handleRpc
    Code:
    <!DOCTYPE html>
    <html>
    <head><title>400 Bad Request</title></head>
    <body><h1>400 Bad Request</h1>
    <p>RPC request missing &#39;operation&#39; and/or &#39;tivo&#39;</p>
    </body></html>
     
  9. Oct 26, 2018 #12009 of 12032
    moyekj

    moyekj Well-Known Member

    11,832
    539
    Jan 23, 2006
    Mission...
    What url are you trying? If your TiVo name has a space in it you need to replace space with encoded equivalent.
     
  10. Oct 26, 2018 #12010 of 12032
    reneg

    reneg Active Member

    963
    117
    Jun 19, 2002
    I was getting an error when enclosing the URL in single quotes. I got the error above with no quotes, but when I enclosed it in double quotes, it worked.
    Code:
    C:\kmttg\curl>curl 'http://192.168.1.23:8004/rpc?operation=PhoneHome&tivo=RoamioOTA'
    curl: (1) Protocol 'http not supported or disabled in libcurl
    'tivo' is not recognized as an internal or external command,
    operable program or batch file.
    
    C:\kmttg\curl>curl http://192.168.1.23:8004/rpc?operation=PhoneHome&tivo=RoamioOTA
    <!DOCTYPE html>
    <html>
    <head><title>400 Bad Request</title></head>
    <body><h1>400 Bad Request</h1>
    <p>RPC request missing &#39;operation&#39; and/or &#39;tivo&#39;</p>
    </body></html>
    
    C:\kmttg\curl>curl "http://192.168.1.23:8004/rpc?operation=PhoneHome&tivo=RoamioOTA"
    {"type":"success","IsFinal":true}
    C:\kmttg\curl>
    Thanks, again
     
  11. Nov 3, 2018 #12011 of 12032
    wireman121

    wireman121 Member

    133
    0
    Nov 8, 2008
    I have a few feature requests:
    1) Option (per show) on auto transfers to wait until kmttg has the autoskip data before processing a show for auto transfer
    2) Option (per show) to skip reviewing cuts when there is skipdata downloaded, so that the process is automated.

    I would like these options to be on a per show basis, so shows that dont have skipdata and use comskip will still pop up the review window for processing. As I know which shows will have skipdata beforehand, a check box for this would really help. And moving the vrdreview option to a per show checkbox instead of global always made sense to me too - as some comskip runs on shows come out perfect and other shows don't...

    Thanks for considering.
     
  12. Nov 5, 2018 #12012 of 12032
    wireman121

    wireman121 Member

    133
    0
    Nov 8, 2008
    Also - I have a custom script that uses [mpegFile_cut] for the filename, but because some of my auto transfers dont have commercials (shotime) there is no cut filename, and the custom script fails. Is there a argument to use for the "last" filename instead? Or a way to make kmttg rename the file to [mpegFile_cut] without actually cutting?
     
  13. Nov 11, 2018 #12013 of 12032
    gweempose

    gweempose Well-Known Member

    3,246
    322
    Mar 23, 2003
    Northbrook, IL
    Did anyone ever figure out a way to eliminate or fix the errors inherent when using the transport stream format?
     
  14. Nov 11, 2018 #12014 of 12032
    mlippert

    mlippert Active Member

    208
    34
    Apr 2, 2010
    Massachusetts
    Not that I'm aware of. The best I know of is a version of pyTivo was modified so that it would let you know about errors and retry. This thread: Downloading to computer, files corrupted discusses the issue and has posts about some tests people have done using that pyTivo version to get an error free download.

    Personally, I use a version of pyTivo I modified on top of the changes to test for errors that Dan had made which writes out an error report file, so I can see which blocks in the download are bad. I set it for 4 downloads which frequently gets me an error free .tivo file, and if not an acceptably small set of errors (to me). I then pass that file back to kmttg to use videoredo to decode and qsfix and ad detect as I normally did. Still somewhat manually intensive, but so far I'm ok with it.
     
    gweempose likes this.
  15. Dec 7, 2018 #12015 of 12032
    mayeri

    mayeri Member

    34
    1
    Oct 19, 2014
    According to my Tivo Premiere (software version 20.7.4.RC42-746-2-746 ) & kmttg (v 2.4j) it seems that Verizon FIOS in NYC is setting the copyprotection flag on EVERYTHING. I noticed it first on the 12/6 Big Bang Theory. Then I noticed this morning that SYFY's Nightflyers also had it.
    I just tried recording the ABC local morning news, and it also is tagged copyprotected.

    I thought it might be a glitch on my tivo, but reboot did not resolve it. A new recording of
    the local news was still copyprotected.

    Anyone know anything more (preferably how to get this reversed/fixed) ?
     
  16. Dec 7, 2018 #12016 of 12032
    Tony_T

    Tony_T Well-Known Member

    1,864
    570
    Nov 2, 2017
    If Verizon is setting the copyright, then there is no way to copy the file with kmttg.m
    I'm on Optimum (Cablevision), and most of my shows are copy protected.
     
  17. Dec 7, 2018 #12017 of 12032
    mayeri

    mayeri Member

    34
    1
    Oct 19, 2014
    I don't know what was going on before, but additional testing indicated it was a problem with my laptop & kmttg. All the recordings that kmttg was reporting as copyprotected before are now downloading successfully. Most strange.
     
    mlippert likes this.
  18. Dec 9, 2018 #12018 of 12032
    moyekj

    moyekj Well-Known Member

    11,832
    539
    Jan 23, 2006
    Mission...
    Lurker1 likes this.
  19. Dec 9, 2018 #12019 of 12032
    Tony_T

    Tony_T Well-Known Member

    1,864
    570
    Nov 2, 2017
    I see 2.4k on sourceforge, but kmttg->help->update reports that 2.4j is the latest version.
     
    keenanSR likes this.
  20. Dec 9, 2018 #12020 of 12032
    moyekj

    moyekj Well-Known Member

    11,832
    539
    Jan 23, 2006
    Mission...
    Thanks, I fixed it - it takes a while to propagate through Sourceforge, but just checking now Help--About is now showing v2.4k as latest version for me.
     
    keenanSR and mlippert like this.

Share This Page