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. Feb 4, 2013 #4681 of 10413
    elprice7345

    elprice7345 Member TCF Club

    145
    0
    Sep 28, 2009
    Houston, TX
    Tested and confirmed fixed.

    Thanks moyekj!
     
  2. Feb 4, 2013 #4682 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    So looks like we found the problem. The tivodecode binary doesn't run on your system.

    You probably don't have "." in your path, so you would have to execute the following to do it that way:
    ./tivodecode -h

    Don't think that would help as the root of the problem is tivodecode binary doesn't seem to run.

    Only way to fix it would be to start with tivodecode source code and build a binary from there. Once/if you have gcc/g++ development tools installed for your system it's pretty trivial to do so. Basically:
    Download source code:
    http://kmttg.googlecode.com/files/tivodecode-0.3pre4.tar.gz
    Then unzip, untar and build it from command line:
    gunzip -c tivodecode-0.3pre4.tar.gz | tar xvf -
    cd tivodecode-0.3pre4
    ./configure
    make
    make install

    Then the resulting 'tivodecode' file in that directory is your binary to use for kmttg.
     
  3. Feb 4, 2013 #4683 of 10413
    murgatroyd

    murgatroyd Don't stop believin'

    25,395
    0
    Jan 5, 2002
    Berkeley CA
    I've never built my own binaries, so I have some homework to do.

    For now, I think I'll carry on just transferring the files off the TiVo, and transferring to the XP to decode. But I'm very happy with being able to use kmttg on the Mac, even if I'm only doing that one step. The transfers are much more robust than with TiVo Desktop on the XP (no surprise there).

    Thanks very much for all your help.
     
  4. Feb 4, 2013 #4684 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    If you have to move to XP anyway, why not use kmttg on the XP for downloads as well?
     
  5. Feb 4, 2013 #4685 of 10413
    nvt

    nvt New Member

    60
    0
    Aug 19, 2003
    MD
    Am I missing some setting or configuration that might allow for this
    I tend to batch process my downloads and end up with a big queue. THe downloads typically occur without a problem but i I leave the application running and doing post processing (ad detect/remove, convert etc) the whole machine (Mac OS X Lion) will eventually crash and I have a hard time working out which files have been downloaded, which have been processed etc

    So the feature/function I am looking for is to be abel to separate the download and processing and pause the post processing and then close everything down and be able to run these parts at another time (and importantly for me at least) when I am not even connected to my home network where the app can see the TiVo machines

    I know it is possible to run the post processing with a command line (or at least I think it is) but I have not managed to work this out

    Thanks,

    Nick
     
  6. Feb 4, 2013 #4686 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Take a look at menu entries under File->Jobs. You can force all currently queued jobs not to launch, save all queued jobs to a file, then at a later time re-start kmttg and load them.

    It's already possible to run kmttg outside your home network and interact with your TiVos (that's most often how I use kmttg). You have to have your router forward ports from WAN side to LAN side TiVos for it to work. More details in config Wiki:
    http://code.google.com/p/kmttg/wiki/configuring_kmttg
    (However that won't accomplish what I think you want where you start something within your home network and then resume it later outside your home network).
     
  7. Feb 4, 2013 #4687 of 10413
    murgatroyd

    murgatroyd Don't stop believin'

    25,395
    0
    Jan 5, 2002
    Berkeley CA
    Oh, I will, eventually. But we need to install a new hard disk in the desktop, so I've been holding off installing new software.

    I figured it was better to get kmttg running somewhere, so I could become familiar with it, rather than not have it at all, and I had lots of space on the Mac's hard drive.
     
  8. Feb 5, 2013 #4688 of 10413
    ShayL

    ShayL Member

    211
    0
    Jul 17, 2007
    Dallas, TX
  9. Feb 5, 2013 #4689 of 10413
    mattack

    mattack Active Member

    20,743
    4
    Apr 9, 2001
    sunnyvale
    kmttg downloaded the season premiere of "Rules of Engagement" as episode 703.. However, ON THE TIVO, it showed up as episode 701.

    I have since deleted it from the Tivo, but I was never able to figure out why kmttg thought it was episode 703 and the Tivo thought it was 701.. In all detailed info (metadata downloaded and the extra info screen on the Tivo), the info seemed to match the # shown to me..

    How did kmttg end up with a different episode # than the Tivo did?
     
  10. Feb 5, 2013 #4690 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    What kind of TiVo? If Premiere, HDUI or SDUI?
     
  11. Feb 6, 2013 #4691 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    I see the same thing for that episode. The problem is the TiVo XML data does list EpisodeNumber as 703. i.e. If you recover from Recently Deleted and do an XML query you'll see it lists it as 703.
    Code:
    https://192.168.10.196/TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying&Recurse=Yes
    
    <EpisodeNumber>703</EpisodeNumber>

    Also, if you switch to SDUI and push into program details you will see it actually shows Episode 703 as well (since it's using above data).

    For that same episode using an RPC "recordingSearch" (with recordingId=tivo:rc.108269399 in my case) I do get back this correct info:
    "episodeNum": [1]
    "seasonNumber": 7

    i.e. The HDUI shows the RPC data (which it obtains via web) while the SDUI/TTG uses the local TiVo database which in this case is wrong.

    The RPC data is much more complete and seemingly more accurate. I do use the RPC data currently to supplement the local data that is not available. i.e. If the local data doesn't have EpisodeNumber then I use the RPC data. Perhaps when obtaining the RPC data I should always just override the local data such as EpisodeNumber.
     
  12. Feb 6, 2013 #4692 of 10413
    elprice7345

    elprice7345 Member TCF Club

    145
    0
    Sep 28, 2009
    Houston, TX
    Is this the same issue we sometimes have with episode numbers for Two and a Half Men?
     
  13. Feb 6, 2013 #4693 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    I've seen quite a few inconsistencies between local data and RPC data. Another example of an annoyance is SyFy "Continuum". The local data has EpisodeNumber as 4 digits, 1 for season number & 3 for episode number. Thus season 1, episode 1 is 1001. That's annoying because it's not consistent since for most other shows it's just 3 digits. I make EpisodeNumber from RPC data as non-zero padded integer for season # and zero-padded 2 digit integer for episode #. It would be OK if TiVo always used zero-padded 3 digit number for EpisodeNumber in local data, but they don't.

    To further mess things up I have seen cases where RPC data is missing season & episode information, so if I do choose to override local data with RPC data and apply my above rule for making EpisodeNumber then that could result in inconsistencies for cases when RPC data is missing. I saw that recently where Continuum episode 3 didn't have season and episode data in RPC but other episodes did. So then if I override local data I would have had 101, 102, 1003 and 104 as EpisodeNumber for for my 4 recordings of Continuum.
     
  14. Feb 6, 2013 #4694 of 10413
    LynnL999

    LynnL999 Member

    350
    2
    Oct 7, 2002
    Irvine,...
    I hope this isn't a deeply stupid question. But would it be possible to make the season pass list exportable to tab-delimited text, or even an Excel file? (If this is already possible, that would be the deeply stupid part...)
     
  15. Feb 7, 2013 #4695 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    Not a stupid question. Currently no, but easy enough to add for next release as another button say called "Export". Probably csv format (comma-separated-value file) makes the most sense since it can be opened directly by Excel or other such programs.
    Note that you can save to a file right now and re-load in kmttg at any time if the goal is just to have a visual backup of your season passes.
     
  16. Feb 7, 2013 #4696 of 10413
    DirectViewer

    DirectViewer New Member

    6
    0
    Jan 15, 2002
    I'm afraid this one might indeed qualify as a dumb question...

    The pop-up help for the optional "push" step references pyTivo, but I couldn't find it in the win32_tools. Is it a commercial program like VideoRedo?
     
  17. Feb 7, 2013 #4697 of 10413
    ShayL

    ShayL Member

    211
    0
    Jul 17, 2007
    Dallas, TX
    It is an open-source application: http://pytivo.sourceforge.net/wiki/index.php/PyTivo
     
  18. Feb 7, 2013 #4698 of 10413
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    It also has its very own thread in the TCF - http://www.tivocommunity.com/tivo-vb/showthread.php?t=328459&highlight=pyTivo
     
  19. Feb 7, 2013 #4699 of 10413
    LynnL999

    LynnL999 Member

    350
    2
    Oct 7, 2002
    Irvine,...
    I would love to have the export capability. Thanks very much for considering it!
     
  20. Feb 7, 2013 #4700 of 10413
    moyekj

    moyekj Well-Known Member

    11,142
    31
    Jan 23, 2006
    Mission...
    It was very easy to implement so already checked in for next release.
     

Share This Page