Unfortunately that didn't work.. Are you saying I need to call a "mount.sh" (that includes the mount commands) from within autostart and then from within the "mount.sh" I call the PlexConnect.sh I just created?
Yes. Make two shell files. First for mounting the NAS, and second for then PlexConnect.py.
Ok, tried and failed.. I have the suspicion it might be a timing issue, e.g. PlexConnect script is executed before the PlexMediaServer is running, thus resulting in a termination of plexconnect..
This is a fantastic project, kudos to the developers!!
Mine is all working perfectly on my QNAP but I had to change the autorun.sh script to the following for it to work after a reboot (before adding a sleep command to the autorun.sh script, PlexConnect would load but couldn't see my PMS, presumably because it hadn't started fully yet when autorun.sh executed)
Since PlexConnect is in active development, what is the best way to setup automatic updates or simplify the process? I am sure that there has to be a simpler way of updating other than manually uploading downloads from GitHub.
Problem. I have MyPlex enabled and I also did this:
Add the IPs of your AppleTV and of the other devices you want to grant direct access (without myPlex authorization) to the "List of networks that are allowed without auth" (Plex/Web/Setting/(Show Advanced setting)/Network).
This worked when I tried this on my Mac, but does not work on Qnap. I added IP of my Apple TV to the list, which is 192.168.1.208/255.255.255.0
I get this error: "XMLConverter: HTTP response error: 401 Unauthorized"
My QNAP is my one stop shop in my home network. It is running DNS/DHCP (through dnsmasq), Fileserver (AFP, SMB), TimeMachine, Webserver and of course Plex.
So I have PlexConnect working with the Apple TV Gen 3 that I just bought (Apple needs to thank the developers because I was going to buy a Roku until I saw PlexConnect). With Elan's modifications I was able to disable the DNS portion of PlexConnect and use dnsmasq for the redirection. Unfortunately I haven't been successful getting it to run as a daemon but hey, screen works for me.
What I'm wondering is if it's possible to run PlexConnect as a virtualhost under apache because I have a few other webapps that I'm hosting that are expected to be on port 80.
For those that are having trouble getting the script to auto-run on boot on their QNAP, this is the code I am using which essentially kills on of the pre-existing web server activity hogging port 80.
Don't ask me why this port is in use (when the web server is off on my NAS), but I choose to kill it through this script which allows it to 'work' perfectly :)
For those that are having trouble getting the script to auto-run on boot on their QNAP, this is the code I am using which essentially kills on of the pre-existing web server activity hogging port 80.
Don't ask me why this port is in use (when the web server is off on my NAS), but I choose to kill it through this script which allows it to 'work' perfectly :)
Potentially, you could fire up the webserver on your QNAP and point the settings.cfg file to it to make it use Port 80? Just a thought and may not work.
Thank you to the OP for kicking this off and allowing some of us to use such great tools to keep us on the couch :D
I'm new to the whole NAS/PLEX/ATV etc, but like having a go with the new technology, so I applaued all you chaps for some fine work..
I like to use this guides as it looks friendly enough to start with but some area's I'm not very good at like editing the autostart.sh and not to mention "VI", still planning on having a go at it once I have read it over and over :D.
One this I would like to ask is this comment below..
There is a pull request to allow PlexConnect to run as a daemon but it needs some work, hopefully this will make things easier.
This sounds like the perfect option for noobs like me, however has it been progressing at all or is it not required and I should start and just edit the appropriate files to start up plexconnect when the NAS starts in the even of a reboot etc..
This was already asked, but is there a simpler way of updating the required files other than manually uploading downloads from GitHub for such add-ons? As ideally I would like to perform everything via QPKG Center?
At the moment i only have PMS running and Optware IPKG installed, as this is a fresh format/setup of my NAS and for now I am prepping up PMS with my local content and then I will have a crack @ Plexconnect.
This sounds like the perfect option for noobs like me, however has it been progressing at all or is it not required and I should start and just edit the appropriate files to start up plexconnect when the NAS starts in the even of a reboot etc..
This has been held up by people being away on holidays but should be part of the main code very soon.
I will leave the NAS specific stuff for other people to answer.
OK so I should probably wait for a package to install via ipkg this way it should have all the dependencies and install everything in the right directories,,dont want to mess things up now that I hjust rebuilt the NAS