its pc, i've the bag to show by rigging it. it connects to plex but nothing loads under plex im assuming have to change all reference of "atv.plexconnect" to "10.0.1.13:80". like erecarte said the javacript is hard coded
Ya im in the /plexconnect/assets/js folder attempting to fix all the files to match my ip. I wonder if you change just atv.plexconnect instances or http://atv.plexconnect as well. So do you leave them as http://youripaddress or just your ip or just swap out atv.plexconnect not http://atv.plexconnect for example:
If you see http://atv.plexconnect it should be "http://youripaddress" I assume
If you see atv.plexconnect it should be "youripaddress" I assume
Also this is said in @erecarte's instructions: "4- Change everywhere atv.plexconnect with your ip address. For the templating part is quite easy as there is a variable for it, but the Javascript is a bit more cumbersome as it's hardcoded."
So i wonder where is this variable located for the templating part? Do we not need to edit all the files in the plexconnect folder such as plexconnect.py & webserver.py or just the varible portion since that takes care of it (Not sure)?
Do we only need to edit files in /plexconnect and in /plexconnect/js? We need to add addsite.mc & bag.plist to /plexconnect/assets(I would assume so)?
Do we need to app bag.plist to the atv from the add site app(I would assume so)?
Better instructions would clear this up and save everyone time. Im bouncing between @dschuetz & @erecarte both use similar methods except the webserver.py code seems to be different from one to the other. Maybe this is why @erecarte is having issues with plexconnect not running as fast as it did with the trailer.app but idk. Also @Dalim seems to be working as well.
Some of the issues you guys are having is I think when you add the bag.plist you cannot add it to the atv from 192.168.1.101:0000/assets/bag.plist unless you named your server assets in your config.
I add apps to my atv by using this:
192.168.1.101:0000/myfolder/bag.plist
192.168.1.101=my ip address
0000=my port which is obviously something else
myfolder=The folder I added to my apache server.
hope this clears some things up even though I have created more questions for myself :P
Ya im in the /plexconnect/assets/js folder attempting to fix all the files to match my ip. I wonder if you change just atv.plexconnect instances or http://atv.plexconnect as well. So do you leave them as http://youripaddress or just your ip or just swap out atv.plexconnect not http://atv.plexconnect for example:
If you see http://atv.plexconnect it should be "http://youripaddress" I assume
If you see atv.plexconnect it should be "youripaddress" I assume
Also this is said in the instructions: 4- Change everywhere atv.plexconnect with your ip address. For the templating part is quite easy as there is a variable for it, but the Javascript is a bit more cumbersome as it's hardcoded.
So i wonder where is this variable located for the templating part? Do we not need to edit all the files in the plexconnect folder such as plexconnect.py & webserver.py for the varible portion since that takes care of it?
Do we only need to edit files in /plexconnect and in /plexconnect/js? We need to add addsite.mc & bag.plist to /plexconnect/assets(I would assume so)?
Do we need to app bag.plist to the atv from the add site app(I would assume so)?
Better instructions would clear this up and save everyone time. Im bouncing between @dschuetz & @erecarte both use similar methods except the webserver.py code seems to be different from one to the other. Maybe this is why @erecarte is having issues with plexconnect not running as fast as it did with the trailer.app but idk.
pretty much were i'm stuck at too.. i was gonna be a test subject and updated to 6.0 after i got everything working to see if it stuck, maybe it would give us a clue as to how to get it working on 6.0
I would test on ios 6 too but I dont know if you can downgrade using your saved .shsh or not after apple closes the ios 5.3 door.
lowered from 6.0 to 5.3 and then put addsite.mc increased by 6.0 addsite button remains in place, but bag.plist not added.
It's official, I can't get it to work, giving up (for now)
this is what I did tho
-changed every instance of atv.plexconnect to my ip (without a :port, maybe this is what I'm doing wrong?) in plexconnect/assets/js and in plexconnect/assets/templates folders. BTW there's only one file referencing atv.plexconnect in the templates folder (byfolder.xml), all the other (or at least most of them) files link back to util.js which already has my ip instead of atv.plexconnect, I also replaced it in the web server file and in plexconnect.py
I didn't do it in the dnsserver one since I assumed we won't use it after disabling it in settings.cfg
-I used erecarte's bag.plist file replacing the ip with mine (again with no :port), placed it in the assets folder along with the add site.mc file
-Edited the web server.py file to include erecarte's lines but also added the second paragraph in dschuetz instructions changing "r" to "rb" according to "I don't remember his user" recommendations.
-ran this script on terminal python -m SimpleHTTPServer 8000 from within the pexconnect folder, loaded the addsite.mc file, restarted aTV and then loaded the bag.plist file onto the aTV
The PlexConnect channel is added to the aTV but with no icon, just an empty rectangle and getting the channel is unavailable message
ps:I also moved the js and thumbnails folders to the root folder (plexconnect/) as well as plexconnect.xml from the templates folder. Why, you ask? I really don't know lol. Made sense??
Working. I can confirm I can watch movies.
last missing piece for me was where to change atv.connect to my ip.
found these places:
1) in all files inside the js folder replace http://atv.plexconnect/
with http://192.168.XX.XX/ with XX.XX your address
more than once in each file.
2) in Webserver.py and PlexConnect.py
modify param['HostOfPlexConnect'] = 'atv.plexconnect' to
param['HostOfPlexConnect'] = '192.168.XX.XX' with XX.XX your address
good luck.
also got it working.. its a bit of a hack job! uploading a video to show it working
This was tested by one us on the PlexConnect team (Roidy) and for them works with no apparent slowdown (was this due to recaching of the library?). However i quote:
"The only 'quirky' thing I've noticed is that if I reset the atv, the PlexConnect app can take upwards of 2-3 minutes to reappear on the home screen, while every other app appears nearly instantly. It always reappears, it just takes a long time. Very strange."
Maybe some patience is required?
Some nice sleuthing on the ops part (kinda like digital dumpster diving) though! :ph34r:
If dschuetz could throw any light on this we would be really interested.
f00b4r lives!!
f00b4r lives!!
The report of my death was an exaggeration. ;)
Am off to bed now but will be around again (quite a lot of threads to catch up on and stuff to add to the wiki).
heres a vid in action http://vimeo.com/76004818
Almost got it working on a mac :) no trailers.pem needed anymore also! Bonus original trailers.app works, no dns forwarding needed auto ip, auto dns whoot :) all this on atv2 ios 5.2 untethered. I used my webserver to link the files needed for the bag.plist such as:
192.168.1.101:0000/myfolder/shared/plexconnect/assets/js/application.js
Then i went to my atv to install the new bag.plist i created to install the plexconnect app
Everything works except I cannot play my movies or my tv shows.....yet, so far channels are only working from the new plexconnect app and the icon doesnt have a proper png file...big deal at least a good start so far. I just need to tweak plexconnect on my mac and I should be good to go. I will post a complete how to once I get it all working for everyone to easily follow.
For now here a similar bag.plist if anyone on a mac would like to try to use apache to serve up this bag.plist to an atv2/3
lowered from 6.0 to 5.3 and then put addsite.mc increased by 6.0 addsite button remains in place, but bag.plist not added.
Does the addsite interface look the same in 5.3 and 6.0 (after the upgrade)? There was speculation of new functionality like being able to remove sites.
good to see more ppl have it working now. Here are the steps i followed on WHS that might help others.
webserver ip - 192.168.0.115
pms ip - 192.168.0.118
1) download latest plexconnect from github, unzip to a folder, i used notepad++ (find all in files) and replaced all occurrences of atv.plexconnect -> with my webserver ip e.g 192.168.0.115
2) place addsite.mc and bag,plist inside assets folder, edit these files with your webserver ip e.g. 192.168.0.115
2) edit webserver.py and add the following lines, i added this at line 148
# serve bag.plist,addsite.mc
if self.path.endswith("bag.plist"):
dprint(__name__, 1, "Serving bag.plist")
self.send_response(200)
self.send_header('Content-type', 'application/xml')
self.end_headers()
f = open(sys.path[0] + sep + "assets/bag.plist", "r")
self.wfile.write(f.read())
f.close()
return
if self.path.endswith(“addsite.mc”):
dprint(name, 1, “Serving config profile”)
self.send_response(200)
self.send_header(‘Content-type’, ‘application/xml’)
self.end_headers()
f = open(sys.path[0] + sep + “assets/addsite.mc”, “r”)
self.wfile.write(f.read())
f.close()
return
[PlexConnect] enable_webserver_ssl = False logpath = . enable_dnsserver = False prevent_atv_update = True port_dnsserver = 53 enable_plexconnect_autodetect = True 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 ip_pms = 192.168.0.118 enable_plexgdm = False port_ssl = 443
4) now while running plexconnect.py on your webserver, go to your atv, using the url - http://192.168.0.115/addsite.mc or http://192.168.0.115/assets/addsite.mc, cant remember which one I used you should be able to load the file from your webserver to your atv, an add site icon should appear.
5) from the add site icon do the same for bag.plist. It may take a few seconds/minutes before the plexconnect icon actually appears.
hope this helps. good luck
ios 6.0 is not supported....yet, see post #88
Works on a mac will post how to soon for all you osx junkies
once I got it working the app starting showing the pic…weird but whatever works! Anyone have a better looking png file I could use? Can you post it here and put the original link if possible here as well other then that happy with the results! Thx everyone espically @dschuetz for this awsome new way to get plexconnect to work without the hijacking the trailers app! Also parental controls hides the addsite app to make it kid/wife proof. You can hide the plexconnect app as well if for some reason you needed to via parental controls. So far it seems like it runs faster then hijacking the trailers app. 
how do i set up a web server for mountain lion?
3rd link in my signature must change port from 80 or you will break plexconnect since it uses 80 and 443 I believe, use any port like 9999 or something as long as its open your should be good to go. Hopefully soon we can change the port on plexconnect and it wont matter.
3rd link in my signature must change port from 80 or you will break plexconnect since it uses 80 and 443 I believe, use any port like 9999 or something as long as its open your should be good to go. Hopefully soon we can change the port on plexconnect and it wont matter.
I'm lost in this part "add share by issuing this command after you run sudo su" and "ln -s / /Library/WebServer/Documents/yourfolderhere"
..do i use terminal for this?