Starting PlexConnect AFTER Plex Media Server?

Just like the subject says.

 

I followed the instructions here - https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Mac

 

Everything works fine until a reboot.  Then when I do launchctl list | grep plexconnect I get error 1.  I do unload/load and everything works fine.

 

I am assuming that this is caused by PlexConnect launching before PMS.  If I am mistaken please correct me.

 

Thanks in advance...

Are you using fast user login or do u have a password prompt prior to logging in. If you have a password prompt it's more then likely the issue. I personally use a lock.app (set to start in login items) to allow PMS and plexconnect to load at boot (among other apps e.g. iTunes for home sharing). I have tried multiple ways to get around this and this is the best way I could get my apps to load to get around macs gatekeeper while keeping my mac password protected.

 https://forums.plex.tv/topic/84307-launchctl-and-applescript-methods-for-plexconnect-on-mavericks-osx/

1 Like

>>If you have a password prompt it's more then likely the issue.

Why? The setup is working fine over here... The service (actually running as root) has nothing to do with you login in as a user...

PlexConnect doesn't need PMS at startup. It only needs it during "discovery" once you hit trailers - otherwise you get a "no library available" or something. But PlexConnect should still work fine, you would be able to login to shared libraries for example.

Fast user login...I think. I have 2 UserIDs on the system.  UserID1 is a "server" account, UserID2 is a working account.  I switch over to UserID2 only when I need to.

UserID1 auto logs in at startup, Plex Media Server starts up no problem as a login item. iTunes as well.

All I know is that if I do an unload/load of the launchctl daemon it "solves" the issue.

@Baa - Sure, PlexConnect will start at boot as a launchdaemon (if installed properly) just not locally owned PMS's unless fast user login is enabled or the user log's into the mac PMS host.

@PaxVobiscuit - what OS X version are you running?

Yosemite 10.10.2

Weird, I personally use the app in my signature OpenPlex but I'm not sure if it would solve your issues. Could you use this template to post a full issue report:

issue report

When you boot your mac does it boot right into OS X or does it goto a login screen? If it hits a login screen then you need to enable fast user login or login before PlexConnect will pickup you locally owned PMS.

Boots, auto-login, PMS starts right up as well as iTunes.  launchctl daemon kicks off (it is listed in launchctl list with an error code of 1).  I'll build up the error report and post it later.

OK, in working on building up the error report I believe I have solved it - permissions issue.  UserID2 is the system admin account where as UserID1 is a regular user (I did add it to sudoers).  As Plexxconnect-master is in the applications folder UserID1 needed to authenticate.  I modified the permissions on the folder to allow read/write for UserID1 on the Plexconnect-master folder and everything is working now after several reboots.

Thank you for getting me moving in the right direction...