PlexConnect for Apple TV 2nd/3rd

ambient711
Posts: 42
Joined: Mon Oct 17, 2011 8:19 pm

PlexConnect for Apple TV 2nd/3rd

Postby ambient711 » Thu Jun 06, 2013 10:24 pm

Forgive me ahead of time if a thread is already open for this, but I did some searching and didnt see anything.

I have been trying to install PlexConnect and having some issues running the script. It is having some issues because of the ports already being used, particularity port 53. Just wondering if anyone else has had any luck installing. Thanks in advance.



About PlexConnect
http://elan.plexapp.com/2013/06/04/intr ... different/

Github file repo
https://github.com/plexinc/PlexConnect/ ... e-sections

Guide I was following
https://github.com/iBaa/PlexConnect/wik ... tion-guide



****Edit: does anyone know what natively uses port 53 on Amahi/Fedora. I know on macs sometimes VNC type apps will use that port.

nagybal
Posts: 7
Joined: Sat Jun 02, 2012 9:26 am

Re: PlexConnect for Apple TV 2nd/3rd

Postby nagybal » Sat Jun 15, 2013 1:09 pm

53 is the one for the DNS server and Amahi does have a DNS server already. You can turn it off on the Amahi Dashboard: http://hda/setup?sub=servers&tab=setting

This brings You one step ahead. However You will get an other error for port 80... now I do not dare to turn the WebServer off because then I guess the Dashboard will stop working :)

nagybal
Posts: 7
Joined: Sat Jun 02, 2012 9:26 am

Re: PlexConnect for Apple TV 2nd/3rd

Postby nagybal » Sat Jun 15, 2013 1:23 pm

PlexConnect is a bit of magic python code that allows you to access your Plex Library on an stock Apple TV 3.

It fools the AT3 via the DNS. https://github.com/iBaa/PlexConnect/wiki/Install-guides

crowfan
Posts: 26
Joined: Sun May 20, 2012 5:37 am

Re: PlexConnect for Apple TV 2nd/3rd

Postby crowfan » Wed Jun 19, 2013 8:46 am

I am very interested in this as well, especially with today's update to the Apple TV, which brings HBO Go and WatchESPN to the Apple TV. The only way to get them is to update to that latest software, which would mean I'd lose my jailbreak (I have an Apple TV gen 2) and therefore my ability to connect to the Plex server running on my Amahi server.

PlexConnect would solve this problem nicely, if only we could get it to work on Amahi.

crowfan
Posts: 26
Joined: Sun May 20, 2012 5:37 am

Re: PlexConnect for Apple TV 2nd/3rd

Postby crowfan » Wed Jun 19, 2013 8:49 am

I wonder if some of the recently-added advanced options would allow this to work?

https://github.com/iBaa/PlexConnect/wik ... leshooting

{see specifically the last two?}

I don't know much about web servers, etc., so forgive me if this is not useful, but it looked like to might be to my inexperienced eyes.

ambient711
Posts: 42
Joined: Mon Oct 17, 2011 8:19 pm

Re: PlexConnect for Apple TV 2nd/3rd

Postby ambient711 » Wed Jun 26, 2013 12:29 am

Thanks guys for posting back. I was afraid 53 was something important. I guess wait until someone finds another way.

Austin

crowfan
Posts: 26
Joined: Sun May 20, 2012 5:37 am

Re: PlexConnect for Apple TV 2nd/3rd

Postby crowfan » Wed Jun 26, 2013 6:35 am

The DNS server uses port 53 on Amahi. I turned mine off and no longer got that error, but then all of my FiOS set-top boxes stopped getting their guide data. I have no idea how that is possible, but when I turned the DNS server back on, they worked again. So I can't turn it off.

Those advanced settings I mentioned above seem to be helping. I turned off the DNS setting in the settings.cfg file as mentioned in those instructions, and I am no longer getting an error for port 53. I am still getting the webserver port error though.

I followed this guide and I think it's partially working but I am still getting an error about the new port being used (this is a Linux server guide created by a user for PlexConnect):

http://forums.plexapp.com/index.php/top ... /?hl=linux

I am sure I'm just doing something wrong, as I am not that good with Linux. But if anyone else here can understand that a little better, maybe they can get it working? If so, please come back and update us so we can try to get it up and running as well.

shapethelola
Posts: 11
Joined: Sat Jul 20, 2013 12:40 pm

Re: PlexConnect for Apple TV 2nd/3rd

Postby shapethelola » Sat Jul 20, 2013 1:00 pm

The Solution is rather simple to be honest, but I also needed some time to work this out.

First check your IP using ifconfig
mine is 10.0.1.3 for example on eth0
Then do the following :

Code: Select all

sudo ifconfig eth0:1 10.0.1.4 netmask 255.255.255.0 & sudo ifconfig eth0:1 up
After that it goes on like this
open the DNSServer.py file in the PlexConnect directory

go to line where it says

Code: Select all

DNS.bind(('',53))
change it to the ip you have just created

Code: Select all

DNS.bind(('10.0.1.4',53))
This will make the plex dns use your new IP instead of the normal one which Amahi actually wants to use.

For port 80 and the Apache Server which Amahi also uses theres a similar work around for this.
go and open /etc/apache2/ports.conf

Change the

Code: Select all

Listen 80
to

Code: Select all

Listen 10.0.1.4:80
In this case we have to use the new IP also for the normal Apache listen address, because otherwise I wasn't able to get PlexConnect to work properly. Everything else should still remain completely functional in Amahi, at least it does for me!

Then go to Settings.cfg in your PlexConnect folder and change
ip_webserver = 0.0.0.0 or whatever it is to

Code: Select all

ip_webserver = 10.0.1.3


This is it.
Hope this helps
If you have any problems at all with this feel free to contact me
Regards,
Jan

crowfan
Posts: 26
Joined: Sun May 20, 2012 5:37 am

Re: PlexConnect for Apple TV 2nd/3rd

Postby crowfan » Sun Jul 21, 2013 1:14 pm

I just followed this and couldn't get it to work.

My server's IP is 192.168.1.86. I followed the steps below, changing the IP to 192.168.1.87 where appropriate. For me there was no /etc/apache2 folder so I used /etc/httpd/conf/httpd.conf to make the change to the Listen port.

Other than those changes, I followed exactly. Any ideas what I did wrong?

shapethelola
Posts: 11
Joined: Sat Jul 20, 2013 12:40 pm

Re: PlexConnect for Apple TV 2nd/3rd

Postby shapethelola » Sun Jul 21, 2013 1:18 pm

No idea, to be honest.
Ive just done another clean install of amahi and ubuntu server and Ive got it to work again.
What error do you get? does PlexConnect even start?

but you actually need a port.conf, did you try to find it ?
Regards,
Jan

Who is online

Users browsing this forum: No registered users and 22 guests