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

Installing pyTivo on the Mac for Beginners

Discussion in 'TiVo Home Media Features & TiVoToGo' started by bareyb, Feb 21, 2012.

  1. Feb 25, 2012 #81 of 176
    bareyb

    bareyb Under Maintenance TCF Club

    25,955
    8
    Dec 1, 2000
    Silicon Valley
    I notice on the new version that there is nothing entered in any of the Global Server Settings. I could have sworn it had the Port and ffmpeg values in there before... Am I high? :confused:

    [​IMG]
     

    Attached Files:

  2. Feb 25, 2012 #82 of 176
    gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    well, i admit i haven't tried toast transfer since updating from v10 to v11 a few weeks ago. perhaps they've improved the process and incorporated more auto-converters, but all the 'extras' (utilities) they throw in such as tivo transfer sure appear to be unchanged.

    /guy
     
  3. Feb 25, 2012 #83 of 176
    bareyb

    bareyb Under Maintenance TCF Club

    25,955
    8
    Dec 1, 2000
    Silicon Valley
    Ah. Not high... It now defaults to the proper port and bin where ffmpeg is located. Very nice. That must be how he was able to get it to work without having to put a pyTivo.conf file in place first. Very clever... :up:

     
  4. Feb 25, 2012 #84 of 176
    gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    that was one point where i screwed up slightly and had to fight to get it sorted out. also working on getting kmttg installed and put my ffmpeg folder in that directory. thus my path was wrong to begin with and i ended up with 3 separate ffmpeg's because i didn't know which one was being used by what!

    that was another bonus of starting over this time--i got to clean all that cruft up.

    /guy
     
  5. Feb 25, 2012 #85 of 176
    bareyb

    bareyb Under Maintenance TCF Club

    25,955
    8
    Dec 1, 2000
    Silicon Valley
    I put together a "pyTivo for Mac OSX" bundle just now, but the Forum wouldn't let me upload at either site. At 12.8 megabytes, I'm guessing it's probably over the forum Upload limit. :(

    How cool would that have been? :)
     
  6. Feb 25, 2012 #86 of 176
    bareyb

    bareyb Under Maintenance TCF Club

    25,955
    8
    Dec 1, 2000
    Silicon Valley
    When they say "multiple processors" I'm assuming they are talking about separate physical processors right? Multi-core processors like the i7 wouldn't count as "multi" right?

     
  7. Feb 25, 2012 #87 of 176
    gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    i believe that each core counts as a processor. my i5 would have 4 of them. i have no idea what 'pram' means in the above context, however and i'd proceed with caution ...

    /guy
     
  8. Feb 25, 2012 #88 of 176
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    Who was complaining about that?

    Transcoding video is an inherently CPU-intensive activity, quite possibly the hardest work your CPU will ever do. But you probably wouldn't want it to be throttled back -- because that would only mean that transfers would take even longer.

    In cases where the video doesn't have to be transcoded, pyTivo shouldn't use much CPU at all. (In fact, pyTivo per se never does -- ffmpeg is the big "hog".)

    None of that is new, BTW. As I said before, the minimal working pyTivo.conf had already been reduced to a single "[Server]" line.

    Of course they do, that's the entire point of multicore processors.

    "pram" there is just an awkward abbreviation for "parameters". There's no need to proceed with caution, the option is fully described in what bareyb quoted.
     
  9. Feb 25, 2012 #89 of 176
    bareyb

    bareyb Under Maintenance TCF Club

    25,955
    8
    Dec 1, 2000
    Silicon Valley
    I thought you were talking about Perimeter RAM.:eek:

    It's right there on your Website. I figured it must be a fairly common event if it's in the FAQ.

    FWIW, it has not been an issue for me. ffmpeg only uses a tiny bit of my CPU even in full on transcode mode.

    [​IMG]

    I have an Intel i7 processor with FOUR Cores. Should I tell pyTivo to use "-threads 4" instead of "-threads 2 or can you have it only use two of them and leave the others for other processes?

     

    Attached Files:

  10. Feb 27, 2012 #90 of 176
    Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    I can't imagine FFmpeg has any issue transcoding or remuxing (if appropriate) a .mts file. What issues are you running into?

    AVCHD is just h264 w audio in a MPEGTS container right?
     
  11. Feb 28, 2012 #91 of 176
    gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    my mistake, it was steambaby that won't stream the .mts files. pytivo transfers and plays them just fine. fantastic!

    now we need a group project to get the 'photo' section working, but i'm not looking forward to diving into the python image library swamp.

    /guy
     
  12. Feb 28, 2012 #92 of 176
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    You need a group project to follow this? Or this?
     
  13. Feb 28, 2012 #93 of 176
    gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    the method at the 2nd link seems more palatable with me than the 1st link where you install an alternate or parallel unix path or self-contained structure within the unix framework. i used to do this same thing several years ago, although i can't recall the name of the project, but it was a bear to keep updated and maintained and i finally dropped it.

    i'll try the download and build option later this evening and let you know how it works. i'm comfortable with the shell and i like that i can see every step as opposed to depending on a canned batch script.

    thanks!

    /guy
     
  14. Feb 28, 2012 #94 of 176
    Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Here is the DIY instructions. It requires downloading Xcode and 2 source packages.

    1. Install Xcode (from Mac App Store or your OS X Installation disc)
    - This is the 'compiler' and is required to build the following libraries.

    2. Install IJG Library (jpeg library)
    - Grab - http://www.ijg.org/files/jpegsrc.v8d.tar.gz
    - Extract downloaded file
    - Using Terminal enter the jpeg-8d folder (command below)
    - Build and install library, 4 separate commands to enter:
    Code:
    cd /Users/iluvatar/Desktop/jpeg-8d
    
    ./configure
    
    sudo make 
    
    sudo make install
    
    Just make sure the 'cd' command is representative of where you extracted the jpeg-8d folder to.
    sudo means to temporarily elevate system privileges to install system level software. You will need to enter your admin password for this when prompted.

    3. Install PIL
    - Grab http://effbot.org/downloads/Imaging-1.1.7.tar.gz
    - Extract downloaded file
    - Using Terminal enter the Imaging-1.1.7 folder (command below)
    - Build and install library, 2 separate commands to enter:
    Code:
    cd /Users/iluvatar/Desktop/Imaging-1.1.7
    
    sudo python setup.py install
    
    Just make sure the 'cd' command is representative of where you extracted the PIL folder to.

    4. Setup pyTivo photo share
    - Edit pyTivo.conf to add your photo share (either with WebAdmin or manually)
    Code:
    [Photos]
    type = photo
    path = /Users/iluvatar/Pictures/
    
    5. Restart pyTivo and ensure TiVo has 'Home Network Applications' enabled

    Photo share will be listed in TiVo Central -> Music & Photos

    Keep in mind pyTivo does not utilize the native iPhoto album structure. Unless you have folders of pictures outside iPhoto or other library I honestly don't feel it is worth using. I'm certain however some industrious person can take these instructions and make them understandable to the masses.
     
  15. Feb 28, 2012 #95 of 176
    gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    the tivo desktop prefpane actually does an excellent job of linking into your iphoto library. i need the python support for loose images that aren't in the iphoto library and tivo desktop doesn't allow for that.

    tks for the instructions. i tried them and in the first build i encountered this error:

    Code:
    error: no acceptable C compiler found in $PATH
    you think this is because the newest xcode is no longer in the Developer directory and is now a standalone app in the /Applications directory? what's the command to show the env variable $PATH? it's not export, is it?

    ... it's printenv. PATH is PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

    ... xcodebuild is in user/bin but i have no idea if that includes the compiler. isn't the compiler named 'gcc'? nothing like that in there. and frankly, i don't even understand how xcode works now without that huge Developer directory--all of that is just gone completely. surely there was useful stuff in there, right? like usb diagnostic utilities.

    ... i'm installing the xcode command-line tools to see if it shakes free the compiler that build needs.

    a locate of gcc seems to indicate gcc is in the xcode pkg or the xcode.app. hepefully when these command line tools download and install it'll place a copy of gcc in that PATH.

    ... aha! now there's a gcc in /usr/bin. brb while i continue with your instructions.

    /guy
     
  16. Feb 28, 2012 #96 of 176
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    I suspect it would be easy to knock up an iPhoto plugin for pyTivo. I'm just not motivated to do it, because I never use iPhoto myself (or any other photo organizer). I just have folders of pictures.
     
  17. Feb 28, 2012 #97 of 176
    gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    oh, as h rider haggard put it in she long before golfers came to hate it being shouted at them: 'you are indeed the man!'

    once that path issue was worked out (have you installed the new xcode yet? evidently, if you uninstall the previous version you lose the gcc until you install command line tools in the components tab of the new xcode prefs), that went entirely without a hitch. can't thank you enough. i now have music and photos working with pytivo as well as tivo desktop and now if tivo desktop goes away i will miss it hardly at all because, like @wmcbrine, i don't put very much into libraries anyway. and especially not now if lion is going to take away the 'save as' command. not having that command with images its just impossible for me to keep track of what the system is doing with versions.

    yet, still ... [g] is there a way to change the share name the tivo displays? if i name it 'pictures' it displays as 'Photos on pictures's PC'. is there a way for me to specify exactly what i'd like it to display?

    /guy
     
  18. Feb 29, 2012 #98 of 176
    Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Yes I had issues. Solution was to not let the new version delete the /Developer folder and keep both versions. Or avoid the new version all together.


    Not sure on that. Is this how TiVo Desktop display's itself?
     
  19. Feb 29, 2012 #99 of 176
    bareyb

    bareyb Under Maintenance TCF Club

    25,955
    8
    Dec 1, 2000
    Silicon Valley
    Sounds like you should change the name of the share to: "gteague", then it would say "Photos on gteague's PC". ;)

    So did you get Photos working? I installed TiVo Desktop and got a look at how that does it. It named the folder "Dad's Mac/Photos" I think... It also put a folder at the bottom on my NPL that said "Dad's Mac/Videos" and it even installed the folder in the Applications folder... Unfortunately, it doesn't show any of my Videos even if I put them directly in the folder... I guess they broke that so they could make the deal with Roxio... I actually preferred the Movies and iTunes integration in pyTivo better anyway. I don't want my videos in the Application Folder. I want them in the "Movies" folder. ;)
     
  20. wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    Yes, that's TiVo Desktop. pyTivo displays whatever is in the brackets [ ] as the share name.
     

Share This Page