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. Jul 1, 2009 #1001 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    I. Noted. Will add that profile to existing set.

    II. I'll look into allowing [srtFile] and some of the other filenames inside encoding profiles.
    NOTE: streambaby does support closed captions from SRT files - if you have file.srt file accompanying your file.whatever video file it will automatically add captions while streaming. There are options for controlling font size as well. (I worked on the initial implementation of closed captioning support in streambaby and it turned out it actually works fairly well).

    III. I can add an option for additional arguments to t2extract.

    Please file an issue request citing this thread which is useful for tracking the issues and for me to get you development versions of kmttg to try out the enhancements.

     
  2. Jul 1, 2009 #1002 of 10413
    ACraigL

    ACraigL Member

    694
    0
    Feb 12, 2003
    Thanks -- I have that going now. I was just wondering if there was a way to add fields that are not currently going in (like genre and year, for example).

    I added something late to the thread -- what's the recommended way to boost audio with your program? A 1.4 setting in TiVoDeskop seem to work best for me.

    EDIT: Nevermind -- found it in the thread. Will try to use -D 2. :)
     
  3. Jul 1, 2009 #1003 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    You can add whatever you want with AtomicParsley. Just run it in a command tool with -help and -longhelp to see the arguments. Play with it, you'll figure it out. You can just copy the .exe to wherever you want to run it. Then, if you can figure it out, you can add whatever fields you want to the text file that kmttg creates and those tags will be added as part of the process.

    The process that gets the metadata from tivo doesn't get everything, so if you importing into itunes, some fields are missing, like the year, and tivo does episode numbers and titles differently than itunes does.

    -David
     
  4. Jul 1, 2009 #1004 of 10413
    dlfl

    dlfl Cranky old novice

    6,997
    18
    Jul 6, 2006
    Near...
    Here is a simple two-step process that should work:
    1. Use metagenerator to get the metadata into a pyTiVo style metadata (simple text) file.
    2. Use pyTiVoParsley to put the metadata in the .mp4 or .m4v file. (It uses AtomicParsley but you don't have to master the details.)

    This is a manual process. Not as good as having kmttg add all the desired tags automatically -- if there is a way to do that (?).
     
  5. Jul 1, 2009 #1005 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    These are all the AtomicParsley options that are looked at to be filled right now in kmttg:
    -S --title --grouping --year --description -H --TVEpisode --TVEpisodeNum --TVSeason --TVNetwork
    Obvious caveat is that not all the data is always available. There is more data available if you start from shows directly from your Tivos rather than .TiVo files which contain less metadata.

    NOTE: There probably is plenty of room for improvement. Since I don't use iTunes myself I depend on feedback/suggestions from people that do to get it working properly. Right now, for example the TVSeason and TVEpisodeNum are derived from 3 or 4 digit Tivo episode number if it exists. While that is OK for a lot of shows it probably is not universally correct.
     
  6. Jul 1, 2009 #1006 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Yes :) Don't you recall how you created pyTivoParsley.exe?

    -David
     
  7. Jul 1, 2009 #1007 of 10413
    ACraigL

    ACraigL Member

    694
    0
    Feb 12, 2003
    Good info. Thanks.

    Is AP called from code, or is there an external command somewhere that I can modify? I was not sure how to get to the call... maybe we can start there. If it's hard coded, perhaps a future config file can determine what gets inserted.

    FWIW, what's going in there now is pretty good -- description is key for me since I put many movies on my iPod and it's the best way for me to decide what to watch -- genre helps me too, hence the request.

    I orginally learned a lot on AP when doing Vista Media Center conversion automation. My source was http://onlydarksets.com/2009/01/02/converting-sagetv-recordings-to-zuneipodiphone-version-20/

    See step 10 for incorporating AP. Ultimately, this is what I'm looking for, and what I have now from recordings on my Media Center (which I use for network HD broadcasts -- I'm using an older Series2 for recording movies for my iPod).
     
  8. Jul 1, 2009 #1008 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    It's all done in code. You can browse the relevant code using this link
    The atomicGetArgs procedure starting line 146 is what parses the metadata text file and builds the AP command line arguments.
     
  9. Jul 1, 2009 #1009 of 10413
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Was the issue Mac only, or was it apparent on the PeeeCeee platform as well?
     
  10. Jul 1, 2009 #1010 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    It was a general silly little bug affecting all platforms. Problem only happened if you start kmttg with "Look for Tivos on network" option disabled. I suspect most people don't turn that option off in which case they would not have a problem.
     
  11. Jul 1, 2009 #1011 of 10413
    dlfl

    dlfl Cranky old novice

    6,997
    18
    Jul 6, 2006
    Near...
    Probably not ... remember I am the cranky old novice. What I meant was an easy way for users to control tags that are added (without modifying the kmttg code, e.g., via a configuration file).

    metaGenerator will give you a full complement of metaData obtained independently via web databases.
     
  12. Jul 1, 2009 #1012 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    You can always use the "custom" task to run whatever script/program what you want, including AtomicParsley if you wish. That would be one way to setup a completely custom/automated AtomicParsley task.
     
  13. Jul 1, 2009 #1013 of 10413
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    I wonder if this was the issue that I had here:

    Lord Xerxes
     
  14. Jul 1, 2009 #1014 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Post 982 I think is what you intended to point to. And yes, looks like same issue which is fixed in latest release.
     
  15. Jul 1, 2009 #1015 of 10413
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    Incidentally, I am still having my Power Management (?) issue where all tasks pause when my machine is idle. I am at a complete loss at this point. I have tweaked just about all the power management settings that I can find that might cause the machine to stay on, but pause the kmttg processes. Some of the other applications that run on my machine (Seti@Home, Folding@Home, etc.) still download and process.

    Lord Xerxes
     
  16. Jul 1, 2009 #1016 of 10413
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    That's a strange one I can't reproduce. Well I suppose you could just turn off screen saver and turn off the monitor instead after kicking off the jobs, or setup auto transfers and run as a service.
     
  17. Jul 1, 2009 #1017 of 10413
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    I don't think that the display settings have anything to do with it. I originally thought it had to do with "Away Mode" in Vista's Power Management, but I am pretty sure that I turned off this setting using Powercfg.exe.

    Lord Xerxes
     
  18. Jul 1, 2009 #1018 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    You are running both seti@home and f@h? Are they both setup as low priority tasks?

    Try disabling both of them and see if it makes a difference. In theory, they should only be running at low priority, but you should eliminate them as a source of the problem.

    Most people run one of them or the other. It's usually not productive to run both at the same time since both of them will use all the available cpu power they can get.

    I run f@h, but not on the machine that does tivo processing. Depending on how you have f@h setup, it should be fine though. The default is that f@h runs just above idle priority so will only consume cpu cycles when nothing else is running. I think there's a setting for it in client.cfg. If you changed it from it's default setting, that might be a problem. I don't use the screen saver version either, and if you are using the screen saver versions of these programs, that might explain what's going on.

    -David
     
  19. Jul 1, 2009 #1019 of 10413
    LordXerxes

    LordXerxes New Member

    13
    0
    Mar 30, 2005
    Actually, Seti@Home is running via CPU and Folding@Home is running via GPU. But when I have been processing with kmttg I have had both disabled. It looks like both processes are running at Normal Priority, and I don't use either as a screen saver.

    Lord Xerxes
     
  20. Jul 2, 2009 #1020 of 10413
    jbrown13

    jbrown13 New Member

    34
    0
    Jun 29, 2006
    Perry, GA
    My TiVo desktop just stopped transferring files from my Series 2 DVR to my PC (see http://www.tivocommunity.com/tivo-vb/showthread.php?t=428894), and searching around I found reference to KMTTG. I installed it, but can't get it to run. I keep getting the following error:

    <h2>Server Busy</h2>
    Download failed to file: C:\Documents and Settings\Jeff Brown\My Documents\Downloads\kmttg_v0p6i\Prairie Fever (07_01_2009).TiVo
    Exit Code: 0
    % Total %Received %Xfered Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed

    0 31 0 31 0 0 165 0 --:--:-- --:--:-- --:--:-- 165
    0 31 0 31 0 0 165 0 --:--:-- --:--:-- --:--:-- 0
    0 51 0 51 0 0 155 0 --:--:-- --:--:-- --:--:-- 155
    Warning: Transient Problem: HTTP error Will retry in 1 seconds. 3 reties.
    Warning: Left.
    Throwing Away 51 bytes

    0 51 0 51 0 0 296 0 --:--:-- --:--:-- --:--:-- 296
    0 51 0 51 0 0 296 0 --:--:-- --:--:-- --:--:-- 0
    Warning: Transient Problem: HTTP error Will retry in 2 seconds. 2 reties.
    Warning: Left.
    Throwing Away 51 bytes

    0 51 0 51 0 0 362 0 --:--:-- --:--:-- --:--:-- 296
    0 51 0 51 0 0 362 0 --:--:-- --:--:-- --:--:-- 0
    Warning: Transient Problem: HTTP error Will retry in 4 seconds. 1 reties.
    Warning: Left.
    Throwing Away 51 bytes

    0 51 0 51 0 0 362 0 --:--:-- --:--:-- --:--:-- 362
    0 51 0 51 0 0 362 0 --:--:-- --:--:-- --:--:-- 0


    Then it attempts to run the decoder, but it can't find the file and gives me another error.

    I'm totally lost as to how to make this work. Any suggestions would be appreciated. I do own VideoReDo, which is installed on my machine.

    Thanks.
     

Share This Page