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

pyTivoX

Discussion in 'TiVo Home Media Features & TiVoToGo' started by Yoav, Dec 10, 2008.

  1. Dec 14, 2008 #81 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    It's definitely nothing to do wth security settings.. Otherwise your tivo would at least see the share, but the share may be unable to provide the movies.

    From the one line in the log, I'd guess that pytivo isn't running right. It generally outputs a bunch of warnings when it runs (about cheetah and whatnot).

    So, my first question:
    what happens when you run (in Terminal.app)
    Code:
    python -V
    If it reports anything other than 2.5.1, then first I'd ask "are you sure you're on 10.5?"

    Ok, if it reports 2.5.1, then make sure pyTivoX isn't running (use the Exit button, not the close window button).

    then run the following:
    Code:
    python /Applications/pyTivoX.app/Contents/Resources/pyTivo-wgw/pyTivo.py
    I'm wondering if that reports anything interesting to stdout..
     
  2. Dec 14, 2008 #82 of 1437
    gsr1

    gsr1 New Member

    11
    0
    Dec 6, 2008
    I'm definitely on 10.5.5. Here is the Terminal output:

    GSR1-MAC:~ GSR$ python -V
    Python 2.5.1
    GSR1-MAC:~ GSR$ python /Applications/pyTivoX.app/Contents/Resources/pyTivo-wgw/pyTivo.py
    INFO:pyTivo:pyTivo is ready.

    The :p above should be ":" followed by "p" that is : p without the space between them
     
  3. Dec 14, 2008 #83 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Hmm.. (btw, if you want it not to replace the smilies, highlight the chunk and select the 'code' tags from the menu (it looks like a big # )).

    Ok, so it's the right version of python, and the right code base. So now the only thing left to wonder about is the settings of your pyTivo.conf... so can you run

    Code:
    cat ~/Library/Application\ Support/pyTivoX/pyTivo.conf
    and paste the output here? I must say this is strange :(
     
  4. Dec 14, 2008 #84 of 1437
    gsr1

    gsr1 New Member

    11
    0
    Dec 6, 2008
    Okay. I decided to add a different share folder and put on the desktop, in a folder called tivo, just like in your screenshot. It didn't make a difference.
    I then figured, maybe I should restart my Tivo, so went ahead and restarted it.
    When it came back up, I went to the Now Playing and saw both shared folders, and saw the movies within the folders!
    I am now in the process of downloading a movie onto the Tivo. I expect it to work and will let you know tomorrow night.
    It looks like all I needed to do was to restart the Tivo, for whatever reason.
    I appreciate your help (and Bob's). Hopefully this thread will help others.
     
  5. Dec 14, 2008 #85 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Wow. Well, glad it's working now...
    I guess next time I get a similar question my first answer will be 'reboot!' :)

    By the way you don't need to wait for the whole movie to download. You can generally view it as you're downloading (although if your download is slow, it will end up stopping a lot).

    Thanks for your patience...
     
  6. Dec 15, 2008 #86 of 1437
    gsr1

    gsr1 New Member

    11
    0
    Dec 6, 2008
    It worked great - the movie downloaded to my Tivo and looks great!
    Thanks again for your help, and thanks for the program!
     
  7. Dec 20, 2008 #87 of 1437
    ciscokidinsf

    ciscokidinsf New Member

    60
    0
    Jan 26, 2007
    I'm going to try it. I actually had NOT updated to 10.5 because TivoDotNet only ran in 10.4. But as Bob said, the latest TivoHD update killed it.

    A question, will it work if my video directory is on a drive mounted via SMB? I have my videos in my Network Attached Storage. I don't have space in my main HD to do it. I need to know otherwise I'll have to stick with TDN working on the Series 2
     
  8. Dec 20, 2008 #88 of 1437
    westside_guy

    westside_guy Annoyingly ephemeral

    464
    1
    Mar 13, 2005
    The soggy...
    With pyTivo I've successfully shared videos from a network drive mounted with afp, so I'd think it really shouldn't matter.
     
  9. Dec 20, 2008 #89 of 1437
    bedelman

    bedelman Call me Bob

    3,564
    0
    Feb 26, 2001
    Crystal...
    That's odd because I had TDN running on at least three different machines all using Leopard -- but everything is now switched over to pyTiVoX now...
     
  10. Dec 21, 2008 #90 of 1437
    raianoat

    raianoat TiVoBlog.com

    229
    0
    Jan 27, 2004
    I have all of my vids stored on a SMB NAS and it works great.
     
  11. Jan 2, 2009 #91 of 1437
    norbertsf

    norbertsf New Member

    45
    0
    Jun 9, 2007
    THIS ROCKS!!!!!!!!!!!!!!

    THANK YOU! THANK YOU! THANK YOU!


    Norbert
     
  12. Jan 2, 2009 #92 of 1437
    norbertsf

    norbertsf New Member

    45
    0
    Jun 9, 2007
    Ok, maybe spoke too soon.

    First observations:

    Pros:
    1. Great! I can have content on an external drive and it is recognized!
    2. I can organize content into folders!!!

    1. Con so far:

    The Aspect button DOES NOT WORK.
    I tried the same movie via Tivo desktop (widescreen DVD RIP) and the Aspect button allows all 3 options (Panel, Zoom, Full).
    With pyTivoX, I am stuck at Zoom (on a 4:3 TV)
    Is there a fix for this?

    Is this a pyTivo problem (will check online)?

    Norbert
     
  13. Jan 2, 2009 #93 of 1437
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    The aspect button stops working when the TiVo thinks that aspect ratio of the program matches that of the screen. So, it thinks that either both are 16:9, or both are 4:3. To know which, I'd have to know what model of TiVo you're talking about, and how it's set under Settings > Video > TV Aspect Ratio.

    And no, this isn't pyTivoX-specific, so we should probably continue this elsewhere. (I am however not ready to call it "a pyTivo problem" because we first have to establish that it's a problem.)
     
  14. Jan 2, 2009 #94 of 1437
    norbertsf

    norbertsf New Member

    45
    0
    Jun 9, 2007
    The Tivo is a S3.
    Video settings are set to "4:3 Classic Screen(4:3 only)"
    (it's a 4:3 TV)

    It's specific in this case because it's not happening in any other situation. I have no other "Aspect" issues and I am using no other PC->Tivo app (other than Tivo Desktp for OSX and "Aspect" works fine there)

    I've installed pyTivoX because of the simple set-up, and the Tivo/pyTivoX interaction seems to be raising the issue.

    If there is a Tivo S3 setting that would resolve this please let me (us) know.
    If I have to adjust pyTivo settings ... then it defeats the purpose of pyTivoX (for me--simple set-up).


    Thanks,
    Norbert
     
  15. Jan 3, 2009 #95 of 1437
    norbertsf

    norbertsf New Member

    45
    0
    Jun 9, 2007
    hmmm....

    I tested some other widescreen .avi, .divx, and mpeg files, and those work fine with the aspect button.

    Not sure why this particular movie is forced in to getting squeezed...

    ...so NOT a pyTivoX problem....

    Thanks for the great Application!

    Norbert
     
  16. Jan 9, 2009 #96 of 1437
    tlrowley

    tlrowley Quilt Geek

    2,085
    0
    Jun 10, 2004
    Lancaster, PA
    This is really a cool program. I've been able to get it up and running with very little effort - just the type of program I like :D Kudos to the developer.

    I'm getting a little confused about the settings that I should be using in my pytivo.conf file. If I'm using this on a Series 3, do I need to override the default configuration? If I leave the pytivo.conf file alone (basically empty) will I get the best possible transcoding? I have a fair amount of processing power available, so increasing the bitrates shouldn't be a problem.

    The reason I was wondering about changing from the default levels is that I transferred a 720p mkv to the Series 3 and it was a bit choppy. What should I be tweaking to eliminate that problem?

    Thanks for any pointers.
     
  17. Jan 11, 2009 #97 of 1437
    diphosphine

    diphosphine New Member

    21
    0
    Sep 1, 2008
    I am having a problem getting pyTivoX to work. I downloaded the most recent version of pyTivoX and dragged the application to my applications folder. I established a shared directory with both .mov and .mp4 movies in it. I clicked the "Restart" button in pyTivoX. I find the shared folder on the Tivo and all of the movies are in it. However, when I try to play any of the movies I immediately get a message saying that "Transferring prohibited by the copyright holder" even for movies that I created myself. On my mac, a message always simultaneously pops up that says "The application ffmpeg has quit unexpectedly."

    I have a Mac G4 Dual 1.25 GHz running 10.5.6 and a TivoHD. Does anybody have an idea of what the problem might be? Is there something else I should have done?

    Thanks for any help.
     
  18. Jan 11, 2009 #98 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    I believe the default setup is supposed to work on HDTVs fine. I'll let a developer jump in and comment though (I just wrote the front-end.. not the pyTivo script).

    A quick heads-up though. If you change any of the settings (the easiest way is to connect to http://localhost:9032/ ), do not use the 'restart' button. (The restart button overwrites the config file and restarts the program). Just exit and run the program when you need a restart...
     
  19. Jan 11, 2009 #99 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    It sounds like ffmpeg is crashing when trying to transcode the files to mpeg-2 streams for your tivo. I don't have a powerPC mac to test with, but it's possible that I failed to build ffmpeg correctly for it... Can you do me a favor and open up a Terminal.app and run

    Code:
    tail -20 /tmp/pyTivoX.log
    /Applications/pyTivoX.app/Contents/Resources/ffmpeg
    
    and then cut/paste the output here?
     
  20. Jan 11, 2009 #100 of 1437
    diphosphine

    diphosphine New Member

    21
    0
    Sep 1, 2008
    Okay, here's the output, I think (I'm new to terminal and to posting!):

    tail -20 /tmp/pyTivoX.log
    INFO:pyTivo:pyTivo is ready.
    /Applications/pyTivoX.app/Contents/Resources/pyTivo-wgw/Cheetah/Compiler.py:1508: UserWarning:
    You don't have the C version of NameMapper installed! I'm disabling Cheetah's useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
    "\nYou don't have the C version of NameMapper installed! "
    10.0.1.197 - - [10/Jan/2009 22:28:58] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
    10.0.1.197 - - [10/Jan/2009 22:29:25] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
    10.0.1.197 - - [10/Jan/2009 22:29:55] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
    10.0.1.197 - - [10/Jan/2009 22:29:58] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 404 -
    10.0.1.197 - - [10/Jan/2009 22:29:58] "GET /TiVoConnect?Command=QueryContainer&Container=pyTivo%20Share&SortOrder=Title&ItemCount=8&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
    10.0.1.197 - - [10/Jan/2009 22:30:01] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 404 -
    10.0.1.197 - - [10/Jan/2009 22:30:02] "GET /TiVoConnect?Command=QueryContainer&Container=pyTivo%20Share&SortOrder=Title&ItemCount=1&AnchorItem=%2FpyTivo%2520Share%2FCoca%2520Cola.mov&AnchorOffset=-1&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
    10.0.1.197 - - [10/Jan/2009 22:30:02] "GET /TiVoConnect?Command=TVBusQuery&Container=pyTivo%20Share&File=%2FCoca%20Cola.mov HTTP/1.1" 200 -
    10.0.1.197 - - [10/Jan/2009 22:30:04] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 404 -
    10.0.1.197 - - [10/Jan/2009 22:30:04] "GET /TiVoConnect?Command=QueryContainer&Container=pyTivo%20Share&SortOrder=Title&ItemCount=8&AnchorItem=%2FpyTivo%2520Share%2FCoca%2520Cola.mov&AnchorOffset=-2&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
    10.0.1.197 - - [10/Jan/2009 22:30:07] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
    /Applications/pyTivoX.app/Contents/Resources/ffmpeg[Joe-Casalnuovos-Computer:~] jacasalnuovo% /Applications/pyTivoX.app/Contents/Resources/ffmpeg
     

Share This Page