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. Nov 6, 2009 #1461 of 10413
    txporter

    txporter One sec, almost done

    666
    0
    Sep 17, 2006
    Austin, TX
    Kevin, if you have TVsuite rather than Plus (I have Plus), head over to the thread. You might be able to get involved in the testing. Might want to mention that you are the person interested in using the audio strings with the scripting.
     
  2. Nov 6, 2009 #1462 of 10413
    moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    I have Plus as well... I have not had a need for DVD burning for a long time now.
     
  3. Nov 6, 2009 #1463 of 10413
    Kaiser_Amir

    Kaiser_Amir New Member

    2
    0
    Nov 6, 2009
    Hi,

    Thanks for your reply.

    While googling for a solution to the "windows media player cannot access the file" error, I saw that some other member of this board had the same problem.

    Since you say that this error has nothing to do with kmttg (which I have to admit I have no idea what it is), I wanted to ask if you know why this error keeps showing up when I try to play some of my .mpg files?

    As I said earlier:

    - I recently installed a new version of windows on my other hard-disk (I have two hard disks).

    - After installing windows, I moved some of my .mpg files from one hard drive to another.

    - Now, when I try to play some of those .mpg files, I get the error I told you about.
     
  4. Nov 7, 2009 #1464 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Hey, was there a fix to AtomicParsley that I need to download? Where is it?

    After not using kmttg for a while, I downloaded the latest one, installed it over the old files, and tried encoding a new episode of CSI: NY. After importing the file into itunes, the video info didn't have the series name or season number. I had to add them by hand. The show just showed up in itunes as the episode name without the series title, like it wasn't part of a series. The filename had it all, and the leftover txt file seems to have some of it, but not all of it.

    What did I screw up? I guess the other thing that changed is that I'm running win7 now, and was running vista before, both 64-bit versions. Since I installed over the old files, the other support programs are already there, and weren't downloaded again. I looked at the link you posted to atomicparsley, it's just the sourceforge link and it hasn't changed there for years. I guess itunes version has changed also, I'm using 64-bit itunes 9.0.1. At least it recognizes when you change that stuff, before it just ignored your manual changes in itunes/info.

    I don't seem to have any special/weird settings under configure. No custom job either.

    Here's some of the txt file:

    Code:
    title : CSI: NY
    seriesTitle : CSI: NY
    description : When an executive from a software company bleeds to death on a Manhattan street, the CSIs delve into the messy world of "food sploshing" parties to find his killer. 
    time : 2009-11-05T07:00:00Z
    isEpisode : true
    originalAirDate : 2009-11-04T00:00:00Z
    episodeTitle : It Happened to Me
    isEpisodic : true
    showingBits : 659459
    tvRating : x5
    displayMajorNumber : 1007
    callsign : KGMBDT
    seriesId : SH679714
    vActor : Sinise|Gary
    ...
    vDirector : Zakrzewski|Alex
    vExecProducer : Bruckheimer|Jerry
    ...
    vProgramGenre : Action Adventure
    ...
    vSeriesGenre : Action Adventure
    ...
    vGuestStar : Krizmanich|Jack
    ....
    vWriter : Battles|Wendy
    vWriter : Veasey|Pam
    
    -David
     
  5. Nov 7, 2009 #1465 of 10413
    moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    Icarus, there were some user provided fixes for v0p7a.

    Note that all the information given to AtomicParsley is based on what is contained in .txt file. Your posted .txt file doesn't seem to have episodeNumber but it does have title & episodeTitle.

    Whether you run in GUI mode or Auto mode kmttg logs the call to AtomicParsley so you should be able to see all the arguments it used. Below is a summary of .txt file keys to AtomicParsley argument mappings that kmttg is doing. The relevant source code you can find here in the atomicGetArgs() method.

    isEpisodic=true => -S "TV Show", else -S "Movie"
    episodeTitle => --title
    vProgramGenre => --grouping
    originalAirDate => --year
    description => --description
    title => --TVShowName
    episodeNumber => --TVEpisodeNum, --TVEpisode, --TVSeason
    callsign => --TVNetwork
     
  6. Nov 7, 2009 #1466 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Here's what's in the log. It's missing some of the fields, like the series title, etc.

    >> Running AtomicParsley on C:\Users\dmk\video\kmttg\files\CSI NY - It Happened
    to Me__Wed_Nov_04.m4v ...
    "C:\Program Files\kmttg\AtomicParsley\AtomicParsley.exe" "C:\Users\dmk\video\kmt
    tg\files\CSI NY - It Happened to Me__Wed_Nov_04.m4v" --overWrite -S "TV Show" --
    title "It Happened to Me" --grouping "Action Adventure" --description "When an e
    xecutive from a software company bleeds to death on a Manhattan street, the CSIs
    delve into the messy world of food sploshing parties to find his killer. " --TV
    Network KGMBDT

    Code:
    {dmk@sony:111} ~/root/Program\ Files/kmttg/AtomicParsley/AtomicParsley.exe x.m4v
     -t
    Atom "ctoo" contains: HandBrake 0.9.3 2008112300
    Atom "stik" contains: TV Show
    Atom "cnam" contains: It Happened to Me
    Atom "cgrp" contains: Action Adventure
    Atom "desc" contains: When an executive from a software company bleeds to death
    on a Manhattan street, the CSIs delve into the messy world of food sploshing par
    ties to find his killer.
    Atom "tvnn" contains: KGMBDT
    {dmk@sony:112}
    
    And I can add the TVShowName using AtomicParsley.

    oh, I have v0p7d. Which is what I just downloaded.

    Is there any possibility the command line is getting too long? That doesn't make sense, because looking at the code, it just skipped over setting the series name, and network name is after that.

    ok, let me try a fresh install into a clean directory and see if that changes anything. I'll save the old directory where I have it setup.
     
  7. Nov 7, 2009 #1467 of 10413
    moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    Icarus, I see where the problem is now. The metadata parser was too simplistic and messing things up when there were ":" characters in the values such as this case with "CSI: NY". Please visit this issue for details and a beta version fix:
    http://code.google.com/p/kmttg/issues/detail?id=62

    With the fix and your metadata file you now get this (i.e. cday and tvsh added):
    Code:
    Atom "stik" contains: TV Show
    Atom "cnam" contains: It Happened to Me
    Atom "cgrp" contains: Action Adventure
    Atom "cday" contains: 2009-11-04T00:00:00Z
    Atom "desc" contains: When an executive from a software company bleeds to death
    on a Manhattan street, the CSIs delve into the messy world of food sploshing par
    ties to find his killer.
    Atom "tvsh" contains: CSI: NY
    Atom "tvnn" contains: KGMBDT
    
     
  8. Nov 7, 2009 #1468 of 10413
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    Yep, I REALLY like this feature! As I bounce the kmttg service, I like to move auto.log to a directory, adding date and time the file was closed to the filename. I use a command similar to this to review history:

    Code:
    find "START PROCESSING OF ENTRY:" "C:\Program Files\kmttg\logs\auto\auto.2009.11.07.11.33.log"
    or this for current activity:

    Code:
    find "START PROCESSING OF ENTRY:" "C:\Program Files\kmttg\auto.log"
     
  9. Nov 7, 2009 #1469 of 10413
    TravisM

    TravisM New Member

    19
    0
    Mar 15, 2005
    Shoreline...
    Is Windows 7 supported?
     
  10. Nov 7, 2009 #1470 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    It runs fine in windows 7. That's what I'm running.

    It's written in java. The code itself is OS agnostic. It uses some support programs which have to exist and they do for xp, vista, windows 7, and several other OS'.

    -David
     
  11. Nov 8, 2009 #1471 of 10413
    TravisM

    TravisM New Member

    19
    0
    Mar 15, 2005
    Shoreline...
    Thanks.

    I thought that was the case but wanted to be sure.
     
  12. Nov 8, 2009 #1472 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Thank you. Just wanted to confirm that I tested it with another episode and it works.

    Just one more question. I should know this, but if I want to set it up to download and pre-process multiple files and do all of that first before it does the vrd live review, and then when I am there I can do all the live reviews in order and let it finish everything else, how do I do that?

    "All of that" means get metadata, download, decrypt, qs fix, ad detect, basically do everything that can be done without me being present, then when I am there, I will do all the video reviews and let the rest of it finish for all the files I've queued up. The way I'm doing it now, it all seems to happen serially, but I've got all the steps I want checked off on top when I queue the jobs.

    -David
     
  13. Nov 8, 2009 #1473 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    ok, I noticed that it was downloading the next program, while I was doing the vrd review. So maybe if I just let it go, it already does what I want? I'll try that next.

    -David
     
  14. Nov 8, 2009 #1474 of 10413
    ACraigL

    ACraigL Member

    694
    0
    Feb 12, 2003
    Hi,

    I just reinstalled my OS (Windows 7 -- what I had before), and now when I try to start the kmttg service I get the following error:

    "Windows could not start the kmttg service on Local Computer.
    Error: 1067: The process terminated unexpectedly."

    From kmttg interface I get:
    [SC] StartSevice: OpenService FAILED 5:
    Access is denied.

    I know this configuration works as it was running previously. I check permissions on wrapper.exe and everything seems fine. Any ideas to getting the service running?
     
  15. Nov 8, 2009 #1475 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Did you try removing and reinstalling the services?
     
  16. Nov 8, 2009 #1476 of 10413
    ACraigL

    ACraigL Member

    694
    0
    Feb 12, 2003
    Figured it out.
    Requires the 32-bit version of Java. My PC grabbed (or Sun gave me) the 64-bit this time for some reason.

    Thanks for the quick reply!
     
  17. Nov 8, 2009 #1477 of 10413
    moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    The only problem is that with the way VRD licensing works it only lets you have 1 instance running at a time per computer, so kmttg restricts on purpose VRD jobs to 1 at a time. So any job that needs VRD such as QS Fix, Ad Cut, ad review will prevent any other VRD jobs from running until current job is done.
    So for your case I would probably check off download & decrypt only and let kmttg process all those and then start from FILES mode next day to do subsequent steps.
     
  18. Nov 8, 2009 #1478 of 10413
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Yeah, I see it gets stuck at vrd review, which will at least block anything else that needs vrd.

    What if I let it do qs fix and ad detect also and uncheck ad cut and encode? Will it pick up with the vrd review, or is the vrd review internally part of ad detect?

    Do we need another step there for vrd review so we can isolate just that part of it too? I think maybe we do?

    -David
     
  19. Nov 8, 2009 #1479 of 10413
    moyekj

    moyekj Well-Known Member

    11,149
    33
    Jan 23, 2006
    Mission...
    VRD review immediately follows the Ad Detect job only if "Use VideoRedo GUI to review detected commercials" option under Config->Program Options is enabled. So you could always disable that option when submitting a batch of jobs and then the Ad Detect job won't hang up VRD for QS Fix jobs. i.e. Yes you can enable metadata,decrypt,QS Fix & Ad Detect and not be hung up by VRD 1 at a time limitation.
    Furthermore, in Service mode obviously VRD Review job is not scheduled regardless of that option setting so you could always setup Auto Transfers jobs up to the Ad Detect step without having to disable that option which is only pertinent to GUI mode.

    Personally I don't use commercial detection most of the time since I can do the cuts more quickly and precisely myself, though of course that means the whole process is not fully automated.
     
  20. Nov 8, 2009 #1480 of 10413
    Richard Berg

    Richard Berg New Member

    7
    0
    Jan 26, 2008
    My Tivo is strictly a digital cable tuner; I greatly prefer Media Center's interface, not to mention its ability to "extend" into any room with minimal hardware and no fees. Thus, I simply wanted to automatically process everything it records. In other words, when I add/update/remove a show or series pass, I shouldn't need to do it twice -- once through Tivo or Tivo.com, and once in the kmttg filter configuration.

    The docs say to use a regex of .* on the title, which works, but also picks up tons of random crap that Tivo records on its own. Luckily you are already detecting these "suggestions" when you read the TTG listing (in order to show the appropriate icon). Making an additional global option to filter them out was pretty simple. Here's a patch: http://richardberg.net/bin/temp/suggestionFilter.patch

    Hope this helps.

    PS - you should read up on XML Serialization and Stacks :)
     

Share This Page