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. May 28, 2009 #701 of 10610
    wmcbrine

    wmcbrine Ziphead

    10,401
    42
    Aug 2, 2003
    I don't speak for moyekj, but... I really, really hate getting PM'ed with questions of general interest. To me, the only reason to PM is if you have something that you need to keep private -- and being embarrassed that you can't get something working doesn't count. :) Posting your question helps prevent repetition (since the same problems tend to recur), and allows others to contribute to the solution.
     
  2. May 28, 2009 #702 of 10610
    moyekj

    moyekj Well-Known Member

    11,259
    76
    Jan 23, 2006
    Mission...
    cburbs yes I echo wmcbrine's sentiment. Post here for the benefit of all. That's what threads like these are for.
     
  3. May 28, 2009 #703 of 10610
    fyodor

    fyodor Member

    535
    1
    Sep 19, 2006
    I'll kick in that something like 95 percent of the technical issues (Tivo or otherwise) that I've had, I've solved (or realized that they were not solvable) by finding other people's postings, so to the extent that these issues are made public, you're helping other people with the same problems.

    Also, purely from a practical perspective, while the creators of the various add-ons are extremely gracious in providing assistance and technical support, they've probably only encountered a small percentage of possible issues because of all the different software/hardware permutations. If you post here, someone else using the software might have encountered the problem and be able to offer suggestions.

    F
     
  4. May 28, 2009 #704 of 10610
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Guys,
    I hope you understand, that sometimes a PM might seem appropriate, (to us users) especially if we're speaking to you about a feature that is only available in a top secret beta release of your software, or discussing some feature request. We would never want to appear as if we are "Airing your dirty laundry" over something we perceive as a bug in a version of the software.

    We also may fear that we are seen as "un-appreciative" of your efforts if we tell you something in a public message such as this. I think I speak for many of us when I say that your efforts are definitely appreciated. (I'm going to double your pay) :D Let's see... $0.00 x 2 = ???
     
  5. May 28, 2009 #705 of 10610
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    No problem - once I dive in a little further I will post my question back here. Wh o knows maybe I will get lucky and what I am aiming for will work with all the great help here. Thanks again. :up::D


    I do have another question - If I take a whole folder of shows(CSI NY) when I cut the commercials out and send it back will they all fall back into one folder again or will they be seperate listed shows? Just curious and not the end of the world but I do like the folder grouping on the Tivo.
     
  6. May 28, 2009 #706 of 10610
    moyekj

    moyekj Well-Known Member

    11,259
    76
    Jan 23, 2006
    Mission...
    wmcbrine can answer more concisely, but I think the answer is basically yes if you have the proper accompanying pyTivo metadata files and you copy back with pyTivo.
     
  7. May 28, 2009 #707 of 10610
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    Looking at your code -
    path=c:\home\dvd


    Once the file is pushed back to the Tivo will it be gone from this folder? I guess I am asking what is the easiest way to verify this is working?
     
  8. May 28, 2009 #708 of 10610
    moyekj

    moyekj Well-Known Member

    11,259
    76
    Jan 23, 2006
    Mission...
    pyTivo push (or pull) makes a COPY of the file, so no it won't be gone from the folder. You need to leave it in the folder at least until the pyTivo push completes. Several clues if it's working or not:
    * With the sample script you need to get exit code = 0 reported by kmttg for a successful push
    * Check the pyTivo console (or logs) for push messages
    * Check your destination Tivo to see if the show is being transferred (blue light will be on while the transfer is happening)

    NOTE: The c:\home\dvd path was what I used for testing. There's no requirement that's what you have to use, just change it to suit your needs. The only requirement is that the pyTivo.conf path and the path where your source videos are have to match for this script. (One could make a fancier script to strip out that requirement, but to keep things simple it's easier as is).

    P.S. In case it's not obvious, for this example you have to have your pyTivo.conf configured properly with a kmttg video section and pyTivo has to be up and running before you try a push.
     
  9. May 28, 2009 #709 of 10610
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    So if the file I want to move is from the .mpg Cut Dir how do I define that?
     
  10. May 28, 2009 #710 of 10610
    moyekj

    moyekj Well-Known Member

    11,259
    76
    Jan 23, 2006
    Mission...
    Continuing my example you would use [mpegFile_cut] keyword instead of [encodeFile] for custom command argument.
    (The valid keywords are listed in the cyclic to the right of custom command field in kmttg configuration form and are pretty self-explanatory what they represent).
     
  11. May 28, 2009 #711 of 10610
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    OK so this is what I got - I was testing a smaller file.

    >> Running custom command ...
    c:\Python26\python.exe c:\tivo\push.py "C:\tivo\DVD\Bob the Builder - Loftys Big Day_Wed_May_13_cut.mpg"
    custom job completed: 00:00:01
    exit code: 0
    ---DONE---

    But I don't see the new cut.mpg file on my Tivo. I verified that I could see my shared folder from pytivo on my Tivo box and the file is there.

    Well I can't even do a push from my pyTivo as I get this -

    No option 'tivo_username' in section: 'Server'

    Traceback (most recent call last):
    File "C:\Program Files\pyTivo\plugins\video\video.py", line 341, in Push
    m = mind.getMind()
    File "C:\Program Files\pyTivo\mind.py", line 285, in getMind
    username = config.getTivoUsername()
    File "C:\Program Files\pyTivo\config.py", line 62, in getTivoUsername
    return config.get('Server', 'tivo_username')
    File "C:\Python26\lib\ConfigParser.py", line 540, in get
    raise NoOptionError(option, section)
    NoOptionError: No option 'tivo_username' in section: 'Server'

    Which I found I need to add this somewhere in the config file -

    Do I add my settings to Global Server Settings?


    I came across this - http://www.tivocommunity.com/tivo-vb/showthread.php?t=328459&page=74
     
  12. May 28, 2009 #712 of 10610
    moyekj

    moyekj Well-Known Member

    11,259
    76
    Jan 23, 2006
    Mission...
    You need to edit your pyTivo.conf file and add tivo_username & tivo_password corresponding to your tivo.com login and password in the [Server] section:
    [Server]
    tivo_username = username
    tivo_password = password

    (Obviously replace username & password with what they actually are)
    (For these settings I find it easier to edit pyTivo.conf file directly rather than using web GUI)

    You should then test that push is working on pyTivo side by starting pyTivo and then in browser connect to pyTivo server:
    http://localhost:9032

    Under Video Shares click on the relevant video section (kmttg in my example)
    Find the relevant test video you want to push, select Tivo to push to and click on the Send To Tivo button.

    Once you have pyTivo side working it sounds like you have the kmttg side all setup so should have no issues.
     
  13. May 29, 2009 #713 of 10610
    bkdtv

    bkdtv New Member

    7,902
    0
    Jan 9, 2003
    DC Metro Area
    Suggestions for the next version:

    1. Automatically check decrypt (and gray out the checkmark box) when the user selects comskip. Currently, the user can select comskip without decrypt, and that produces an error.

    2. Automatically check comskip (and gray out the checkmark box) when the user selects comcut. Currently, the user can select comcut without comskip, and that produces an error.
     
  14. May 29, 2009 #714 of 10610
    cburbs

    cburbs New Member

    158
    0
    Jan 29, 2009
    Thanks again for helping me out - sorry if I may have asked simple ?s but I ask so that I understand how things work. I was able to push directly in pyTivo now. I also changed one other setting in the push.py file and ran a test but won't be ale check it until after work today to see if that all worked now. Again I can't thank you enough for your help. Once I have this together I am going to make a nice how to doc with pics in case anyone else wants to know how to do this. Thanks again :D
     
  15. May 29, 2009 #715 of 10610
    eman31

    eman31 New Member

    14
    0
    Apr 17, 2009
    I did find a setting in the comskip.ini that does a cleanup of all of the extra files I was getting, now if I could figure out how to stop getting a .edl file it would be perfect. I tried setting the comcut option to -0- but I'm still getting it.
     
  16. May 29, 2009 #716 of 10610
    moyekj

    moyekj Well-Known Member

    11,259
    76
    Jan 23, 2006
    Mission...
    Well the problem is one does not necessarily have to start from download or a .TiVo file. For example for comskip you can be in FILES mode and start from .mpg. Same applies to comcut and later steps. Even in download mode, kmttg will skip generation of files if they already exist, so it's possible to jump directly to comskip or comcut or later steps without prior steps enabled.
     
  17. May 29, 2009 #717 of 10610
    moyekj

    moyekj Well-Known Member

    11,259
    76
    Jan 23, 2006
    Mission...
    You can simply set output_edl=0 in comskip.ini file to turn off edl file generation.
    Note however that with current coding kmttg always expects a .edl file output to be produced by comskip so disabling that results in an error message by kmttg. For your case you can of course simply ignore the error message. I can probably make a change for kmttg to check for either .VPrj or .edl if VRD is configured.
     
  18. May 29, 2009 #718 of 10610
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    His feature request jarred my memory. I constantly find myself re-clicking all of the checkboxes at the top of the kmttg window when I launch the GUI. It might be nice to have kmttg remember which boxes were checked the last time I had the GUI open.
     
  19. May 29, 2009 #719 of 10610
    moyekj

    moyekj Well-Known Member

    11,259
    76
    Jan 23, 2006
    Mission...
    Noted. I almost always enable VRD QS Fix and usually metadata as well before starting a download. I think it would make sense to save selections on program exit to a separate file than config.ini.
     
  20. May 29, 2009 #720 of 10610
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    I seldom use the GUI now, except when I add a new show to the Auto Transfers config, but this feature would just add one level of convenience. I really like the fact that the auto transfer now takes on the items that I have selected in the main window of the GUI now. (Before I had to act fast, and go to the other config window before the transfer started, to select the options that I wanted)

    I see now that you have the new Java GUI, your Mac user base has grown from 7 to 32.
     

Share This Page