PlexConnect on aTV2/jailbroken -> launchctl

i have a button installed.. by orginal i mean the way that is supported by ibaa..  read the first post in this thread...

...or the readme in /support/aTV_jailbreak.

Well, I tried Baa's steps (including all optionals editing the etc/hosts file) and I get PlexConnect running, but only via the Trailers app. The button installs with no problem, but each time I click on it, I get "PlexConnect is unavailable. Try again later." However, as soon as I click on the Trailers app, I have full access to PlexConnect. Baa? Any advice?

Again, thanks for all the hard work. I hope I can get it pay off on my end :)

Well, don't use all those options. Decide for one... :-)

- Remove that "trailers" line from /etc/hosts again, this will revert back to the original apple trailers

- make sure .../bag.plist points to the correct PlexConnect directory

- make sure your settings are correct, i.e. copy the /support/aTV_jailbreak/Settings.cfg file to the main PlexConnect directory

- restart your aTV, you should be ready to go...

actually i had that issue aswell.. placing certs in the cert folder fixed it. dont ask my how and why.. just did :D

Interesting... certs for what? trailers?

Don't know why that should matter as the new button has no reference whatsoever to trailers. But then again, I guess I never tried it without certs installed... they were just there. :-)

yeah.. the certs was for imovie i think.. but for some reason i got unavalible when they where not there and as soon as i put them in it worked.. dunno why :O 

is the js files looking for them ?

>>is the js files looking for them ?

No.

I seen this issue as well. Its like plexconnect will not load without the certs in place it will just shut it self down without them using this method.

Hm...

a log would have helped, I guess.

But yes, you are right. When using Option B) - extra button - one should switch the setting use_webserver_ssl to False. In that case the cert files wouldn't be needed.

Back to the log: It should show "Failed to access certificate: ..."

Thank you to all for helping, here's where I am at now:

I tried all the steps from Baa's #285 post:

>>Well, don't use all those options. Decide for one... :-)

 

- Remove that "trailers" line from /etc/hosts again, this will revert back to the original apple trailers

- make sure .../bag.plist points to the correct PlexConnect directory

- make sure your settings are correct, i.e. copy the /support/aTV_jailbreak/Settings.cfg file to the main PlexConnect directory

- restart your aTV, you should be ready to go...

 

And still nothing. Everything was set up right.

 

Next, I tried installing the certs for trailers to assets/certificates and still nothing. I still have full access to the PlexConnect via the Trailers app just not via the PlexConnect button.

 

I might try starting over again with a fresh 5.3 jailbreak and repeating steps.

Update:

Went back to original 5.3 jailbreak and followed Baa's steps, added the certificates as mentioned in post #286 and did a full reboot and it worked! Working like a charm now with both PlexConnect and Netflix.

Thanks again for all the help everyone.

Update:

Went back to original 5.3 jailbreak and followed Baa's steps, added the certificates as mentioned in post #286 and did a full reboot and it worked! Working like a charm now with both PlexConnect and Netflix.

Thanks again for all the help everyone.

I finally got around to testing netflix and it works fine using my .deb's on both of my atv2's on iOS 5.3. I'm not sure why it didn't work for you.

I finally got around to testing netflix and it works fine using my .deb's on both of my atv2's on iOS 5.3. I'm not sure why it didn't work for you.

Thanks for testing it. Not sure why either...I'll have to test it again and retrace my steps.

Hi Guys,

After a long time of living with 5.0.2 and the old plex app I finally decided to move on and start using 5.3 and Plex Connect. So I followed wahlman.j' instructions on how to install and everything went swimmingly up until I attempted to access the server itself. I logged into myPlex account and the app showed me there were no servers available EXCEPT the server my brother shares with me. I opened the plex log file and essentially the only message is:

18:07:16 PlexAPI: We failed to reach a server. Reason: [Errno 61] Connection refused
18:07:16 PlexAPI: Servers (local+MyPlex): 1
 
Repeated many times. I am guessing this is a problem with my plex server as my brother's shared one seems fine, I even tried linking it to a new account and I tried it on different plex libraries to no avail. I shared my plex library with another dummy account just to check and still no joy. The plex server also works fine with myPlex as far as I can tell and I am able to access the web interface as well. So I'm now at my wits end and have decided to beg you guys for any assistance you could give me. Hopefully somebody has seen this before!
 
EDIT - Also forgot to mention that PlexConnect has worked absolutely fine through the trailers app but I'd really like to get this installed locally with a nice button!
 

EDIT2: Plex Info

ATV2

Apple TV Software 5.3

DNS: 10.0.1.101

PlexConnect IP: 10.0.1.101

PlexConnect running on Mac OSX 10.9.4 (Clovertown Mac Pro)

PMS Version: 0.9.9.14.531-7eef86c

PMS also running on 10.0.1.101

PlexConnect Version: 0.4

 

[PlexConnect]
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
enable_dnsserver = False
logpath = .
ip_pms = 127.0.0.1
enable_plexgdm = False
hosttointercept = localhost
port_ssl = 443
enable_webserver_ssl = False
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = False 
 

Being that plexconnect works on your atv2 I would say the issue is with your pms server itself not serving your local content properly. You should be able to just sign into myplex and your local libraries should work. On your pms settings is the shared port properly working and mapped right on your router?

ip_pms = 127.0.0.1

enable_plexgdm = False


This means it’s looking at the device for your PMS. Either change enable_plexgdm =True or put the ip of your PMS in the ip_pms setting

Pointing it to the plex server fixed it. I guess some problem with myPlex? Anyway, doesn't matter as it works now! 

Thanks for the prompt responses!

Pointing it to the plex server fixed it. I guess some problem with myPlex? Anyway, doesn't matter as it works now!

Thanks for the prompt responses!

. I could be wrong but I thought myplex was only used for shared servers (or servers requiring authentication on the local network) and you don't share your own server with yourself. That's why plexgdm exists.

Myplex is only for shared libraries. You need to sign into myplex for your local and shared libraries to populate when using this method when away from home. This settings.cfg is expected when using my modified .deb(s) based on baa’s original method:


[PlexConnect]

port_pms = 32400

port_webserver = 80

ip_plexconnect = 0.0.0.0

certfile = ./assets/certificates/trailers.pem

ip_dnsmaster = 8.8.8.8

loglevel = Normal

enable_dnsserver = False

logpath = .

ip_pms = 127.0.0.1

enable_plexgdm = False

hosttointercept = localhost

port_ssl = 443

enable_webserver_ssl = False

prevent_atv_update = True

port_dnsserver = 53

enable_plexconnect_autodetect = False


I don’t believe a lot of it is needed but it works for all users so far so I leave it as is.