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. Mar 13, 2010 #2021 of 10412
    miguelakiira

    miguelakiira New Member

    37
    0
    Jan 26, 2010
    Moyekj, for months now I have been wondering why kmttg stops downloading for a couple of hours, and now I realize it is because the active job limit can become tied up with qsfixes, would it be possible to have a config that allows you to set active tivo download active job limit separate from qsfix job limits?
     
  2. Mar 13, 2010 #2022 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Downloads are not affected by "active job limit" setting. There are restrictions on downloads to limit them to 1 per TiVo at a time but that is unrelated to active job limit. The Auto Transfers loop for a particular TiVo will wait for all jobs associated with that TiVo to complete before entering the next loop, so even when all downloads are complete there could be non-download tasks that must be completed before the next auto transfers loop begins. i.e. in pseudo-code currently algorithm is:
    Code:
    loop
     foreach tivo
       if all jobs related to this tivo finished
          sleep X minutes
       else
          launch new jobs once X minute sleep is reached
       endif   
     end foreach
    
     sleep 2 seconds
     check all running jobs
    
    end loop
    
     
  3. Mar 14, 2010 #2023 of 10412
    larrs

    larrs Movie Fan-Addict

    1,011
    0
    May 2, 2005
    DFW
    Great program!

    I am having only one issue getting kmttg setup with VideoRedo V4. I am getting an error message that Could not locate automation class named VideoRedo.VideoRedo.silent

    This is followed by Encountered problems obtaining encoding profiles from VideoRedo.

    So, right now I am just downloading the tivo file and then manually using VRD.


    I have specified my path to my VRD installation properly (by double clicking and browsing for the appropriate folder). Any ideas? I am running Vista.

    Otherwise it is working great- much preferred over Desktop...

    Thanks
     
  4. Mar 14, 2010 #2024 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Consult the VideoRedo_configuration Wiki page for tips on solving that kind of issue.
     
  5. Mar 15, 2010 #2025 of 10412
    larrs

    larrs Movie Fan-Addict

    1,011
    0
    May 2, 2005
    DFW
    kmttg is not in the services list. ??
     
  6. Mar 15, 2010 #2026 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    The section entitled RUNNING VIDEOREDO FROM KMTTG is relevant if running kmttg GUI. Basically try running VideoRedo GUI as Administrator at least once so as to register VideoRedo.VideoRedoSilent in registry which is what is needed to run VideoRedo in silent mode. If you still can't get things working then in kmttg configuration under VideoRedo tab turn on Allow multiple VideoRedo jobs at once option and that should work since it uses the graphical mode instead.
     
  7. Mar 15, 2010 #2027 of 10412
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Sorry if asked and answered, but is it possible to single thread kmttg's "to do" list? For example, while a program is qsfixing or comskipping, curl kicks in and downloads the next .tivo file, saving time. If the kmttg service has been stopped for awhile, there could be several jobs added to the queue, resulting in quite a few .tivo files on the harddrive, waiting for their turn to be processed. For those with limited space but ample time, could there be a "space saver" mode that wouldn't download the next .tivo file until after the last step is performed? In my case, that would be a custom command that I run.

    Thanks! If it's already possible, I won't open an issue at code.google.com...

    Nevermind. Found this in the wiki:

     
  8. Mar 16, 2010 #2028 of 10412
    larrs

    larrs Movie Fan-Addict

    1,011
    0
    May 2, 2005
    DFW
    OK, that did it. Thanks for the responses. I am stumped as to why it took me so long to discover this. Great, great program!

    I'll chime in with the others: you should accept donations for this. If not for yourself, because you are already independently wealthy :), then for a charity of your chosing.
     
  9. Mar 17, 2010 #2029 of 10412
    Hcour

    Hcour Member

    867
    11
    Dec 24, 2007
    All of a sudden I keep getting this msg when I try to copy some programs from my Tivo to my computer:

    read chunk data: No error
    seek: No error
    Encryption by QUALCOMM ;)


    All my programs are OTA. Any idea what's going on? Thanks.
     
  10. Mar 17, 2010 #2030 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    That's likely an incomplete/partial TiVo file that tivodecode is operating on. You can use Mediainfo to examine the TiVo file and see what program length is listed or if you are on Windows and have TiVo Desktop installed you can try playing TiVo in WMP and see what program length is reported. It's likely you have an incomplete download.
     
  11. Mar 17, 2010 #2031 of 10412
    miguelakiira

    miguelakiira New Member

    37
    0
    Jan 26, 2010
    Hi moyekj,
    what are the other active jobs that associate with a tivo, that could stop curl from moving on to the next download? Is it possible that the Tivo job gets stuck on a qsfix and doesn't proceed with downloads? In the morning I usually have 8 stuck videoredo processes that are trying to qsfix and no curl processes. These are qsfixes that have already been done, and kmttg is repeating them because I have history.log erased every night.
    I have these errors:

    2010_03_17_08:34:26 ERROR: qsfix failed (exit code: 0 ) - check command: C:\Windows\system32\cscript.exe //nologo C:\Users\Akiira\AppData\Local\Temp\VRD5568999930680798602.vbs "L:\\Overhaulin - Uncle Sams Nephew (DSC_27 03_15_2010).mpg" "L:\\Overhaulin - Uncle Sams Nephew (DSC_27 03_15_2010).mpg.qsfix" /l:C:\Users\Akiira\AppData\Local\Temp\VRDLock8522574333745980387.tmp
    2010_03_17_08:34:26 ERROR: C:\Users\Akiira\AppData\Local\Temp\VRD5568999930680798602.vbs(25, 1) WScript.CreateObject: Could not create object named "VideoReDo.Application".
     
  12. Mar 17, 2010 #2032 of 10412
    Hcour

    Hcour Member

    867
    11
    Dec 24, 2007
    No, that's not it. This is now happening with all my files. The recordings are complete. Here's the msg I'm getting now. Is it saying it can't communicate with Tivo? It's reading my NPL fine when I press "Refresh" and I can pull files from my computer to the Tivo from the Tivo, so my computer and Tivo are communicating.

    >> DOWNLOADING Y:\Tivo\NBC Nightly News (03_16_2010) (18).TiVo ...
    "C:\Program Files\kmttg\curl\curl.exe" --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Harold\AppData\Local\Temp\cookie1389940507771010592.tmp --url http://192.168.0.101:80/download/NBC Nightly News.TiVo?Container=/NowPlaying&id=163961 --output "Y:\Tivo\NBC Nightly News (03_16_2010) (18).TiVo"
    Y:\Tivo\NBC Nightly News (03_16_2010) (18).TiVo: size=0.00 MB elapsed=00:00:08 (0.00 Mbps)
    <h2>Server Busy</h2>
    Download failed to file: Y:\Tivo\NBC Nightly News (03_16_2010) (18).TiVo
    Exit code: 0
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed

    0 31 0 31 0 0 99 0 --:--:-- --:--:-- --:--:-- 99
    0 31 0 31 0 0 99 0 --:--:-- --:--:-- --:--:-- 0
    0 51 0 51 0 0 96 0 --:--:-- --:--:-- --:--:-- 96
    Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries
    Warning: left.
    Throwing away 51 bytes

    0 51 0 51 0 0 251 0 --:--:-- --:--:-- --:--:-- 251
    0 51 0 51 0 0 251 0 --:--:-- --:--:-- --:--:-- 0
    Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries
    Warning: left.
    Throwing away 51 bytes

    0 51 0 51 0 0 272 0 --:--:-- --:--:-- --:--:-- 272
    0 51 0 51 0 0 272 0 --:--:-- --:--:-- --:--:-- 0
    Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries
    Warning: left.
    Throwing away 51 bytes

    0 51 0 51 0 0 296 0 --:--:-- --:--:-- --:--:-- 296
    0 51 0 51 0 0 296 0 --:--:-- --:--:-- --:--:-- 0
    >> DECRYPTING Y:\Tivo\NBC Nightly News (03_16_2010) (18).TiVo ...
    "C:\Program Files\kmttg\tivodecode\tivodecode.exe" --mak MAK --out "Y:\Tivo\NBC Nightly News (03_16_2010) (18).mpg" "Y:\Tivo\NBC Nightly News (03_16_2010) (18).TiVo"
    tivodecode failed (exit code: 9 ) - check command: "C:\Program Files\kmttg\tivodecode\tivodecode.exe" --mak MAK --out "Y:\Tivo\NBC Nightly News (03_16_2010) (18).mpg" "Y:\Tivo\NBC Nightly News (03_16_2010) (18).TiVo"
    read chunk data: No error
    seek: No error
    Encryption by QUALCOMM ;)
     
  13. Mar 17, 2010 #2033 of 10412
    miguelakiira

    miguelakiira New Member

    37
    0
    Jan 26, 2010
    I think things would be a lot better if qsfix jobs are not associated with download jobs, ie, if they functioned independantly
    also if there was a separate qsfix history log that identified the written files on the pc, instead of identifying the Tivo id's, because the Tivo ids are too general, I think that is what tvap does?
     
  14. Mar 17, 2010 #2034 of 10412
    miguelakiira

    miguelakiira New Member

    37
    0
    Jan 26, 2010
    or have kmttg check for already written mpg with same name before it starts a qsfix job,
    p7j beta is still overwriting mpgs that have already been qsfixed if they are not listed in the history log
     
  15. Mar 17, 2010 #2035 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    That is your problem. Your TiVo is not allowing downloads to happen due to "Server Busy" error. If you look at the associated .TiVo files they they will be tiny and contain html text listed as part of the kmttg error. You need to reboot your TiVo to fix the problem. Note that next release already has better detection of download errors and ability to retry downloads automatically but I haven't had time to finish up and publish that release yet.
     
  16. Mar 17, 2010 #2036 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Why are you erasing history.log file? Is it because of problems of shows with non-unique ProgramId entries? If so you could benefit significantly from enhancement described in this issue that CrispyCritter devised:
    http://code.google.com/p/kmttg/issues/detail?id=93
    For running VideoRedo in service mode you have to configure service to run with proper account. See the VideoRedo_configuration Wiki.
     
  17. Mar 17, 2010 #2037 of 10412
    Hcour

    Hcour Member

    867
    11
    Dec 24, 2007
    Reboot did it. You are a genius, sir! Thanks muchly.
     
  18. Mar 17, 2010 #2038 of 10412
    miguelakiira

    miguelakiira New Member

    37
    0
    Jan 26, 2010
    cool! let me try 93a!
    the failed videoredos are not because of account, I have the service configured correctly. It has something to do with qsfixing files that already have been qsfixed?
     
  19. Mar 17, 2010 #2039 of 10412
    superflysocal

    superflysocal New Member

    70
    0
    Nov 26, 2009
    awesome program! this is reason enough to keep my tivo instead of moxi.

    One request: in Auto transfer config, can we make the time filter option to be not global or an option for it not to be global but for each individual shows?
     
  20. Mar 17, 2010 #2040 of 10412
    miguelakiira

    miguelakiira New Member

    37
    0
    Jan 26, 2010
    moyekj, what are the non-download jobs that a tivo must do before it is freed up to download again? sometimes, the tivo doesn't download for hours. Is it the qsfix? Is it possible to keep the tivo downloading at all times? thanks for all your hard work!
     

Share This Page