Hm. Maybe that application.js was from something else...I'm downloading pms now and will see what I can do to replicate this.
As for your other question -- KhanFu isn't ready yet, it's a side project of mine. And other apps -- you'll have to figure those out yourself, sorry. I think network sniffing can get you some, or also looking at the log output from the built-in apps will get you some other useful information...
It looks like he is sharing that from his machine from the root directory, i dont know if that is the original from plexconnect or not.
I cant find anything for any apps besides the ones you gave and a partial skynews as in your pdf. Ive tried to use site index’s etc and different combinations to get the root url. Is there some tool we can use to try to get these bag.plist’s or if I installed 5.3 can I get a bag.plist from there? Problem is I have 5.2 installed so I cant test without upgrading…then downgrading.
Someone on 5.3 can you help me/everyone out by looking at the log files for newer apps? It would be great to have newer apps on untethered 5.2 updatebegone proof atv2
The log is sent to the "LoggingURL" defined in addsite.mc. You'll need a process on the server that can receive that data, IIRC it's just raw POSTs. I think the server in my Quickstart folder handles that. I think.
Anyway, I just got it (sorta) running. I'm hampered by the fact that I didn't really have a full PMS / PlexConnect server running, so I cut a few corners (for one, I don't have the DNS server running). Which means that you have to change all the "http://atv.plexconnect" references in the source to your server name or IP. So it's not QUITE as simple as I'd thought.
But still, I was pretty close:
1. Add code in WebServer.py to handle serving up the file addsite.mc and bag.plist. (see an earlier post from me in this thread, I think # 37).
2. Change the contents of those files to include the appropriate IPs and such
3. Change atv.plexconnect throughout the code to your server name or IP (should probably make that a global setting variable, eh?) [You probably won't need to do this if the DNS server is running -- I tested this just by running WebServer.py directly....]
The log is sent to the "LoggingURL" defined in addsite.mc. You'll need a process on the server that can receive that data, IIRC it's just raw POSTs. I think the server in my Quickstart folder handles that. I think.
Anyway, I just got it (sorta) running. I'm hampered by the fact that I didn't really have a full PMS / PlexConnect server running, so I cut a few corners (for one, I don't have the DNS server running). Which means that you have to change all the "http://atv.plexconnect" references in the source to your server name or IP. So it's not QUITE as simple as I'd thought.
But still, I was pretty close:
1. Add code in WebServer.py to handle serving up the file addsite.mc and bag.plist. (see an earlier post from me in this thread, I think # 37).
2. Change the contents of those files to include the appropriate IPs and such
3. Change atv.plexconnect throughout the code to your server name or IP (should probably make that a global setting variable, eh?) [You probably won't need to do this if the DNS server is running -- I tested this just by running WebServer.py directly....]
3. Change atv.plexconnect throughout the code to your server name or IP (should probably make that a global setting variable, eh?) [You probably won't need to do this if the DNS server is running -- I tested this just by running WebServer.py directly....]
that's what erecarte wrote in post #17, guess he/she has been on right track from the get go. If only he/she would reply back
There's really not much to it. I'd suggest making the atv.plexconnect hostname a global setting, make the DNS server optional, add the addsite.mc and bag.plist files (and the handling code to WebServer.py), and there's your patch to roll back into github.
I'd do it myself, but figured it's best left to someone who actually knows the PlexConnect code. :)
If you could give us a definate how to, to get these log files generated step by step it would be a huge help. Its just hard to follow your new methods we have never seen before such as addsite etc.
I have no idea what this means if you could make it easier to understand:
(The log is sent to the “LoggingURL” defined in addsite.mc. You’ll need a process on the server that can receive that data, IIRC it’s just raw POSTs. I think the server in my Quickstart folder handles that. I think.)
How do you add the server.py to the appletv using add site? How can i see where its defined in addsite.mc, I can read the raw log files obviously but i need help getting there. If you can help me with this I can run with it and open these newer apps up for everyone on lower untethered firmware. In your readme it says we can find 3rd party bag.plist files easily. Show us how please good sir!
So plexconnect still works the same as in we just visit the trailer.app and it forwards to pms? I think what some people are looking for is a way to use plexconnect without rendering trailers.app unusable. Does your plexconnect app load at startup without us having to select it to load plexconnect? Just trying to get a better feel for how things now work with your new app.
There's really not much to it. I'd suggest making the atv.plexconnect hostname a global setting, make the DNS server optional, add the addsite.mc and bag.plist files (and the handling code to WebServer.py), and there's your patch to roll back into github.
I'd do it myself, but figured it's best left to someone who actually knows the PlexConnect code. :)
You don't have to to this for yourself-The only thing that you (dschuetz & wahlman (The smart guys)) should do is to find this awesome method a way to work on iOS 6. After that, PlexConnect integrate will be easy for our very smart foob4r, baa and anyone :)
You don't have to to this for yourself-The only thing that you (dschuetz & wahlman (The smart guys)) should do is to find this awesome method a way to work on iOS 6. After that, PlexConnect integrate will be easy for our very smart foob4r, baa and anyone :)
couldn't agree more..you guys are great. keep it up
then remove the addsite profile from the AppleTV, load it again (which should now include the logging url), restart the AppleTV, and now you should get a whole lot of stuff saved to "addsite.log" in the base PlexConnect directory. Try the various apps and look at the URLs that go by -- that might give you some hints as to what to look for. Or just other interesting stuff.
But as I said in the talk, this logging facility is really chatty -- you don't want to leave it engaged during normal use....
that's what erecarte wrote in post #17, guess he/she has been on right track from the get go. If only he/she would reply back
Hi!
Sorry, I didn't specify what I did, was quite busy today! But basically I did what dschuetz described. Assuming you have already added the profile, this is what I did.
1- Create the bag.plist like this one(replace with your IP address):
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.
5- Change in Settings.cfg these values as they are not needed anymore. This implies that you don't need the apple TV to have the DNS address pointing to your PC.
And that's it. At this point you are only using the WebServer part of PlexConnect which is great. However, as I mentioned in the post yesterday, I've noticed that the AppleTV is clearly slower. I think it's the AddSite profile, because I've reverted everything else and it's still slower.
Sorry, I didn't specify what I did, was quite busy today! But basically I did what dschuetz described. Assuming you have already added the profile, this is what I did.
1- Create the bag.plist like this one(replace with your IP address):
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.
5- Change in Settings.cfg these values as they are not needed anymore. This implies that you don't need the apple TV to have the DNS address pointing to your PC.
And that's it. At this point you are only using the WebServer part of PlexConnect which is great. However, as I mentioned in the post yesterday, I've noticed that the AppleTV is clearly slower. I think it's the AddSite profile, because I've reverted everything else and it's still slower.
Hope this helps.
I should clarify that it's slower....but it's not that bad...I only notice it in the List view in the movies section (over 400 movies) which takes almost 30 seconds to load...everything else is not bad...the movies in a grid view loads a lot faster.
This is an awesome solution since I found that the DNS server seemed to hang sometimes, having to restart PlexConnect quite often.
@erecarte thanks for the detailed instructions gonna give this a try and of course @dschuetz (david) for his instructions as well and for posting his findings
Sorry, I didn't specify what I did, was quite busy today! But basically I did what dschuetz described. Assuming you have already added the profile, this is what I did.
1- Create the bag.plist like this one(replace with your IP address):
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.
5- Change in Settings.cfg these values as they are not needed anymore. This implies that you don't need the apple TV to have the DNS address pointing to your PC.
And that's it. At this point you are only using the WebServer part of PlexConnect which is great. However, as I mentioned in the post yesterday, I've noticed that the AppleTV is clearly slower. I think it's the AddSite profile, because I've reverted everything else and it's still slower.
Hope this helps.
You beat me to it! i just got it working and was about to post how i did it.
watch out for this:
In davids previous post there is a bug on this line, be sure to replace 'curdir' with 'sys.path[0]' like this - 'f = open(sys.path[0] + sep + "assets" + self.path, "rb")'
Also disabled the dnsserver and ssl. Will try to run plexconnect on a different port as i would like to reserve port 80 for apache
thank you guys for all these work but a lot of people will be happy if someone succeed in applying this method on( ios 6),thank you .
Sorry...I have no idea how to even try making it work for ios6, but I was able to downgrade yesterday to 5.3 downloading the ipsw and restoring the AppleTV (as far as I understood it's usually very hard to downgrade the AppleTV, thought it might be good to point it out just in case).
You downgraded from ios 6 (7.0.2 11a502) using a .shsh via seasonpass? Or did you just use itunes to downgrade to 5.3 since its still being signed at the moment? AT2or3?
Anyone with a apple tv 2 or 3 besides the ATV3 2013 model should downgrade or at least save your 5.3 .shsh before apple stops signing it. Tinyumbrella is your friend.
You downgraded from ios 6 (7.0.2 11a502) using a .shsh via seasonpass? Or did you just use itunes to downgrade to 5.3 since its still being signed at the moment? AT2or3?
Anyone with a apple tv 2 or 3 besides the ATV3 2013 model should downgrade or at least save your 5.3 .shsh before apple
stops signing it. Tinyumbrella is your friend.
I used iTunes for an ATV3. It looks like it's still being signed.