Your getting the 404 file not found error on application.js because you need to run from the Plexconnect directory, do the following, cd into the directory first then run PlexConnect.py
cd PlexConnect-XML_templates
sudo PlexConnect.py
See if that works.
My PlexConnect.py does not live in PlexConnect-XML_templates/ I don't even have a PlexConnect-XML_templates directory.
It lives in PlexConnect/
In addition, just running gives me a
sudo: Plexconnect.py: command not found
I need to run
sudo ./Plexconnect.py
in order to get it to work properly. If I navigate to ... /PlexConnect and run
We haven't got that far yet, haven't seen you on glassboard for awhile. Also, I told you people would expect to download the master branch ;) Should have merged to back.
We haven't got that far yet, haven't seen you on glassboard for awhile. Also, I told you people would expect to download the master branch ;) Should have merged to back.
Glassboard: well, I have like 10 open questions there, but no answer. I assumed, nobody is home... so why bother writing more messages :-)
Merge: Yeah, maybe. I could also rename/unpublish/delete the master. I will give it a try.
Plex forums: We have to think of getting an own board, I guess... with a "pinned" message on the status, on installation and usage and those question threads. We will see how this develops. But it can't be that far...
Thanks for sticking with me Baa and roidy. The final answer was:
Also people need to open the application.js file and change the address of the Plex Media Server ...
As soon as I did that, Trailers show up and I can select the Plex libraries.
I think the Readme needs a line mentioning the need to edit the application.js file with the PMS server address.
On OS X 10.8.3, it is slightly worrying that I had to quit all running services in System Preferences - Sharing because one or other was blocking port 80 and I will check which one was the cause of the problem.
Thanks for sticking with me Baa and roidy. The final answer was:
Also people need to open the application.js file and change the address of the Plex Media Server ...
As soon as I did that, Trailers show up and I can select the Plex libraries.
...
Impossible. There must be something else you changed.
Two reasons for this:
1) your log (in #135) states, the WebServer never even found "application.js"
2) on my development system, I run with a faulty address in "application.js". Guess, Roidy didn't tell about the need to change :-)
I never had this kind of trouble...
Just out of curiosity, please think again... do you now run "cd [path]", "sudo ./PlexConnect.py" instead of "sudo [path]/PlexConnect.py"? In my eyes, only this could explain you latest issues (#136, #137).
EDIT:
Readme: yes, it would be great to keep it up to date. On the other hand, it is a bad architecture to have the need to do the same setup change in multiple locations. Trust me... we will find a way to remove the need to adapt *.js.
SystemPreferences: You are right, the internal processes might be in need for connecting to port 80. "Internet Sharing" for sure... they have to read the local request on port 80 and forward it to the outer world. Running 10.8.3 as well, I don't have those services active by default, so I never saw the issue. Thanks for pointing it out.
I just quit all the shares in System Preferences — Sharing, which seemed to solve the port 80 problem previously but had not solved the Trailers are unreachable message.
Then I edited the application.js file with the correct IP for PMS.
Then I opened terminal, typed sudo followed by a space and dragged the PlexConnect.py file to the terminal—this is a Mac after all—like I have done at least 30 times before, so the path to the file was written automatically, because why type when you can drag?
I went to the ATV2, navigated to Trailers and it was all fine.
nekton1: Honestly... I don't understand. And I am unable to repeat it. Would you do me a favor and help to debug your - now solved - issue?
1) Would you please change the numbers in *.js to point in a bad direction and run it that way... to reproduce the error?
2) Also, please type "pwd" (present working directory) in your terminal before running the "sudo [path]/PlexConnect" command. Please compare the result of pwd with the directory PlexConnect.py actually is stored.
I am anctiously waiting for this to be rolled into the normal version of PMS. I wish I had skills to help.
One thing I was wondering about this way to get plex on non jailbroken Atv. Can this system point to a different DNS for netflix content. I use TUNLR to get american Netflix I love plex but also don;t want to loose my US netflix.
Any advice or if that could be considered would be awesome.