Get out, NICE! You must put up a full how to on how you did this! So if I'm following you correctly, you have plexconnect running on the ATV2 and a bag.plist hosting your plexconnect app with the dns set to auto? SCREENSHOT! Man does addsite need to be cracked open on the atv3! All apps work as they should?
no no no.. i have the bag hosted on the webserver still.. i manage to get the local ips working and the trailer app to be as it should.. only thing missing now is to manage to hav the baglist to be hosted on the atv
This is how I fixed it using terminal on osx e.g. ssh root@192.168.1.101 (alpine is the default password):
cd /Applications/Plexconnect
chmod +x PlexConnect.py
chmod +x PlexConnect_daemon.bash
cd /Applications/Plexconnect/support/OSX
chmod +x install.bash
chmod +x PlexConnect.bash
sudo doesn't work on my Apple TV, but for others it does, WEIRD!
If we can get this webserver going we can us the ATV to host the bag.plist! Still very good progress :)
Don’t shoot me. Just thinking out loud. Can we make the bag a profile we put on the atv like how we did the https cert get around.
Sent from my iPhone using Tapatalk
To do this and you are using addsite you need to have this older version of plexconnect located on the webserver NOT the atv2, you need plexconnect physically there for addsite to function, no need to start plexconnect on the pms host since the atv2 now has plexconnect running unlike the webserver, addsite needs to be able to find application.js to function:
https://forums.plexapp.com/index.php/topic/86031-plexconnect-on-the-go-atv23-no-jailbreak/
Otherwise if you are using trailers on the atv2 you don’t need this older version to get it to work (addsite only). Here is a example bag.plist as well if using addsite:
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
javascript-url
http://127.0.0.1/Applications/PlexConnect/assets/js/application.js
auth-type
js
enabled
YES
menu-title
PlexConnect
merchant
PlexConnect
menu-icon-url
720
http://dnydnsorwanip:1234/raid/shared/plexconnect/plexconnect.png
1080
http://dnydnsorwanip:1234/raid/shared/plexconnect/plexconnect.png
And finally to pull it off the trailers app. Don’t do this in the preliminary instructions:
- add PlexConnect/support/iOS*/hosts_addon_PlexConnect to /etc/hosts
If you did just remove the last line from the /etc/hosts file on the ATV2 to remove the loop back to trailers:
127.0.0.1 trailers.apple.com
Here is a sample settings.cfg for using the atv2 remotely:
[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 = dyndns.com or wanip (no http prefix)
enable_plexgdm = False
hosttointercept = trailers.apple.com
port_ssl = 443
enable_webserver_ssl = False
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = False
You still need to allow without auth in pms when use use the atv2 outside of your lan or inside as per the instructions here:
https://forums.plexapp.com/index.php/topic/86031-plexconnect-on-the-go-atv23-no-jailbreak/
If and when this is implemented into myplex it will render this workaround obsolete. Thanks for closing all the ports on my router besides these
Webserver port (for addsite)
Pms port (for pms content)
Finished product with the atv2 running plexconnect on itself via addsite enabled plexconnect app, no other plexconnect instances running anywhere, able to take just the atv anywhere you please with full functionality (all tabs enabled)
am confused here wahl.. when do u say we need another old plex connect version running?
when using this hack and addsite?
I am not sure why you are chasing your tails on this one as PlexConnect had a built in webserver as I have already stated 
Addsite added apps cannot navigate the new plexconnect build. Without application.js (other files im sure also) built like 3rd party vendor apps, as in how they navigate the .js files, the plexconnect app does not work. If its not like apples scheme it doesnt work, at least for me. Its like the added app navigates via application.js then go from there. The old plexconnect build allows it to navigate in reverse almost like 3rd party vendors do:
So when you add the plexconnect bag.plist via addsite it tells the app to navigate application.js then figures out everything from there it like bag.plist calls on application.js to navigate (open bag.plist and aee where it calls on application.js) e.g.
http://atv.hbogo.com/bag.plist
http://atv.hbogo.com/application.js
And another example:
http://atv.qello.com/bag.plist
https://atv.qello.com/application.js
Without the appletv addsite added plexconnect app able to navigate application.js hosted on a webserver it fails to navigate in reverse to the rest of the .js files, at least for me. I hope this makes sense, and I would be shocked @stoffez if your webserver bag.plist added via addsite wasn’t still pointed at your old plexconnect builds application.js files among the rest of the .js files with the edits to navigate your webserver hosted files. Check your added bag.plist to see. Its how addsite added apps work as far as I can tell, they need this navigation to work right.
Maybe this will help you see what im trying to say on post #3:
https://forums.plexapp.com/index.php/topic/85523-dyndns-atv2-5x-plexconnect-pull-request/
Mind you im running everything on osx so if your can see this on other os’s maybe its something simple that can be opened up on osx to allow it, otherwise the issue lies with how plexconnect is coding the navigation, I think. E.g. http://192.168.2.11/bag.plist and any other attempted naviagtion produces this on osx, unlike an actual webserver on osx that I can navigate the websever files without any issues. Im actually very pleased with this new jailbreak method I was having a lot of issues with addsite remotely and now it works flawlessly, just trying to expand on things like possibly hosting a bag.plist on the atv for addsite and having plexconnect serve it to the atv like http://127.0.0.1/bag.plist as well as other things as stated above. The more implemented the less ports needed to be open, more automated process, less workarounds etc the better it will be as in secure and more user friendly
Im looking forward to myplex hopefully filling in all the tabs, that would remove allow without auth to be removed completely from pms for remote methods.
(Pic on post 72)
https://forums.plex.tv/topic/88975-plexconnect-running-on-any-jailbroken-ios-device/page-4#entry530826
my setup...
i have installed the Plexconnect on the ATV through Baa´s guide. i then have my bag.plist on my webserver point to 127.0.0.1/Applications/PlexConnect/assets/js/applications.js
so therfore i do NOT point it toward any old plexconnect build..
right now am at my parents house.. i brought my ATV here plugged it in and kaboom i can acces my library at home using myplex without any change of any settings whatsoever.. and my plex connnect server at home is not even running so my atv is taking care of all itself so am a bit confused what u mean with using old plexconnect??
this means with my Plexconnect app on the atv is working as it should and the trailers app is still an trailer app not an Plex hijacked
f00b
where is that webserver pointing at ?
i tried last night to put the bag list in my certificate folder and then acces it from the ATV itself by pointing the extrainternetcathegories list to it using this adress
http://127.0.0.1/ applications/PlexConnect/assets/certificates /bag.plist
but nothing showed up..
Ok, I gotcha. So question. Do you have only the myplex tab filled in or your library and channel tabs as well?
i only have the myplex tab filled..
ihave removed the Library and the Channels tabs cause am only using this ATV on the go anyways :)
Ok well I was able to get the library and channel tabs to fill in as well. If you put in your remote wanip/homewanip/localpmsip into pms allow without auth you can fill in those tabs as well, at least I was able to. So it would be like this:
111.222.333.444/255.255.255.0,12.34.56.78/255.255.255.0,876.12.34.56/255.255.255.0
well i move this thing arount to much and i dont feel like putting new ips in everytime i do that so am happy with this solution.. if i just can find a way to host the bag list on the atv itself i can shut down my webserver completely :rolleyes:
I plan on putting a atv2 permanently at my dads house so im gonna use that, but for a remote solution myplex would work great as well if you dont want to mess with pms all the time. Also f00b4r said it hasn’t been implement yet and might be so these tabs will fill in for myplex
Im talking with @baa to see if thats a option for the bag.plist on the atv or if we can have a actual webserver like osx on the atv2 to host the bag.plist as well.
yeah i saw that.. sounds awesome.. now as soon as we figure out where to put the bag list on the ATV itself we are golden :D
Well it can be put there, but if it can be added via addsite from the atv that would be great
my settings.cfg might be screwy on my atv2. Maybe thats why its not allowing me to use the plexconnect app, I will dig around and see what I can find out so it works like yours.
where do we put it to make the atv pick it up? i tried last night without success
I just put the bag.plist on the root of the atv. It still needs to be hosted somehow for addsite to see it, not ready yet for addsite as far as I know. We are getting closer tho 
yeah but if i put it it in under extrainternetcathegories it should be picked up anyways right?
i dont even have addsite in this atv