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

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

  1. May 9, 2020 #12681 of 12731
    Joe Siegler

    Joe Siegler Member

    805
    6
    May 10, 2000
    Garland, TX
    Followup. Aside from the spaces issue I mentioned before, I wanted to let you know I'm using macOS Catalina 10.15.4, and this worked fine. Awesome script - thank you again.

    That sucks. I use this for a lot, but would hope that downloading from a TiVo would still work. I have an insanely large collection of things on my computer that I've recorded on my TiVo over the years. I get functionality might change, but if the ability to download from a TiVo is also removed, then WTF - TiVo?

    Well, I'm antenna only, and have been since 2011 due to unemployment at the time. I have a TiVo Bolt OTA, and it works well for that. However, in the last several years, there's been many decisions by TiVo that make me question my loyalty. My first ever TiVo model was in 2000, and I've had many since then. Some of the best features I've loved over the years have been just taken away. This isn't everything, but just a few highlights.

    1) KidZone. That's less of a concern now that my kids are 15 and 11, but I used that, and in the middle of using it, they took it away. Yeah, there's parental lock now, but that's NOT THE SAME.

    2) The ability to download video podcasts as episodes. I LOVED LOVED LOVED that, and to this day, it's the thing I'm still most pissed about. I loved being able to have it act as an RSS reader of sorts for video podcasts. The new episodes would just slot in with all my other recordings, and I thought it was a totally awesome way to watch those. Gone.

    3) The ability to copy programs back ON to my TiVo. This one is the entire reason why I have an archive of like 10-12 TB or so of recorded television from my TiVo's. I would retain them in their original .TiVo archives, so I'd copy 'em back and have all the proper info there. I never liked the idea of decrypting them and keeping a separate file with the details, so I left 'em in their original .TiVo shell. However, now that you can't put things BACK onto a TiVo (well using current software anyway), this means my entire archive of .TiVo files is useless now, so I'm likely going to just decrypt them all, and still keep 'em, but give up the ghost of ever watching them on my TiVo again. :)

    I'm an Apple person mostly, and love my Apple TV - it's where I do almost all my streaming. The only streaming stuff I do on the TiVo is the Youtube app, and that's only when I'm already on the TiVo and just go to that next. TiVo's streaming stuff is a total failure, and almost 100% useless. If Apple ever comes up with the ability to record OTA programming on an Apple TV box - similar to what Amazon has with the Fire TV recast, I'm done with TiVo most likely. Never thought I'd say that after 20 years, but here we are.
     
    mlippert likes this.
  2. May 9, 2020 #12682 of 12731
    moyekj

    moyekj Well-Known Member

    12,129
    796
    Jan 23, 2006
    Mission...
    Yes, but without RPC even simple things like Season and Episode numbers which a lot of people use as part of File Naming template will mostly not work since the TiVo file metadata is very sparse and often missing that kind of info. It used to be bad years ago, can only imagine it's worse these days.
     
    mlippert likes this.
  3. May 9, 2020 #12683 of 12731
    moyekj

    moyekj Well-Known Member

    12,129
    796
    Jan 23, 2006
    Mission...
    I'll pass the info along so will see, thanks.
     
  4. May 9, 2020 #12684 of 12731
    Joe Siegler

    Joe Siegler Member

    805
    6
    May 10, 2000
    Garland, TX
    Well, the only thing I really care about is Series title and episode title. I do most of this manually anyway. Even if I don't get that, I'm pedantic enough to do it manually on my own.
     
  5. May 9, 2020 #12685 of 12731
    moyekj

    moyekj Well-Known Member

    12,129
    796
    Jan 23, 2006
    Mission...
    He just tried it and no dice unfortunately. Couldn't get the tool to install properly.
     
  6. May 9, 2020 #12686 of 12731
    nazopo

    nazopo Member

    46
    0
    Dec 21, 2014
    Ah well I'll keep seeing what I can come up with then.
     
  7. May 10, 2020 #12687 of 12731
    mlippert

    mlippert Active Member

    301
    60
    Apr 2, 2010
    Massachusetts
    I converted pytivo to python 3 and did some work while I was at it to build the video info txt file, and I've was able to duplicate what kmttg writes with the very annoying exception of season and episode numbers. Which are very important for naming the saved files.
     
  8. May 24, 2020 #12688 of 12731
    reneg

    reneg Well-Known Member

    1,119
    221
    Jun 19, 2002
    Should I get my hopes up that this new jailbreak for IOS will help? unc0ver
     
    snerd and moyekj like this.
  9. May 24, 2020 #12689 of 12731
    badams888

    badams888 Member

    35
    10
    Jun 6, 2016
    I've built a program (rtivo) that implements a fully configurable mouse remote for sports shows. It runs along side KMTTG and sends it commands which are relayed to the Tivo via KMTTG's web server interface.

    These are the functions it implements. Configurable (ranges) in seconds.
    Code:
    
    Skip forward (10-60)    like 30 sec skip but configurable
    Skip Ad      (60-360)   2-3 minutes typical for sports
    Wheel click  (5-30)     10 secs works well +/-
    Shift-Wheel  (60-320)   typically 1 minute works well
    half-time    (5-20 min) use 12 for nfl 20 for college games
    
    There's also toggles for,
    
    Pause
    Close Captions
    Quick mode
    Standby
    
    
    It works best with a good wireless 5 button mouse with tilt-wheel. Continuous wheels work, but ones with digital steps are better.

    The design challenge was how to map all those functions onto only the mouse. No keyboard needed, nothing to display, just run, configure, start and close the laptop lid. One uses the normal remote to select and start playing. The tilt-wheel and buttons 4-5 are for toggles and to quit. Mouse motion is ignored and also suppressed (so it won't wander about).

    Shift is actually a (long)press of the right mouse button and held down as a shift key. Right click tap to skip N secs, left to skip ads, shifted left to skip halftime.

    While it's not as responsive as the regular remote, it's quick enough and works fine along with it, for two-handed control if desired.

    The wheel is it's best feature. One can single step a wheel or give it a twirl. Fast twirls are combined into 2 skips; the first is sent immediately while collecting the rest to send in one larger skip. This makes it pretty responsive. When shifted, it can be used to skip +/- minutes quickly.

    If there's any interest, see links. It runs on windows only. It's implemented using tcl/tk and comprised of just 2 files w/o anything needing to be installed, one .exe and one script. The tcl/tk .exe is available from sourceforge and is safe to use (8.6.10 gui version required, included in download link also):

    Tcl Windows API extension - Browse /Tcl binaries/Tclkits with TWAPI at SourceForge.net

    Dropbox - rtivo.zip - Simplify your life

    Here's a screen shot:

    Dropbox - Clipboard01-rtivo.jpg - Simplify your life
     
    Last edited: May 30, 2020
    elprice7345, mlippert and kpeters59 like this.
  10. May 24, 2020 #12690 of 12731
    minimeh

    minimeh Vanity Phrase Here

    345
    75
    Jun 20, 2011
    San Francisco
    Ah yes, sports shows. I vaguely remember that, I think.

    Clever idea. I wonder how rtivo works with a mouse pad?
     
  11. May 24, 2020 #12691 of 12731
    badams888

    badams888 Member

    35
    10
    Jun 6, 2016
    Thanks, that's why I wrote it, with only "classic" sports to watch, skipping is even more important. I've used it for golf lately, where they have nice outdoor sunny vistas, something I also sorta remember. But golfers are too slow, hence the wheel at 10 seconds a click in both directions seems just about right.

    By mouse pad, I presume you mean a track pad or some such. Tcl gets input events for mouse buttons, mouse wheel, and key strokes. On a track pad, I presume the scrolling area is just sending wheel events, but I haven't actually tested that. But a track pad usually has at least the 2 buttons. I ignore mouse movement, in fact it's important to stifle those, lest the pointer touch something outside the program. Once it's running I don't look at or touch the computer. My mouse works well at 20 feet away.

    Edit:

    This comment about track pads gave me an idea. I am now using the mouse movement to implement the equivalent of left/right swipes, which map into the mousewheel. I normally turn off the trackpad on my laptop since I can't avoid interference from my palms touching it while typing, but I see mine also has 2 finger up/down gestures that also map to mouse wheel movement. I've updated the screenshot referenced in my earlier post.

    End edit

    It's not really limited to sports, but since sports seldom have the auto-skipping, I wanted more than just 30 forward, 7 back. And there's lots to skip between the ads too these days.
     
    Last edited: May 25, 2020
  12. May 25, 2020 #12692 of 12731
    Alan747

    Alan747 New Member

    8
    2
    Jan 28, 2015
    I hope this is the right way to ask a new question...if not, please advise.

    I would like to understand why Tivo Desktop components run when I use kmttg. I am trying to transfer shows with kmttg from my TiVo Premiere to my Windows 10 computer. Sometimes these transfers go well at 6-10 Mbps, but more often the transfer is painfully slow at 0.3-0.5 Mbps, and at those latter times I get error messages on screen from TiVo Desktop (which I am not intentionally running) stating "Out of memory" and "Access violation at address 77413D63 in module ntdll.dll Write of address 00000014". I presume these errors are related to the very slow transfer speed since they do not occur with faster transfers.

    The only way I can clear these error messages from my screen is to start the task manager and end the TivoNotify process, i.e., they are frozen and don't respond to their own buttons. Even then the computer is not right, for example, left clicking the Windows icon does not bring up the start menu, but right click does work as usual.

    Why is this happening? Does kmttg somehow start TiVo processes? Could this be related to the very slow transfers (it doesn't happen at those times when the transfer speed is normal). I really need to fix this because it takes over 2 hours to transfer a 30 minute show.
     
  13. May 25, 2020 #12693 of 12731
    minimeh

    minimeh Vanity Phrase Here

    345
    75
    Jun 20, 2011
    San Francisco
    Depending on how you have configured kmttg, it may invoke a filter from the desktop installation for decoding the .TIVO file. In fact, if you don't use Tivo Desktop, you should do a partial un-installation which leaves behind the required filter. You'll see the partial installation option upon uninstalling the desktop via "Apps and Features."
    Sounds like the file is trashed. Clearly you have a munged file in this scenario.
    When getting errors of this type, you should really reboot Windows as it may well be in an unstable state that could lead to further problems, e.g. the Windows menu as you mentioned and even worse.
    TivoNotify runs as a background process with the full Tivo Desktop installation. It is apparently involved with the filter's operation in decoding the .TIVO file. Do the partial un-installation and that will be eliminated.

    However, the real problem is the file download. When you see the download is super-slow, I think it's safe to assume that nothing good will come of it, so just cancel it. You could try starting the download again, but that might be bad as well. Whenever I have this kind of inexplicable and unusual problem, I tend to reboot everything--the Tivo, the PC, any routers, switches, hubs, etc. between them, and even unplug and replug the ethernet cables, maybe even replacing those cables.

    You say you don't have cables but are running wireless? Don't do that. Wireless is notoriously finicky. But rebooting everything may get it back on track.
     
  14. May 27, 2020 #12694 of 12731
    andcbii

    andcbii New Member

    8
    0
    Jul 14, 2009
    Is there any progress on making kmttg more compatible with VideoReDo 6? I'm still seeing issues running as a service.
     
  15. May 31, 2020 #12695 of 12731
    Alan747

    Alan747 New Member

    8
    2
    Jan 28, 2015
    Thank you, minimeh, for your detailed reply. It was very helpful.

    I followed your advice about partially uninstalling TivoDesktop, and that fixed the problem with the frozen-screen error messages from TivoNotify, and the computer now behaves normally after kmttg transfers.

    At first I thought that fixed the problem with slow transfers as well, as it was transferring at about 15 Mbps with some slowdowns to 5 Mbps, but at one point I was watching a 15 Mbps transfer and when it was about 2/3 done, it suddenly switched to 0.4 Mbps, and no amount of restarting either transfers or the program would improve it. So I followed your advice to start rebooting things, and rebooting the router restored the 15 Mbps transfer speed. I did 10 transfers after that, and the last one slowed to about 7 Mbps, but I'm hoping that is not a trend.

    So one further question I have is whether there is anything I can do with the router to get a lasting fix, perhaps with the settings? I think this router automatically updates its firmware, in case that makes a difference.

    I realize the wireless connection is not ideal, but the computer and Tivo are in different rooms and there is no practical way for me to run ethernet between them.

    Another odd problem I had with kmttg was in trying to use the autotune setting to change the Tivo to unused channels before a download. When I tested this, it returned a Telnet error that it could not contact the Tivo. I installed the Windows 10 Telnet module, but that did not help. With that, I am able to use a command box to Telnet to the Tivo IP address with no error message. Any idea what is going on with this? Could it shed any light on the transfer speed problem?

    Thanks again so much for your help.
     
  16. May 31, 2020 #12696 of 12731
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    11,684
    917
    Apr 6, 2000
    SF Bay Area
    The speed of transfers also depends on the distance between the Tivo and the router, which shows as the signal strength in the router and Tivo.
     
  17. May 31, 2020 #12697 of 12731
    Mikeguy

    Mikeguy Well-Known Member

    27,636
    9,192
    Jul 28, 2005
    With my Roamio box connected to my router by Wifi (also due to distance and physicality limitations), I have had some success in speeding its way-slow connection up, to a more normal level, by attaching an inexpensive Edimax WiFi bridge I had around to the Roamio box by Ethernet cable (still keeping the bridge nearby), so that the DVR used that for the WiFi connection rather than its internal WiFi adapter.* As @JoeKustra is found of noting, the wireless adapters used by TiVo in its DVRs can be less than powerful.

    * You then, of course, need to change the TiVo box's networking settings to the use of Ethernet rather than WiFi, "tricking" the DVR.
     
  18. May 31, 2020 #12698 of 12731
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    11,684
    917
    Apr 6, 2000
    SF Bay Area
    I have the Roamio connected on 5G and my computer on Wireless-N, lately, I get speeds as high as about 53Mb/s on KMTTG. Gateway/router is only about 20 ft away from both.
     
  19. May 31, 2020 #12699 of 12731
    JoeKustra

    JoeKustra in the other Alabama TCF Club

    19,393
    3,503
    Dec 7, 2012
    Ashland, PA...
    All wireless with basic Roamio:
    Roamio Ethernet to wireless bridge to PC: 100Mbps
    Roamio Ethernet to wireless bridge to Roamio wireless bridge, usually 93Mbps
    Roamio to Roamio: 60Mbps

    TE3 still has diagnostics to show the speed. TE4 removed that.
     
  20. May 31, 2020 #12700 of 12731
    ThAbtO

    ThAbtO TiVoholic by the bay TCF Club

    11,684
    917
    Apr 6, 2000
    SF Bay Area
    Its under Transfer History. Is that not in TE4 anymore?

    2020-05-31.jpg
     

Share This Page