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. Jan 23, 2014 #6341 of 10413
    Joe Siegler

    Joe Siegler New Member

    780
    0
    May 10, 2000
    Garland, TX
    When I said "readable", I meant "human readable". Sorry. Late - tired.

    That's how I saw what was in there originally.
     
  2. Jan 23, 2014 #6342 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    As expected, no problems parsing it. Here's output I get from kmttg parser:
    Code:
    title : Brooklyn Nine-Nine
    seriesTitle : Brooklyn Nine-Nine
    description : Jake gets to spend the day with his hero, a former crime reporter; Terry and Charles work with Rosa on how she comes across on the witness stand. 
    time : 2013-11-13T01:30:00Z
    isEpisode : true
    iso_duration : PT29M59S
    originalAirDate : 2013-11-12T00:00:00Z
    episodeTitle : Old School
    isEpisodic : true
    episodeNumber : 109
    showingBits : 798723
    tvRating : x5
    programId : EP017390090010
    seriesId : SH01739009
    vActor : Samberg|Andy
    vActor : Braugher|Andre
    vActor : Crews|Terry
    vActor : Fumero|Melissa
    vActor : Lo Truglio|Joe
    vActor : Beatriz|Stephanie
    vActor : Peretti|Chelsea
    vExecProducer : Goor|Dan
    vExecProducer : Schur|Michael
    vExecProducer : Miner|David
    vProgramGenre : 
    vSeriesGenre : 
    vSeriesGenre : 
    vGuestStar : Keach|Stacy
    
    Try running the tivodecode command from kmttg installation directory, since that's where kmttg would run it from.
     
  3. Jan 23, 2014 #6343 of 10413
    Joe Siegler

    Joe Siegler New Member

    780
    0
    May 10, 2000
    Garland, TX
    Left the same two files, only this time in the kmttg directory.
     
  4. Jan 23, 2014 #6344 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    All the pieces seem to be working then. Try setting kmttg config-Program Options-metadata files = "last" and run again from FILES mode with just "metadata" task enabled and nothing else. (Should produce .TiVo.txt file if it works).
     
  5. Jan 23, 2014 #6345 of 10413
    Joe Siegler

    Joe Siegler New Member

    780
    0
    May 10, 2000
    Garland, TX
    If by this..

    You mean this...

    [​IMG]

    Then this..

    Gave me the same original error.

    If you meant something else, let me know.

    NOTE: That metadata files option was set to "all" previously.

    NOTE 2: Oh, and the MAK is not blank locally, I just did that to the image for posting here.

    NOTE 3: Just realized what time it is. Need to get to bed, as I have to get up in 6hours to get the kids ready for school. Will look again tomorrow. Tkx for helping!
     
  6. Jan 23, 2014 #6346 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
  7. Jan 23, 2014 #6347 of 10413
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    Aren't the differing extensions relevant here?

    BTW, you can also create metadata files with pyTivo:

    Code:
    python \pyTivo\metadata.py foo.tivo >foo.tivo.txt
     
  8. Jan 23, 2014 #6348 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    The differing extensions are because he had "all" set for metadata setting and "Ad Cut" task selected in addition to "metadata" task. Don't know if that was intentional which is why I suggested changing to "last" and only have "metadata" task enabled if his intent is just to create 1 metadata file.
     
  9. Jan 23, 2014 #6349 of 10413
    Joe Siegler

    Joe Siegler New Member

    780
    0
    May 10, 2000
    Garland, TX
    OK, just tried it. Still failed, but here's what that beta kmttg told me:

    Code:
    >> CREATING J:\TiVo\Brooklyn Nine-Nine\Brooklyn Nine-Nine - Old School (Recorded Nov 12, 2013, KDFWDT).TiVo.txt ...
    C:\Users\Joe\Documents\kmttg\tivodecode\tivodecode.exe --mak MAK -D -x "J:\TiVo\Brooklyn Nine-Nine\Brooklyn Nine-Nine - Old School (Recorded Nov 12, 2013, KDFWDT).TiVo" 
    empty file: chunk-02-0002.xml
    Failed to generate metadata file: J:\TiVo\Brooklyn Nine-Nine\Brooklyn Nine-Nine - Old School (Recorded Nov 12, 2013, KDFWDT).TiVo.txt
    Exit code: 0
    Encryption by QUALCOMM ;) 
    
     
  10. Jan 23, 2014 #6350 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    Sounds like a timing issue - the xml file still hasn't completed being written when kmttg checks for an empty file (or maybe an issue with empty file checker). For this version I removed the empty file check, so see if this one works:
    https://drive.google.com/file/d/0B0SMFC97ymdETXJjZmFRbktnZ0U/edit?usp=sharing
     
  11. Jan 23, 2014 #6351 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    size=1025.10 MB elapsed=0:18:10 (7.89 Mbps)

    I was wondering from this example of a download off KMTTG, the Mbps shown is?

    average transfer speed,
    resulted speed at the end of the download,
    or something else.
     
  12. Jan 23, 2014 #6352 of 10413
    Joe Siegler

    Joe Siegler New Member

    780
    0
    May 10, 2000
    Garland, TX
  13. Jan 23, 2014 #6353 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    average transfer speed: total size in bits transferred / total transfer time
     
  14. Jan 23, 2014 #6354 of 10413
    Joe Siegler

    Joe Siegler New Member

    780
    0
    May 10, 2000
    Garland, TX
    OK, after I got the approval on GDrive, I just tried it. Still didn't create it, but the error is different.

    Code:
    >> CREATING J:\TiVo\Brooklyn Nine-Nine\Brooklyn Nine-Nine - Old School (Recorded Nov 12, 2013, KDFWDT).TiVo.txt ...
    C:\Users\Joe\Documents\kmttg\tivodecode\tivodecode.exe --mak MAK -D -x "J:\TiVo\Brooklyn Nine-Nine\Brooklyn Nine-Nine - Old School (Recorded Nov 12, 2013, KDFWDT).TiVo" 
    IOException - chunk-02-0002.xml (The system cannot find the file specified)
    Failed to generate metadata file: J:\TiVo\Brooklyn Nine-Nine\Brooklyn Nine-Nine - Old School (Recorded Nov 12, 2013, KDFWDT).TiVo.txt
    Exit code: 0
    Encryption by QUALCOMM ;)
    
    Edit: I just noticed that the first line of this, and the "Failed to generate" lines in the error have different locations for the .txt file it is creating. Could that have anything to do with it?

    It first says it is going to create it here: CREATING J:\TiVo\Brooklyn Nine-Nine\Brooklyn Nine-Nine - Old School (Recorded Nov 12, 2013, KDFWDT).TiVo.txt ...

    Then it says it failed to generate it here: J:\TiVo\Brooklyn Nine-Nine\Brooklyn Nine-Nine - Old School (Recorded Nov 12, 2013, KDFWDT).TiVo.txt
     
  15. Jan 24, 2014 #6355 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    Another suggestion:

    Can we have the show title, episode title, and episode number in their own columns, that way they can be sorted.
     
  16. Jan 24, 2014 #6356 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    FYI, Joe Siegler's problem turned out to be because he was instructing Windows to start kmttg in c:\windows directory and tivodecode doesn't have permission to write there but wasn't giving any error messages about failure to create xml files, so kmttg has no way to know there was a problem writing those files. Joe changed star dir to the kmttg install dir and problem is solved.
     
  17. Jan 25, 2014 #6357 of 10413
    Etupes

    Etupes New Member

    3
    0
    Jan 25, 2014
    Is there a way to get kmttg to open by default on the [Tivo] tab? For some reason, it now opens on the FILES tabs...
     
  18. Jan 25, 2014 #6358 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    It's supposed to open on same tab as you last closed kmttg on.
     
  19. Jan 25, 2014 #6359 of 10413
    Etupes

    Etupes New Member

    3
    0
    Jan 25, 2014
    That is the behavior I used to see, but I don't any longer. Regardelss of the tab I use, I close the app and it reopens on the FILES TAB.
    I launch the app through a shortcut: "C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -jar "C:\KMTTG\kmttg.jar"

    Is there any parameter I should add or some config file I need to edit/correct?
     
  20. Jan 26, 2014 #6360 of 10413
    moyekj

    moyekj Well-Known Member

    11,151
    34
    Jan 23, 2006
    Mission...
    What's supposed to be happening is when you close kmttg it writes c:\Users\<YourLogin>\.kmttg_settings file which saves various GUI related things including TiVo name after <tab> line which is the TiVo tab to open to. Perhaps you should just delete that file as maybe something got corrupted. Then try closing and opening kmttg again. If kmttg is having trouble writing the file at that location that could be the problem.
     

Share This Page