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 19, 2018 #11661 of 11857
    moyekj

    moyekj Well-Known Member

    11,779
    488
    Jan 23, 2006
    Mission...
    Originally that setting was for the telnet interface. So maybe it only affects telnet now, or maybe they ignore the setting completely for both RPC and telnet.
     
  2. Feb 23, 2018 #11662 of 11857
    dougdingle

    dougdingle HD Tech

    776
    28
    Jul 4, 2007
    West Coast
    I'm sure this has been covered, but as someone who used kmttg for the first time to copy shows from an old drive to my computer last weekend, then used pytivo to pull them to the new drive, I found two strange issues and don't know where they originated or how to fix them for next time.

    First issue is that about 20% of the forty or so shows I transferred did not retain season/episode info, and appear in that show's folder only with the record date (which, admittedly, is better than nothing). The majority did retain that info. Is there something I could have done to have them all retain that info?

    And second, not one of the shows retained the SKIP data. Anything I could have done to have that move with the transfer?

    Thanks. And thank you for all the time you've spent on developing this terrific tool.
     
  3. Mar 1, 2018 #11663 of 11857
    mike386

    mike386 New Member

    28
    3
    Jan 17, 2009
    Sorry if I was not clear, my download folder is in the default folder made by TiVo Desktop named "My TiVo Recordings" (without a period). The folder name with a period is the the folder created by kmttg when I download a program for a second time. Full paths:

    My download folder used by kmttg:
    C:\Users\xxx\Documents\My TiVo Recordings\DL

    The folder created by kmttg to store the second download of the same program:
    C:\Users\xxx\Documents\My(2).TiVo Recordings\DL

    The "My(2).Tivo Recodings" folder is created by kmttg. Maybe kmttg is looking for "TiVo" and adding the "(2)." before that?
     
  4. Mar 2, 2018 #11664 of 11857
    moyekj

    moyekj Well-Known Member

    11,779
    488
    Jan 23, 2006
    Mission...
    I see the issue. The code is simply:
    tivoFile.replaceFirst(".TiVo", "(2).TiVo");
    However the first argument can actually be a regex, so the dot can represent any character leading to problems. It's a simple fix 2 character fix to use this instead which I have made for next release:
    tivoFile.replaceFirst("\\.TiVo", "(2).TiVo");

    So if you want to workaround the issue with existing release you would need to get rid of or rename the "TiVo" portion of your path to something else.

    (Par for the course, sourceforge is down yet again, so can't check any code changes in currently).
     
    Last edited: Mar 2, 2018
    mlippert likes this.
  5. Mar 2, 2018 #11665 of 11857
    Lurker1

    Lurker1 Active Member

    543
    184
    Jun 4, 2004
    moyekj, any luck diagnosing the double-skip issue?
     
  6. Mar 2, 2018 #11666 of 11857
    moyekj

    moyekj Well-Known Member

    11,779
    488
    Jan 23, 2006
    Mission...
    Haven't looked at it. If you have a way to consistently reproduce the issue please give the steps.
     
  7. Mar 2, 2018 #11667 of 11857
    justen_m

    justen_m Cheesehead

    8,824
    221
    Jan 14, 2004
    Boise, ID
    Why doesn't kmttg v2.4f update? I try (on my Win10 and Linux boxes (Ubuntu 16.04.4LTS and 17.10 Latest)) and I get the "Can't determine installed and/or available versions" on all of them. I'm not going to manually download and update 6 machines... so I guess this is the last version I'll use? It does everything I want, and future updates are more likely to break things than improve them, so I guess it's a good thing. moyekj, are you aware of the update problem? I guess I could wipe the current kmttg installs and just re-install older versions which I have sitting around on my RAID, but, too much effort. Like, 10 minutes!
     
  8. Mar 2, 2018 #11668 of 11857
    moyekj

    moyekj Well-Known Member

    11,779
    488
    Jan 23, 2006
    Mission...
    As I posted above, sourceforge has been down last few days, so update from kmttg won't work until that's resolved.
     
  9. Mar 2, 2018 #11669 of 11857
    justen_m

    justen_m Cheesehead

    8,824
    221
    Jan 14, 2004
    Boise, ID
    Sorry, didn't see that above. How many pages up? Don't bother. Anyway, thanks for answering, which must be, again. Sorry. Love kmttg.
     
  10. Mar 2, 2018 #11670 of 11857
    Lurker1

    Lurker1 Active Member

    543
    184
    Jun 4, 2004
    Sure, this will reproduce it every time:

    Set your start point padding to a positive number like 500.
    Play any program that has skip points while autoskip service is active.
    Any time during the program, press D on your remote.
    Notice that it skips twice, and you have missed lots of the program.
     
  11. Mar 2, 2018 #11671 of 11857
    ThAbtO

    ThAbtO TiVoholic by the bay

    8,768
    328
    Apr 6, 2000
    SF Bay Area
    When I update, I just extract/copy the KMTTG.jar file to the folder, not letting it overwrite the settings file, config.ini, auto.ini
     
  12. Mar 4, 2018 #11672 of 11857
    stonewallers

    stonewallers Member

    42
    1
    Apr 8, 2010
    I seem to have run into a problem I can't solve in my new linux build. All of my download attempts are failing at the end of the download. If I select the option to keep failed downloads and that the failed file seems to be complete (will convert to .mp4 and stream using plex).

    when I try to select "examine log file.." under the Auto Transfers menu I get the message:
    "Auto log file not found: /home/stonewallers/Programs/kmttg/auto.log.0"

    I'm wondering if it is a permissions issue with writing flies at some location. I have checked and I can write to the directory for listed for the auto.log. But the is no log file there. Is there a different log somewhere else that I might need to give permissions to the directory? All of the paths listed in the "File Settings" tab under configure have the correct write permissions.

    edit: as an additional step I tried downloading with Download Tivo files in Transport Stream format de-selected. No change.
     
  13. Mar 4, 2018 #11673 of 11857
    stonewallers

    stonewallers Member

    42
    1
    Apr 8, 2010
    Nevermind. After trying some other options I finally got an informative message:

    I deselected "Check download duration" and it worked. I'm going to check on a coupe more files.

    edit: successfully worked on a 1.7GB 1 hour show. I think I solved my issue.

    I should note I still don't see an auto.log file. I assume that is because I'm manually starting jobs. Is there another log file somewhere that I can't find?
     
    Last edited: Mar 4, 2018
  14. Mar 5, 2018 #11674 of 11857
    stonewallers

    stonewallers Member

    42
    1
    Apr 8, 2010
    Sorry in advance for the newbie type questions. I've been suing search on the thread but at 11k+ replies, it is a bit unwieldy. I'm still in the testing phase before I automatize using kmttg. My basic intention (if I haven't mentioned it) is make my tivo recordings available with Plex to use out of home.

    I ran into a couple test cases in which the file downloaded but then decryption using tivolibre failed. Is there a list of steps to take to diagnose the failure? Or potential things to track? As I've noted, I'm not sure if there is a log file and where it might exist?
     
  15. Mar 5, 2018 #11675 of 11857
    moyekj

    moyekj Well-Known Member

    11,779
    488
    Jan 23, 2006
    Mission...
    What OS are you using? If using Windows the best option for decrypting is using DirectShow filter. For that you need to have at least a partial TiVo Desktop installation and then in kmttg Config--Program Options enable "Decrypt using DirectShow Dump..." option. Or even better if you have VideoRedo you can enable option to have VideoRedo decrypt. tivolibre does not work with all TS downloads.

    The other option if you are sure your provider doesn't have any H.264 channels is switch to PS downloads instead: config--Program Options uncheck "Download TiVo files in Transport Stream format".

    The "log" is the message window in the GUI, and you can save those messages to file using File--Save messages to file.
     
    stonewallers and kpeters59 like this.
  16. Mar 6, 2018 #11676 of 11857
    stonewallers

    stonewallers Member

    42
    1
    Apr 8, 2010
    Thanks! My OS is Ubuntu 16.04. My machine is a new build, I have some internal drives, some external HDs mounted but connected on the router so I've been playing a lot with mounting and permissions for drives. Wanted to eliminate that as a possible source.

    I can try the PS download option (that was one of my tests with the previous issue). What you suggest may be possible. The only shows that failed so far were three movies I had recorded from FXX (on comcast/xfinity). Those were the only recordings I had from that channel. I'll check next time I'm home.
     
  17. Mar 8, 2018 #11677 of 11857
    moyekj

    moyekj Well-Known Member

    11,779
    488
    Jan 23, 2006
    Mission...
    Very happy to report that I have obtained an updated certificate for RPC functionality good until December 2020!
    Would not be possible without the help from 2 people in particular that I can't name here but that we should all be very grateful for.
    Next release will have the updated certificate along with some other fixes.
     
    CaseyJ, lew, oscarfish and 16 others like this.
  18. Mar 8, 2018 #11678 of 11857
    ThAbtO

    ThAbtO TiVoholic by the bay

    8,768
    328
    Apr 6, 2000
    SF Bay Area
    [​IMG]
     
    kpeters59 and mlippert like this.
  19. Mar 8, 2018 #11679 of 11857
    mlippert

    mlippert Active Member

    192
    27
    Apr 2, 2010
    Massachusetts
    That is truly excellent news, thanks for sharing, and my heartfelt thanks to those 2 anonymous folks.
     
  20. Mar 9, 2018 #11680 of 11857
    HerronScott

    HerronScott Well-Known Member

    5,570
    561
    Jan 1, 2002
    Staunton, VA
    Fantastic! The only thing that would make it better would be if TiVo themselves were helping you with this... (Ted?)

    Scott
     
    murgatroyd and ClearToLand like this.

Share This Page