Adding delay to daemon launch

Hi all,

I recently moved my librairies to a network NAS. In order to correctly connect it to OS X, I have set up an automator app which autommatically mounts and connect the NAS drives at startup.
This automator is delayed of several seconds in order to allow enough time to OS X to acquire its ethernet address from the DHCP server before trying to mount the drives (which causes connexion errors without the delay)

The problem is that plexconnect daemon is launched at startup while the drives are not mounted yet and seems not to be able to establish the connexion to the drives when they are mounted.

So my question : is it possible to delay the launch of the daemon ? (without modifying it, I’ve seen it is possible to add a delay in it, but I know myself, I will forget to modify it again at the next update)

Thanks
Bruno

You can start PlexConnect without PMS being on (it will find PMS later on), but you should not launch PMS without the media drives mounted. Therefore I think that you need the delay in PMS and not in PlexConnect.

That´s odd because today I had the problem : with PMS seeing the drives (I launched a play on a movie using plex Web) while I was not able to access to Plexconnect. After unloading and loading the daemon, no problem using Plexconnect on the aTV.
I’ll give it a try tomorrow.
Bruno

You can also force PlexConnect to re-scan using the ATV (Settings menu). If PMS servers is zero you can press in the remote and a re-scan will take place.