New program for 1 step TTG downloads, decryption, encoding - kmttg

Discussion in 'TiVo Home Media Features & TiVoToGo' started by moyekj, Mar 15, 2008.

  1. Jan 31, 2021 #12901 of 12951
    DManzaluni

    DManzaluni Member

    47
    2
    Oct 22, 2019

    Advertisements

    Well sorry to bother you guys but this problem seems to have completely gone away! Now all elements of this app are working properly and consistently. (I haven't tried the TV shows which consistently got stuck at comskip or encode before)

    Luckily this happened before I learned what a script was! Is it what is created by the app when you either do or don't click check marks in the boxes at the top of the screen?
     
  2. Feb 2, 2021 #12902 of 12951
    reneg

    reneg Well-Known Member

    1,156
    236
    Jun 19, 2002
    I know that kmttg is no longer under active development, but I had an idea that I'd like to kick around. I'm a novice in this area, but I think it might be possible to leverage some of the existing code in the kmttg web server to build and play recorded shows from m3u8 files from a Tivo using the kmttg web server & video streaming. Instead of browsing to the kmttg web server and selecting transcode & play a show. I think one could create a master playlist per tivo, and populate that playlist with the shows in the Now Playing List. Each show in the master playlist would reference another HLS playlist in the web server's cache directory. A user could then load this master playlist through VLC on the Tivo Stream 4K, Firestick or other, or load the playlist into Channels DVR M3U support.

    When one of items in the master playlist is selected to be played, kmttg web server would identify which item was selected, dynamically create a HLS playlist and begin transcoding as the kmttg web server video streaming does today, updating the HLS playlist file in the cache directory as transcoding progresses. Since the client selected a particular item in the master playlist, the client would try and load/play the referenced playlist in the kmttg cache.

    As with the original kmttg web server, the kmttg computer transcodes on the fly and has to have sufficent horsepower to keep ahead of playback. I have manually constructed a master playlist file based on a few shows I've transcoded with kmttg's web server. I experimented with both VLC & Channels DVR M3U support. VLC works with my hand constructed playlist on Tivo Stream 4K & Firestick devices either as a live stream and if transcoding is done ahead of time. Channels DVR M3U support only worked with live streams (transcoding in progress). Once kmttg is done transcoding, Channels DVR M3U support will not play the cached stream.

    Potential pitfalls include no streaming of live TV or recording in progress shows as kmttg web server only supports streaming of downloadable recorded content. Also, as new shows are recorded/deleted, the master playlist has to be refreshed, most likely manually. There is no automated mechanism to keep the cache size managable. On the plus side, I think that since kmttg is skipmode aware, transcoding to HLS could be enhanced to skip over commercials.

    I'm looking into this because I still have OTA Tivos even though I switched over to Channels DVR for 'cable' channels. I'd like to be able to access my recorded Tivo content through the Channels DVR interface. So far, I've been able to integrate my security cameras & user created channels (via DizqueTV/Plex) into Channels DVR M3U support. I have a Tivo Stream 4K on one of my TVs and never liked that Tivo didn't do any integration to bridge their own products.

    I'm not a Java programmer, though I did setup an IDE & modify a Java program once about 10 years ago. I may give this a try on my own, but progress will be slow, if at all. I thought I would share the idea and if someone else wanted to run with it, so be it. Or, if this idea won't work at all, throw rocks at it before I get too far down the road.
     
    kpeters59 likes this.
  3. Feb 7, 2021 #12903 of 12951
    ZilchBlack

    ZilchBlack New Member

    1
    0
    Apr 27, 2016
    After using kmttg with VideoRedo for many years, I recently installed handbrake for a separate reason unrelated to kmttg. Now, kmttg only shows encoding profiles from handbrake, and VideoRedo profiles are no longer visible. Does anyone know how to get kmttg to ignore handbrake and pull the VideoRedo profiles again?

    BTW: I was sad to see development has been abandoned, although all good things must end :-( My thanks to all of your that developed and supported such an awesome project! Heck, I would have paid good money for :)
     
  4. Feb 9, 2021 #12904 of 12951
    reneg

    reneg Well-Known Member

    1,156
    236
    Jun 19, 2002
    I don't think you can ignore the handbrake profiles but you could brute force remove the profiles from the kmttg\encode directory. To try and get the VideoRedo profiles to show again, make sure that you File->Configure->VideoRedo and enable VideoRedo. Not sure this next step is necessary, but start up VideoRedo, and select Tools-> Start Batch Manager. Close VideoRedo & the Batch manager after the Batch manager starts, Restart kmttg, and Select File -> Refresh Encoding Profiles.
     
  5. Feb 15, 2021 #12905 of 12951
    Tony_T

    Tony_T Well-Known Member

    3,826
    1,687
    Nov 2, 2017

    Advertisements

    I'm having trouble with macOS Catalina.
    I'm getting RemoteInit - Connection Refused.
    kmttg 2.4p and Java 8 Update 281

    edit: Just read the Wiki:
    IMPORTANT NOTE - ABANDONED PROJECT
    Latest kmttg releaseTiVo RPC certificate kmttg is using now expires December 11, 2022 (previous version expires December 2020). However the author has moved on away from TiVo hardware and is no longer doing any additional development.
     
    Last edited: Feb 16, 2021
  6. Feb 16, 2021 #12906 of 12951
    worachj

    worachj Well-Known Member

    1,493
    123
    Oct 13, 2006
    Eagan, MN
    The new version v2.4p of kmttg is suppose to have the new certificate and password. Read a couple of the post before/after the following one.

    New program for 1 step TTG downloads, decryption, encoding - kmttg
     
  7. Feb 16, 2021 #12907 of 12951
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    12,912
    1,213
    Apr 6, 2000
    SF Bay Area
    Do you have Network Remote control enabled on that Tivo?
     
  8. Feb 16, 2021 #12908 of 12951
    Tony_T

    Tony_T Well-Known Member

    3,826
    1,687
    Nov 2, 2017
    I did see that before I posted.
    I tried 2.4p on a High Sierra Mac and it works, but fails on a Catalina Mac.
     
  9. Feb 16, 2021 #12909 of 12951
    Wil

    Wil Unknown Member

    4,844
    340
    Sep 26, 2002
    The linking of kmttg & VideoRedo is so useful to me they're about the only things I run on Windows nowadays. VMWare Player is free or you can run an old pc with Microsoft Remote Desktop.

    Not to say an effort shouldn't be made to get kmttg to run natively on a Mac (also it would be great to get the most current version of pyTivo Desktop ported) but sometimes you just need Windows.
     
  10. Feb 16, 2021 #12910 of 12951
    mattack

    mattack Well-Known Member

    25,697
    678
    Apr 9, 2001
    sunnyvale
    I'll check what version of kmttg I'm using, but I'm pretty sure I have the latest version and it's working on current macOS just fine for me.
     
  11. Feb 16, 2021 #12911 of 12951
    Tony_T

    Tony_T Well-Known Member

    3,826
    1,687
    Nov 2, 2017
    I’m not on the current macOS yet (Big Sur), I’m having the issue with the prior macOS (Catalina). No issue on another Mac with the older still High Sierra.
     
  12. Feb 16, 2021 #12912 of 12951
    mattack

    mattack Well-Known Member

    25,697
    678
    Apr 9, 2001
    sunnyvale
    aah ok, I actually forget the 'newer' names. There've been so many of them. Since usually problems happen on upgrades of OSes, I was thinking that is what happened to you.

    I'm kind of mystified though.. As a totally random guess, could you try creating a new user, logging in as that, and using a new copy of kmttg? that will at least see if you can connect (I realize it'd be a pain to configure everything).
     
  13. Feb 16, 2021 #12913 of 12951
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    12,912
    1,213
    Apr 6, 2000
    SF Bay Area
    That error is from the Tivo itself and Network Remote Control (as posted above.) It has nothing to do with your OS.
     
  14. Feb 17, 2021 #12914 of 12951
    Tony_T

    Tony_T Well-Known Member

    3,826
    1,687
    Nov 2, 2017
    I can connect from my Mac running High Sierra (as posted above), but not from my Mac running High Sierra, so it has something to do with macOS
     
  15. Feb 17, 2021 #12915 of 12951
    Tony_T

    Tony_T Well-Known Member

    3,826
    1,687
    Nov 2, 2017
    I try that when I get a chance, but for now, I’ll just run kmttg from my Mac with High Sierra.
     
  16. Feb 17, 2021 #12916 of 12951
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    12,912
    1,213
    Apr 6, 2000
    SF Bay Area
    It has to do with Network Remote Control on the Tivo along with the RPC setting for each Tivo in KMTTG. RPC only works with Series 4 (Premiere) and above.
     
  17. Feb 17, 2021 #12917 of 12951
    Tony_T

    Tony_T Well-Known Member

    3,826
    1,687
    Nov 2, 2017
    It worked with the previous version of kmttg before the certificate expired.
    And it works with the current version of kmttg on an older macOS.
     
  18. Feb 17, 2021 #12918 of 12951
    Tony_T

    Tony_T Well-Known Member

    3,826
    1,687
    Nov 2, 2017
    ok, so deleted kmttg, downloaded a new version and it couldn't find the Tivo (settings and MAK were double checked).
    Deleted again, and copied the kmttg from the High Sierra Mac to the Catalina Mac and now working.
    Something with the settings, or certificate I guess.
     
    kpeters59 likes this.
  19. Mar 6, 2021 #12919 of 12951
    slowbiscuit

    slowbiscuit FUBAR

    4,690
    629
    Sep 19, 2006
    In the ATL
    So whoever's maintaining the code now, I have a request - if you have AutoSkip service enabled and running, don't disable it for a box if you can't connect to that box for X number of tries (don't know what X is, maybe 30 or so?). Looks like kmttg tries to connect to a box continually then gives up after those tries, so please add the option to try forever until manually disabled. Or quit trying but don't disable it in the service menu, so when kmttg restarts it will start trying again.

    There have been multiple occasions where I've had to reenable AutoSkip for one or more boxes because I had a power outage (with PC still running on UPS), was working on network etc. and I didn't realize that AutoSkip quit working because kmttg disabled it for that box. Usually happens to Minis since they're not on UPS.
     
  20. Mar 18, 2021 #12920 of 12951
    krkaufman

    krkaufman TDL shepherd

    16,739
    3,187
    Nov 25, 2003
    Does KMTTG possess the ability to export a DVR's list of channels and their associated frequencies? (Or is some other utility capable of this?)
     

Share This Page

spam firewall

Advertisements