1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pyTivo - Transcoding server

Discussion in 'TiVo Home Media Features & TiVoToGo' started by armooo, Nov 25, 2006.

  1. jsheinz1234

    jsheinz1234 New Member

    55
    0
    Jun 27, 2004
    LA,CA
    Replaced "New" Pytivo Folder with Backup Pytivo folder and all appears to be running fine. Can see my ToGo list, etc.

    Should I just start Fresh with the new Wmcombrine zip?
    wmcbrine-d2e63d53ecdaf80ce39ad134e7e8466b58c75dcb

    I DL'd ffmpeg-SVN-r21659-rdian06-1.02-win-x86_32
    and pywin32-216.win32-py2.7

    Should I uninstall and start over?
     
  2. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    This is enough. It seems your pyTivo.conf file is missing vital parts of the configuration for it to run (Server). I am uncertain if this section has changed with newer pyTivo developments.

    Post your pyTivo.conf contents (with private info removed) and we can help you make it work with the newer pyTivo releases.
     
  3. jsheinz1234

    jsheinz1234 New Member

    55
    0
    Jun 27, 2004
    LA,CA
    Weird...don't know if this is correct, but I found the currect pytivo.conf in C:\Users\Public\Documents\pyTivo Is that correct?

    Here are the contents:
    [loggers]
    keys = root

    [_tivo_SD]

    [handler_console]
    formatter = basicform
    class = StreamHandler
    args = (sys.stdout,)

    [My Videos]
    type = video
    path = REDACTED

    [Admin]
    tivo_mak = REDACTED
    type = admin

    [handlers]
    keys = console,rotfile

    [My Photos]
    type = photo
    path = REDACTED

    [Server]
    port = 9032
    temp = C:\Users\Public\Documents\pyTivo
    ffmpeg = C:\Program Files\pyTivo\bin\ffmpeg.exe

    [formatter_basicform]
    format = %(asctime)s %(levelname)-5s %(name)s: %(message)s

    [handler_rotfile]
    formatter = basicform
    class = handlers.RotatingFileHandler
    args = ('C:\Users\Public\Documents\pyTivo\debug.log', 'a', 10485760, 5)

    [_tivo_HD]

    [logger_root]
    handlers = console,rotfile
    level = DEBUG

    [formatters]
    keys = basicform
     
  4. jsheinz1234

    jsheinz1234 New Member

    55
    0
    Jun 27, 2004
    LA,CA
    New Question: If I cancel my Tivo Service can I still access it via Pytivo?
     
  5. dlfl

    dlfl Cranky old novice

    6,995
    16
    Jul 6, 2006
    Near...
    I bet you're running Win7. Move your pyTivo stuff out of the Program Files folder tree. When you edit pytivo.conf and save it, Win7 "protects" you by actually saving the new version somewhere else (with no clue to you that it is doing so). Then when you run, you're still using the unedited file. There is no advantage to having pyTivo in the program files folder system

    Similarly, no properly designed Windows program will attempt to write to files in the Program Files folder, because typically they don't have access to do so on Win7. Note this issue applies to vidmgr, which writes a thumbnail cache in the same folder tree it is running from. Thus, don't install pyhme or vidmgr in the program files folder systems.
     
  6. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    No.
     
  7. jsheinz1234

    jsheinz1234 New Member

    55
    0
    Jun 27, 2004
    LA,CA
    Well then, this is all pointless. Was hoping to cancel my monthly fee, but still use it as a repository for videos from my computer. Can't transfer videos to it without tivo subscription?
     
  8. jcthorne

    jcthorne Active Member

    2,720
    2
    Jan 28, 2002
    Houston
    No. Home Media features and transfers are a part of the subscription.

    Sorry you feel these very worthwhile and useful extensions to the Tivo appliance are pointless. The remainder of the folks here feel otherwise.
     
  9. jsheinz1234

    jsheinz1234 New Member

    55
    0
    Jun 27, 2004
    LA,CA
    No, sorry, you misunderstand the direction of my comment. I think PYTIVO et al are extremely useful and awesome. I have been using it for more than 3 years.

    Unfortunately, after cancelling my Cable subscription to cut costs, I have no real use for my TIVO box other than to access files from my computer, and was going to cancel my monthly subscription (yes I made the mistake of getting the monthly subscription instead of the lifetime service).

    I was hoping I would be able to access the device without the subscription. If I can't use my Tivo as a media server without the subscription, then my efforts to get an upgraded version of PYTIVO working are pointless.
     
  10. jcthorne

    jcthorne Active Member

    2,720
    2
    Jan 28, 2002
    Houston
    You don't plan to use your Tivo for OTA broadcasts?

    Between OTA, netflix and internet video sources, we have all we could ever watch. I too cut the cable. Four years ago. The only thing we miss are distant playoff games not shown on broadcast tv. Refuse a cable sub just for that. Much cheaper to have dinner at the sports bar down the street and spend the evening on thier sofa and plasma tv a few times a year.

    I really don't think I could have made the cord cutting acceptable to the wife if it were not for Tivo as our whole home media center. We really use the 'one box' concept Tivo was so fond of promoting.
     
  11. jsheinz1234

    jsheinz1234 New Member

    55
    0
    Jun 27, 2004
    LA,CA
    A series 2 doesn't have a digital tuner does it?
     
  12. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    A Series 2 can control an external tuner for digital OTA, unless it's a 2DT or a 542.
     
  13. jsheinz1234

    jsheinz1234 New Member

    55
    0
    Jun 27, 2004
    LA,CA
    OK...Chips are back on the table and I am pushing ALL IN! Gonna keep the TIVO service!

    Got the digital converter box (RCA from Walmart - Pretty nice unit in comparison to others I have seen online elsewhere) and we are amazed at the amount of programming available...especially for our kids!

    So how to I get up to date? I would like to get the push ability so I can get some of the shows that I am missing onto the box.

    I just downloaded the most recent wmcbrine fork...Probably best to just start over? Unzip and copy my conf file in there? What adjustments need to be made to my conf file I pasted previously. (http://www.tivocommunity.com/tivo-vb/showthread.php?p=8658752#post8658752) or will moving it into the parent pytivo folder solve the problem with localhost.

    As always, your help (and dedication) are appreciated!
     
  14. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    here is a sample of my pyTivo.conf file. Appropriate info is redacted and as always change to suit your needs. With just a basic pyTivo.conf to get running you can use the web admin tool to finish the rest.

    Code:
    [Server]
    tivo_password = ****
    tivo_mak = *****
    ffmpeg = /Applications/pyTivo/ffmpeg
    ffmpeg_pram = -threads 2
    togo_path = /Volumes/Media/TiVo
    debug = True
    tivo_username = ****
    
    [Movies]
    force_alpha = true
    type = video
    path = /Volumes/Videos/Movies
    
    [TV Shows]
    force_alpha = true
    type = video
    path = /Volumes/Videos/TV Shows
    
    
    And of course this is placed in the primary pyTivo directory. I would run it command line first to get debug output and make sure its working. Then follow the pyTivo Service guide on pyTivo wiki if everything looks good.
     
  15. jsheinz1234

    jsheinz1234 New Member

    55
    0
    Jun 27, 2004
    LA,CA
    Thanks!

    My current conf doesn't have username or password. Do I need those? And if so where do I find them?

    What is the togo_path?
     
  16. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    user name and password of your Tivo.com account to utilize the file push. This is required if you use push.

    togo_path is where you want your videos to be stored if you transfer files off of your TiVo and on to your computer. Not required if you do not intend on using TiVo ToGo.

    The pyTivo web admin tool I referenced earlier has descriptions for all the settings. Or you can go to the pyTivo wiki.

    TBH you have had so many issues that I would just delete your current pyTivo.conf and just put the things from the Server section I have posted below, then use the pyTivo web admin tool to set up the rest.

    Code:
    [Server]
    ffmpeg = C:\Path\To\ffmpeg.exe
    debug = True
    
     
  17. jsheinz1234

    jsheinz1234 New Member

    55
    0
    Jun 27, 2004
    LA,CA
    OK. Uninstalled old version, and looks like I am up and running!

    Messing with Webconf now.

    Thanks for your help!
     
  18. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Sure.

    Post here or on the pyTivo forums if you need additional help.
     
  19. jsheinz1234

    jsheinz1234 New Member

    55
    0
    Jun 27, 2004
    LA,CA
    Getting this error:
    C:\pytivo>pyTivoService.py --startup auto install
    Traceback (most recent call last):
    File "C:\pytivo\pyTivoService.py", line 4, in <module>
    import win32event
    ImportError: DLL load failed: %1 is not a valid Win32 application.
     
  20. pmiranda

    pmiranda New Member

    669
    0
    Feb 12, 2003
    Austin, TX
    I rediscovered an important tip: if it works fine in a command window, and you run it as a service but can't get to the config page and TiVo can't see it... you have to mark the python win32 service as allowed through the firewall :)
     

Share This Page