PlexConnect on aTV2/jailbroken -> launchctl

Well he said URL so, it might be something stupid easy we are missing.


File colon slash slash slash bag.plist :wink: sweeeeet!

WOOHOOO  am gonna kiss Baa when i see him :D  :D  :D  :D  got it working without the baglist on the webserver :D

Ok now do we need to copy the old plexconnect over to a seperate location on the atv? Probably if we want to fill in all the tabs like myplex might be implented to do in the future. Only if desired of course.


Atv3 users can do this as well using jailbroken Iphone now as well for a remote solution, I fixed up the tutorial.

lol woot? u dont need to do anything.. mine works straight out of the box :D

Yes, but if you want to fill all the tabs you can host these files on the atv in a separate plexconnect folder and point the bag.plist to them using this url method, completely optional, or just use myplex with only its tab as a remote solution. Finally I can kill my webserver if desired! Great work guys! Once again if this is put into myplex, I wont need to use this seperate old plexconnect folder so I can have channels remotely.

The local library tab will never be filled unless your PMS is local for a number of reasons.

I have proven that wrong with my plexconnect on the go method. I would imagine I could implement it on the atv as well just as I did using that on the go method.

It will not be part of the PlexConnect code.

Not an issue, I have it saved. Now I only need to open allow without auth on my pms and it should work fine remotely, all tabs filled in. Its just a personal pref that is all, I like configured channels etc, not just the myplex tab when im out of town, etc. myplex is by far easier to implement but having no configured channels when im out of town is a deal breaker for me. If that was implemented into myplex, I would not have that issue, nor need to allow without auth in pms to get it to work remotely, like we spoke of prior. It takes a whole minute to implement the channels & library tabs by entering in the remote ip into pms. Which I can do while im out of town by logging into pms and managing it like dyndns.com:32400/web. Myplex still works as it always did, plus a few extra tabs, whats the harm in that?


I have to play around with it, I would rather get rid of the old addsite plexconnect code if possible.

Progress! The old code is not needed whatsoever anymore when used remotely! I have ALL THE TABS filled in exactly as they do at home using a similar settings.cfg file on the ATV2 using only one instance of plexconnect running on the atv2 no extra old code needed:


[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

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


I was able to fill in the tabs by using the allow without auth in pms. It requires by minimum if you were doing one remote location, three ip address’s:


192.168.1.101 local ip

11.22.33.44 wan ip

44.33.22.11 remote location wan ip


In pms it would look like this


192.168.1.101/255.255.255.0,11.22.33.44/255.255.255.0,44.33.22.11/255.255.255.0


Best of all, Its all built into the new plexconnect code, Glorious!


All I need to do is update pms if needed if I travel from place to place to add or change remote location wan ip addresses by typing a similar url in a browser and changing that simple setting in pms:

http://dyndns.com:32400/web


WONDERFUL WORK GUYS THANK YOU! :slight_smile: :stuck_out_tongue: :slight_smile:


Webserver eliminated! Now I have a atv2 at my parents remotely with all tabs working exactly as it does at home, works flawlessly as a permanent link to my pms :slight_smile:

This is weird... added the example lines back into previous post: https://forums.plexapp.com/index.php/topic/88905-plexconnect-on-atv2jailbroken-launchctl/?p=516424

is there anyway to get the plexconnect app to populate the top row instead of the lower row? due to jailbroken atv it should be a way to do this right? i rember that the native plex app was located on the top row

is there anyway to get the plexconnect app to populate the top row instead of the lower row? due to jailbroken atv it should be a way to do this right? i rember that the native plex app was located on the top row


Only by building a native app.

I thought I seen within one of these within the application.js location, some info about the top bar navigation, not really sure if it was a app I ever seen in the top bar but maybe a clue to how to do it without a native app possibly, just trying to fish for some info on the subject, it would be great since the plexconnect app is kind of on the atv2 now & if there was a way to manipulate it to show stuff on the top bar when its highlighted like native plex app did prior it would be sweet :slight_smile: I really think this goes back to how the atv navigates the application.js file initially and its fed to the atv to tell the plexconnect app how to operate. I will do some digging and see what I come up with. I will also unhide all my spoofed apps and see if any go into the top bar, if they do thats step 1. Step 2 would be seeing how these other apps fill in info into the top bar like the old client did.

Http://appletv.vevo.com/bag.plist
Http://atv.hbogo.com/bag.plist
Http://atv.qello.com/bag.plist
Http://espn.go.com/watchespn/appletv/bag.plist
Https://crunchyroll.com/appletv/bag.plist
https://appletv.itunesfestival.com/v1/2013/bag.plist
https://watchdisneychannel.go.com/appletv/bag.plist
https://watchdisneyxd.go.com/appletv/bag.plist
https://watchdisneyjunior.go.com/appletv/bag.plist

Bad news none of the 3rd party spoofed apps go into the top bar, rats. What is also strange is that when my atv2 starts up the plexconnect app it appears to be in the top bar then it drops down when it picks up my internet.

This bag.plist has a top shelf but no top row in it:

https://appletv.itunesfestival.com/v1/2013/js/bag.plist
https://appletv.itunesfestival.com/v1/2013/js/app.js
https://appletv.itunesfestival.com/v1/2013/xml/top_shelf.xml


I also re-enabled itunes festival on my atv2 by adding the bag.plist :wink: Doesn’t seem to do much though.

Figuring out how is not the problem (XBMC’s source code is freely available and if is possible to see the native Plex client source code as well). The issue is:

- dev effort better spent elsewhere
- this is an edge case scenario that is only going to become more and more of an edge case (the proportion of user base is going to shrink as time go on)
- confusion to users about why the UI is radically different for different users
- if stops users using the built in movies/TV or certainly confuses them

Feel free to go ahead and create a new app if you want but you should start a fresh thread about it as it is off topic (you may find it a lot easier to do now with the tips I just gave you(.

Just digging around trying to see if it was possible. Not a big deal, just curious while trying to answer @stoffez question if possible.

is there anyway to get the plexconnect app to populate the top row instead of the lower row? due to jailbroken atv it should be a way to do this right? i rember that the native plex app was located on the top row

Not quite the top-top row... but you can get it up quite a bit.

-> http://forum.firecore.com/topic/8175

edit /private/var/mobile/Library/Preferences/com.apple.frontrow.plist

in array AppOrdering...  add PlexConnect where you like it.

Not quite the top-top row... but you can get it up quite a bit.

-> http://forum.firecore.com/topic/8175

edit /private/var/mobile/Library/Preferences/com.apple.frontrow.plist
in array AppOrdering... add PlexConnect where you like it.

Or hold down the select button on the remote till that icon starts to wiggle ;)
They added that in 5.1 I think.