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. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Looks like the extra bits get dropped when 'platform' is not sent with the beacon. TD for Mac displays exactly what you want as the share name because it doesn't announce with 'platform' set. pyTivo announces everything with platform=pc. It seems TiVo has it's own internal bits it adds to share name when it sees platform=pc (in addition to the icons that are chosen in NPL for shares depending on which platform is set platform=tcd/Series4 causes little Premiere icons to show). So [Photos] share becomes Photo's on Photo's PC.
     
  2. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    @iluvator: unfortunately, when installing the new xcode i didn't consider all the implications and thus i followed instructions to run the /uninstall/ module inside the old developer package and it did indeed uninstall everything associated with that old version. i'm sure there's a way to re-install it, but i'm not a developer and rarely use the tools, so i can hopefully get away with the limitations of the new version of xcode. apple pulled the same trick on the airport config util where the new version removed a couple of pages of tools. fortunately they recognized this and left the old version available as well. with the new mountain lion just introduced with it's dumbing down the os to ios levels, it deeply troubles me. one of the big attractions to me is apple's unix underpinnings.

    @bareyb: yeah, pictures are working perfectly. and i've completely given up on the toast and tivo desktop way of handling video--pytivo and streambaby are far far superior.

    @wmcbrine: i'm a little lost ... are you saying that tivo desktop is somehow over-riding the share name in pytivo? that share name is not present when just running tivo desktop and pytivo is not running. in fact, afaik, tivo desktop will only share the iphoto library and that shows up under the 'Music & Photos' menu item as 'roma_photos'-a name you can assign from the prefpane.

    /guy
     
  3. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    It may still be in your Trash. If so just restore the Developer folder. All that's necessary.

    I noticed this also. Read my post before your last one.
     
  4. wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    Wait, what? ...Oh, I get it: it's an HDUI thing. This doesn't happen with the SDUI. Except with TiVo Desktop for Windows, which is why I posted that; sorry.

    I'm testing a "platform" change now...
     
  5. bareyb

    bareyb Under Maintenance TCF Club

    25,943
    7
    Dec 1, 2000
    Silicon Valley
    From your experience with it, do you think it's appropriate to put into a "Beginners" Tutorial? Would that even be possible? I'm thinking having to download xcode and all that may be a bit much to try and explain... But hey, if you can break it down step by step, I'll take the screen shots and put it in there. ;)
     
  6. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    although simple when someone like these guys (adult supervision) shows us how to do it, a compile and build doesn't, in my opinion, fall into a beginner category. it's entirely safe in 99% of the case, but there'll always be that exception that no one can foresee that will fark things up. witness above where i didn't have the compiler in the path anymore due to an update of the developer tools. granted, this just failed the process and didn't fsck anything up, but it's one of those things those writing the instructions just can't foresee. all this just imho, of course.

    /guy
     
  7. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    i wasn't sure from what @iluvator said whether i could change the platform ?variable? ?field? or not. it sounds like you have to make a source change in order to do this, perhaps? i'd love to be able to change what it displays on the tivo because what it's doing now is ugly. and it goes without saying i'm ultimate anal--i want control!

    i did finally get sort of used to the 'stream, baby, stream!', but not entirely ... [g]

    /guy
     
  8. wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    OK, I have a fix in my repos now.
     
  9. bareyb

    bareyb Under Maintenance TCF Club

    25,943
    7
    Dec 1, 2000
    Silicon Valley
    Okay. That's what I thought. I think the Tutorial is complete as is. Thanks. :)
     
  10. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    You can change this. Edit streambaby.ini to include

    Code:
    title=TiVoStreamer
    
    or whatever other title you could come up with that you prefer.
     
  11. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    great. now to see if i can figure out how to update. i'll let you know if i get stuck. for some reason i have a very hard time with these dedicated 'sourceforge' type pages or wikis--despite the formats being standardized i have trouble finding things. but i've been out of open source stuff since i quit messing around with linux and i'm way out of practice. i just muddle around with bog-standard ubuntu now and don't configure it unless i have to.

    ... is it as simple as replacing my 'beacon.py' file with your newest changes? just a cut'n'paste job? it doesn't have to be compiled (by python?) into the 'beacon.pyc'? i'm betting that it does ...

    ... i found a download tab that seems to have downloaded the whole folder or distro. do i need to replace my whole pytivo folder with the new download (except for my personalized config files) and then the first run will create the .pyc files? or perhaps i can just remove the 'beacon.pyc' file and the next run will recreate it? sorry, i'd love to learn python and it's on my short list, but i just don't have any experience with it yet.

    ... or, if there's a howto or faq on how to merge in new builds, just point me to it.

    @ivulator: many tks for the streambaby tip to replace the default title. sure am glad i'm not paying for all this great tech support--i doubt anyone could afford it even if they could get it nowadays ... [g]

    /guy
     
  12. bareyb

    bareyb Under Maintenance TCF Club

    25,943
    7
    Dec 1, 2000
    Silicon Valley
    Ain't that the truth. People's generosity with their time and talent, never ceases to amaze me. Gives me hope for mankind I tell ya. I hope you guys know how much people appreciate it... :cool:
     
  13. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    ok. my first 'hunch' worked. i merely copied the original 'beacon.py' file, naming it 'beacon orig.py', then added the new 'beacon.py' file from wmcbrine's cvs. i moved the 'beacon.pyc' file out to the desktop and then launched pytivo. as i suspected, the 'beacon.pyc' file was recreated on the fly and ,just like that i now have complete control over the share name that tivo displays. fantastic!

    i'll bet i have you guys in stitches with my deconstructions of how i think things should work and my thrashing around in your filesystems, eh? [g]

    /guy
     
  14. Fofer

    Fofer XenForo Rocks! TCF Club

    82,116
    296
    Oct 29, 2000
    Thanks for this! I'd often wondered how to replace the "Stream, Baby, Stream" title but thought it would be nitpicky to ask. :eek: :up:
     
  15. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    No problem.

    And yes you want to overwrite your entire pyTivo folder, not just a single file. Then restart pyTivo. It should be ok but backup your pyTivo.conf and /bin folder just in case. This will give you all the changes wmcbrine has committed since the last time you installed pyTivo.
     
  16. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    @iluvatar: i understand. i think i got away with it this time because @wmcbrine (according to the version notes) seems to have only modified this single file. i can see it would be much safer to do as you say as the general rule. i never thought of the /bin directory, i'll make sure to do that next time although time machine should have me covered if i forget.

    [later edit: i replaced all the pytivo files with the files from the latest build just to be on the safe side and to get a feel for the proper procedure. i made sure i didn't overwrite my new 'beacon.py' file. confirmed everything still works after the replacement.]

    /guy
     
  17. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Just for future reference the values I have found to work are:

    Code:
    tcd             - icon looks like a 540 S2 /no extra name in music/photos
    tcd/Series3     - icon looks like a HD /no extra name in music/photos
    tcd/Series4     - icon looks like a Premiere /no extra name in music/photos
    pc              - normal PC icon /name in music/photos is '... on PC'
    pc/Mac          - normal PC icon /name in music/photos is '... on Mac'
    
    Value can be anything obviously but only the above (I have found so far) produce icons in NPL.

    Alternately it seems you can choose not to send 'platform' at all and it has no ill effect besides missing NPL icons.
     
  18. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    otoh, i have no shame when it comes to feeding my anal compulsion to control every smallest aspect! [g]

    /guy
     
  19. Mar 1, 2012 #119 of 176
    gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    and now they know where to come to get newbie fresh meat in case they have a new build or some new feature to test out. i know i don't sound like it, but i have been a beta tester (and some betas are more alpha than beta) for nearly 20 years for one or another company or development team. i just joined fitbit, the nifty electronic pedometer folks. i had major problems with a recent update and they had mac problems and i'll bet they figured they'd rather have me on their side where i could cause less problems that if i was out loose on the range asking questions! [g]

    /guy
     
  20. Mar 1, 2012 #120 of 176
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    Interestingly the SDUI shows the "PC" icon no matter what I do; only the HDUI icon is affected.

    I chose to continue using platform=pc for video shares (gives us the icon, and the share name isn't mangled there), and platform=pyTivo for the others (no more share name mangling, and music/photo shares never did have icons). Also, video shares will lose their icons if you disable Zeroconf, since I use platform=pyTivo for the old-style beacons, and there's only one beacon for all shares.
     

Share This Page