New hack: running the PlexConnect python script on your jailbroken ATV2

@stoffez you can now use everything as you intended with addsite remotely and the trailers app locally at the same time using one plexconnect host.

yeah am working on it.. just trying to figure out where to point my plexconnect bag list from the atv :D

Got everything to work, except the startup script.. so now am stuck with havto ssh into the atv to start the Plexconnect.py and i am stuck with not be able to close the terminal window.. any thoughts on this'?

Did you use my startup plist file?  Its been working for me no problems.

Where did you point your bag.plist file that you loaded?  Thats where I am stuck.

Where did you point your bag.plist file that you loaded?  Thats where I am stuck.

http://192.168.1.22/var/root/Plex/assets/js/application.js

did u manage to add an site? :)

@stoffez im on your addsite added plexconnect, but it says nothing available.

@stoffez im on your addsite added plexconnect, but it says nothing available.

i got it to work.. but its shut down right now cause am trying out this thing at the moment :) il let u know when its back up

yay got it working :D .. the downside here is that u havto change the ip inside the baglist when u move the atv to a new ip :O but maybe thats something that wil be fixed later :) now i can sleep good tonight :D 

Thats why I use a dyndns and point the bag.plist to my pms host. You shouldnt need to change the ip ever that way. When you eneter a new remote site just enter that into pms as a authorized ip.

Yeah i know buts its hard to do that when u get a new internal ip everytime u move it… And cause i want a seperate plex connect server at my home i must do it this way (for now)

Have you tried 127.0.0.1?

Ye dident work for me :frowning:

@stoffez,  Can you please post your settings.cfg and maybe the bag.plist you used.  I have it launching the app but it now just got an error entity line 1: parser error.

Why not make the ip static on the atv outside of the dhcp range.

Say your dhcp is 192.169.1.101-192.168.1.200 make your atv static ip 192.168.1.10 or something

And are you using the main branch of plexconnect or wahlman.j's?

[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 = True
logpath = .
ip_pms = 192.168.178.10
enable_plexgdm = True
hosttointercept = trailers.apple.com
port_ssl = 443
enable_webserver_ssl = True
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
 
 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 
    javascript-url
    auth-type
    js
    enabled
    YES
    menu-title
    Plex Connect
    merchant
    Plex Connect
    menu-icon-url
   
      720
      1080
   
 
 
its a freshly downloaded main branch

You need to use my branch for addsite:

https://github.com/wahlmanj/PlexConnect

Thanks, mine looks similar.  And is 192.168.1.22 the ip address of your ATV?