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 28, 2019 #12521 of 12583
    FredT

    FredT Member

    47
    2
    Sep 26, 2013
    I just meant that it's the version reported as being up to date in the Mac system preferences Java Control Panel, which is Java 8 Update 221. This is the same version when file downloads were still working.
     
    mlippert likes this.
  2. Dec 28, 2019 #12522 of 12583
    andrew1883

    andrew1883 Member

    108
    19
    Apr 25, 2008
    I apologize in advance for basic questions but I can't find a solution. I used the same Windows 10 notebook this time last year and kmttg was working fine. Now it's not.

    I updated kmttg to v2.4o, and I updated java to 1.8.0_231-b11 (the latest it offered). If I associate kmttg.jar with java.exe, it asks if I want to allow this app to make changes to the device Java 8 SE Runtime Environment 8 Update 231, I say yes, a console window flashes and that's it. OTOH if I associate kmttg.jar with javaw.exe (which I thought was the right answer) nothing happens. Is there something else I need to do? I feel like I go through this every year when I start using my TiVo again, so apologies if I've asked these questions before.

    =aw
     
  3. Dec 29, 2019 #12523 of 12583
    reneg

    reneg Well-Known Member

    1,100
    202
    Jun 19, 2002
    Are you also associating the ftype as detailed in step 4 of the linked kmttg wiki? kmttg / Wiki / windows_installation
     
  4. Dec 29, 2019 #12524 of 12583
    andrew1883

    andrew1883 Member

    108
    19
    Apr 25, 2008
    I didn't, but I didn't think I had to. At first I was using the old kmttg that was already installed, and then I installed the new one into the folder of the old one. Would you expect the ftype to change?

    Thanks.
     
  5. Dec 30, 2019 #12525 of 12583
    reneg

    reneg Well-Known Member

    1,100
    202
    Jun 19, 2002
    I would expect the ftype of jarfile to match where javaw.exe is installed. My ftype for the jarfile is "jarfile="C:\Program Files\Java\jre1.8.0_231\bin\javaw.exe" -jar "%1" %*" I can start kmttg manually be opening a command prompt, changing directory to where kmttg is installed and then entering the command "C:\Program Files\Java\jre1.8.0_231\bin\javaw.exe" -jar kmttg.jar
     
    mlippert likes this.
  6. Dec 30, 2019 #12526 of 12583
    RBeatse

    RBeatse Member

    43
    0
    Jan 6, 2005
    Salt Lake...
    I haven't needed to use KMTTG for a while but I needed to today so I downloaded the latest version (2.4o) and installed it. I have 4 TiVos and 3 of them connect and get the NPL just fine but one does not. I get the following message. Obviously, it is refusing connection but I ma not sure why since the rest worked just fine. What am I doing wrong?


    RemoteInit - (IP=10.0.0.24, port=1413): Connection refused: connect

    [java.net.DualStackPlainSocketImpl.connect0(Native Method), java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source), java.net.AbstractPlainSocketImpl.doConnect(Unknown Source), java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source), java.net.AbstractPlainSocketImpl.connect(Unknown Source), java.net.PlainSocketImpl.connect(Unknown Source), java.net.SocksSocketImpl.connect(Unknown Source), java.net.Socket.connect(Unknown Source), sun.security.ssl.SSLSocketImpl.connect(Unknown Source), sun.security.ssl.SSLSocketImpl.<init>(Unknown Source), sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source), com.tivo.kmttg.rpc.TiVoRPC.RemoteInit(TiVoRPC.java:265), com.tivo.kmttg.rpc.TiVoRPC.<init>(TiVoRPC.java:106), com.tivo.kmttg.rpc.Remote.<init>(Remote.java:57), com.tivo.kmttg.rpc.Remote.<init>(Remote.java:69), com.tivo.kmttg.main.config.initRemote(config.java:635), com.tivo.kmttg.task.NowPlaying$1AutoThread.run(NowPlaying.java:90), java.lang.Thread.run(Unknown Source)]
     
  7. Dec 30, 2019 #12527 of 12583
    FredT

    FredT Member

    47
    2
    Sep 26, 2013
    I found no solution to this, but I did find a different way to download files, which leads me to believe that the TiVo is OK. After many TiVo restarts, reloading software, resetting network, etc., I searched for other ways of downloading and found cTiVo. I'm not sure what advantages/disadvantages it has versus kmttg, but is seems to do everything I was doing with the latter.
     
  8. Dec 30, 2019 #12528 of 12583
    RBeatse

    RBeatse Member

    43
    0
    Jan 6, 2005
    Salt Lake...
    Thanks for the info. After not connecting the KMTTG for a few days, this afternoon it connected. Who knows why!!
    I will look into cTivo also. Thanks for the assistance.
     
  9. Jan 1, 2020 #12529 of 12583
    halfast

    halfast New Member

    3
    0
    Nov 15, 2014
    SE PA
    Have been away form kmttg for a while after move. Finally have v2 on my Mac. For some reason, I'm seeing two issues 1) I can't get mpg files to download to the Mac at all. Everything comes as .ts. 2) The .ts files will not play with Quicktime or VLC; output is very, very jumpy, unwatchable. Tried using Handbrake on the ts files but even a small ts file takes hours on Handbrake. I have tried TS checked and unchecked, tried all combinations of TS, decrypt and encode, can't get mpg files (in the past, I've had most success either playing mpg directly or processing through Handbrake to reduce file size). Finally, on the files that I have encoded on kmttg, the audio is way out of sync. I must be doing something wrong. Any suggestions would be most appreciated. Thanks. PS. Sorry for posting as a reply but couldn't figure out how to start a new thread. Happy New Year!
     
  10. Jan 2, 2020 #12530 of 12583
    mlippert

    mlippert Active Member

    283
    58
    Apr 2, 2010
    Massachusetts
    @halfast I can't help much on a Mac, but a couple of questions.
    Are you sure the channels for the videos you are downloading are coming in as MPEG2 in your new location? If those channels are H.264 then you can't download them from the TiVo using PS (Program Stream), you have to use TS (Transport Stream).
    If you can use MediaInfo (or something similar) to examine the video codec in the .ts file you're getting (which could be either) that will let you know.
    If it is H.264, that would definitely explain why it takes so long for handbrake to transcode it to MPEG2. You might want to try transmuxing (ie change the container type, but leave the codec alone) the .ts file to .mp4. I don't know handbrake so I can't tell you how to transmux w/o transcoding though.

    Also just as a point of reference, for my channels which are still MPEG2, I am able to download using PS and get .mpg files after decoding.

    In addition there are frequently errors in the TS downloads from the tivo and I don't have any idea how to deal with those errors on a Mac. (VRD can excise them so you still have a watchable video on Windows). There are also other apps for downloading which can tell if there are errors and retry hoping to get an error free download, there's a whole thread Reliable transfer of .TS files?
     
    kpeters59 likes this.
  11. Jan 7, 2020 #12531 of 12583
    hexfield

    hexfield New Member

    3
    1
    Jan 7, 2020
    Hey folks, I've done some Googling and can't find the answer to my questions, so hopefully this is the right place to ask. I just set up kmttg and it's working great. I want to create an auto transfer rule that grabs everything on my Tivo and moves it into folders for Plex. I've got the naming convention worked out, the only issue is that Plex uses one folder for its Movie library and a different one for its TV Library.

    I assume I need to make two auto transfer rules in kmttg, one for shows and one for movies, but I don't see a way to accomplish this. I thought a good workaround might be to look for an episode title and assume it's a movie if one doesn't exist, but since auto transfer only has "title" and "keywords" fields I wasn't sure if I could do that. Any help would be appreciated!
     
  12. Jan 8, 2020 #12532 of 12583
    windracer

    windracer joined the 10k club

    12,232
    214
    Jan 3, 2003
    St. Pete, FL
    What I do is have all my kmttg auto-transfers go into their own separate TiVo folder. Then I added that folder to my "TV Shows" and "Movies" library in Plex, like this:

    upload_2020-1-8_8-9-49.png

    upload_2020-1-8_8-11-48.png

    As long as your file naming pattern is good, Plex will identify each individual file in the "TiVo" folder as a TV show or Movie and it will appear in the proper Plex library.
     
    kpeters59 and davidblackledge like this.
  13. Jan 8, 2020 #12533 of 12583
    hexfield

    hexfield New Member

    3
    1
    Jan 7, 2020
    Oh cool, thanks! Do you ever have any trouble with Plex trying to put the same file in two different libraries?
     
  14. Jan 8, 2020 #12534 of 12583
    windracer

    windracer joined the 10k club

    12,232
    214
    Jan 3, 2003
    St. Pete, FL
    I haven't noticed, no, it's pretty good. The only problem I have is occasionally kmttg won't name the file properly (like a missing episode number or something) so Plex thinks it's a movie show it appears in the Movie library. Other than that it works pretty well.
     
  15. Jan 9, 2020 #12535 of 12583
    hexfield

    hexfield New Member

    3
    1
    Jan 7, 2020
    I set it up like you suggested and it's working great so far! Thanks a ton!
     
    windracer likes this.
  16. Jan 10, 2020 #12536 of 12583
    elmeng

    elmeng Member

    44
    0
    Mar 7, 2009
    Till there's a 64 bit ad detector, I down load the video, manually search for commercial windows, write down the times and add them manually to AutoSkip.ini. But the ID numbers don't match and the S doesn't appear and commercials aren't skipped.
     
  17. Jan 13, 2020 #12537 of 12583
    reneg

    reneg Well-Known Member

    1,100
    202
    Jun 19, 2002
    Sucks to manually have to enter skip data. I assume the question is how do I get the "S" to appear. In the NPL in kmttg, if you use the "Display Data [j]" command for the show you're entering skip data for, copy the ContentId & OfferID from "Display Data" results in the command ouput window to you AutoSkip.ini file. Here is a sample entry from my system:
    Code:
    <entry>
    contentId=tivo:ct.417735751
    offerId=tivo:of.ctd.151168818.1418.cable.2020-01-13-01-00-00.4020
    offset=0
    tivoName=Living Room
    title=Doctor Who - Orphan 55
    31164 652768
    893442 1288003
    1544242 2093274
    2333431 2712159
    2959172 3334431
    3580627 4039301
    4197693 4198000
     
  18. Jan 24, 2020 #12538 of 12583
    nt40lanman

    nt40lanman Member

    43
    0
    Feb 2, 2012
    Quick and dumb question, I got KMTTG working on my S3 with a 1TB drive. I thought it was far more full, but KMTTG says 435GB full. Can I definitely believe that?
     
  19. Jan 24, 2020 #12539 of 12583
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    11,077
    787
    Apr 6, 2000
    SF Bay Area
    Yes, its because its adding up all the shows giving that size. If you had given the actual size (about 911gb for a 1TB drive), it would show what remains.
     
  20. Jan 24, 2020 #12540 of 12583
    nt40lanman

    nt40lanman Member

    43
    0
    Feb 2, 2012
    I discovered a box to put in my HD size and it showed what remained. Really nice feature. Looking over my list of shows and movies, I'd have thought I had used a lot more space. I'm moving up to a Roamio and trying to decide how big of a drive to put in it. Apparently a 2TB should be more than enough!
     

Share This Page