Could the same apply to OSX Web Server with local DNS?
Could the same apply to OSX Web Server with local DNS?
I'm interested in this also.
Hopefully the devs are integrating this into PMS though. I think that will be the neatest solution.
Yes that would be a dream came true. But maybe apple will allow 3rd party apps on aTV before. 
Hey rippiedoos, thanks for the tip, I will makes these changes. Just a quick question is it necessary to write 2 strings with a 1 second pause between? Wouldn't just writing 1 string be enough? In fact do we need to send anything, would just sending the 200 response and the header be enough?
I think the plain response would be OK without the print. The mime type looks necessary. I've never seen a HTTP response without it. And Apache also has a default in case someone forgets it.
In the webserver.py file somewhere near the bottom, it states that the webserver is started with port 80. Just look for 80 and replace it with some port that isn't occupied. The if-statement that has to be changed is the statement which Wraithbone mentioned with the useragent string in it.Could you at least tell me where i have to edit the Ports and wich IF string i need to remove?
THX :)
Could you at least tell me where i have to edit the Ports and wich IF string i need to remove?
THX :)
Open webservere.py and Search for "80". Here you can change your port.
Now open plexconnect.py and change the first if statement to if 1==1 :
Could the same apply to OSX Web Server with local DNS?
To remove the local dns you need to edit plexconnect.py and remove everything containing the word DNS.
When done add trailers.apple.com to your own dns and point it to your servers ip.
I'm interested in this also.
Hopefully the devs are integrating this into PMS though. I think that will be the neatest solution.
This will not happen as it requires a dns hack. The PMS needs to be squeaky clean so they can put apps on the app stores and not be connected to some hack.
3rd party apps I see coming soon though. I doubt it will me in 2 days, maybe in a year.
To remove the local dns you need to edit plexconnect.py and remove everything containing the word DNS.
When done add trailers.apple.com to your own dns and point it to your servers ip.
What about the webserver part of PlexConnect or is that all I have to do?
What about the webserver part of PlexConnect or is that all I have to do?
After that you need the reverse proxy. The configuration is in the web.config (see the accepted answer above.
Hope that helps.
I'm on OS X Server not IIS. Just looking to see how you achieved it.
I'm on OS X Server not IIS. Just looking to see how you achieved it.
Look at my Apache virtual host config a few posts back. I did the same on Ubuntu with Apache. It might not be exactly the same but it will work for the most part. The DNS-stuff remains the same and don't forget to change the default port plexconnect runs on.
I'm on OS X Server not IIS. Just looking to see how you achieved it.
I made the DNS hack to the code, and the IIS implementation. rippiedoos fixed it for apache.
The dns part i explained, and for apache rippiedoos made a fix too.
If you still need more explanation i will gladly help, but you will have to wait until im done with my Examn and i can make a guide.
The latest code now has an optional setting to use your own DNS server and rippiedoos's fix has been merged in as well ;)
Also i am going to sticky this as it is a great thread for advanced setups.
The latest code now has an optional setting to use your own DNS server and rippiedoos's fix has been merged in as well ;)
Also i am going to sticky this as it is a great thread for advanced setups.
Cool!!!
could you make an option that makes the code disregard the headers? the useragent send from my IIS server is NOT the apple tv useragent! :)
with that change i could make a fast guide without code hacks!
If not already i recommend a seperete file for settings ( for port, dns server option, useragent/header if statment thingie )
Cool to see you're adapting the setup to our needs! :D
It is Baa and Roidy doing the coding.
Roidy put in the rippiedoos fix and Baa reworked the settings to include the DNS server option and is probably best placed to speak to your requests.
There is some good ideas being fed back at the moment though :)
for now i will just edit the python code. Its easy to read. :)
would make a guide easyer to explain though :)
It is Baa and Roidy doing the coding.
Roidy put in the rippiedoos fix and Baa reworked the settings to include the DNS server option and is probably best placed to speak to your requests.
There is some good ideas being fed back at the moment though :)
Added it as an issue here: https://github.com/iBaa/PlexConnect/issues/38
Lets see if they have the time for it. :)
I am going to unpin this now as i have it linked form the wiki :)
I am having some problems with setting this up on Windows Server 2012 Essentials R2. would it be possible to get a some help or a guide I have the dns working but changing the port from 80 is where I am stuck, I have change it to 9999 in plex-connect but the IIS changes are where I am lost.
Thanks