I tried it out to see how it was compared to an jailbroken AppleTV with AppleTV black and I liked it. The only thing is, and maybe I have it configured wrong, is that I have to stay logged into the Drobo for it to keep running from a Mac. Do I have it configured wrong?
Edit: Looks like that is normal operation when closing the Terminal window. I read a couple of places to add an ‘&’ at the end of the command when starting PlexConnect and that seemed to be working. Basically $python ./PlexConnect &
The short explanation: (1) create a service.sh script in the folder where PlexConnect is installed (e.g.: /mnt/DroboFS/Shares/DroboApps/PlexConnect/service.sh); (2) put the commands to start PlexConnect in there; (3) the Drobo detects the presence of that service.sh file automatically and launches the app at startup for you.
Tried my hand at creating a service.sh file but I need a bit of help. Can anyone who has some experience in this look at this and let me know if its setup correctly? I looked through the links above as well some other DoboApps service.sh files and there is some small differences with how quotes are used. Also, the pidfile doesn’t seem to get created when I try to start it in the dashboard but then again, it gets stuck when I start the app at Starting Application. I can start it up on the command line if i manually type it in.
You’re missing a “description” variable, like “name” but a bit longer.
The plus sign in the version string might cause some trouble. I have never seen any apps use that. It might work, it might cause trouble.
Are you sure that PlexConnect.py is creating the pidfile at /tmp/DroboApps/plexconnect/pid.txt? You have to make sure that pid.txt exists and contains the PID of PlexConnect, otherwise the start/stop controls on the Dashboard won’t work.
I will add that then. I took it out cause i thought it be optional and I didn’t really have anything
I’ll try it without and report back
The pid file is what I think is causing my issues. It does not get created. I thought it was how I was putting the path in quotes or not. Does it have to coded in PlexConnect.py to create the PID? Is there supposed to be a host_uid file in the directory? I’ve noticed that some apps have one
Thanks for your help. I followed the instructions on that page, but I’m getting the error “sudo: ./PlexConnect.py: command not found” after typing “sudo ./PlexConnect.py”. I’m really hoping to get this figured out, I’ve been running PlexConnect on my Mac without trouble but would prefer to do it on the 5N.
Thanks for any further guidance you can offer.[hr]
It looks like the $PATH variable change doesn’t work with “root”, but when I login with a created username, I get the error that there’s no home directory. So if I try to save the .profile file, it tells me it doesn’t exist. Do I need to create a home directory somehow?
It looks like the sudo command is working, but that it doesn’t recognize the PlexConnect.py as a python file. I have done the “easy install” for python, but it doesn’t seem to be working. Can anyone help me figure out what I’m doing wrong?
I have done the change while logged in as root, but I still get the same error. I’ve followed the installation procedures as closely as possible (just fixing a URL which has changed here and there), but I’m still having no luck. It’s very odd that it’s not working, I feel like it has to be something small that I did wrong which is screwing it up. Oh well, I guess I may have to continue to run PlexConnect on my Mac if I’m not able to get this thing sorted. Are there any error logs or such that I could pull in order to figure out why it’s not working?