28 posts / 0 new / Last post
#1  January 27, 2015 - 9:55pm
dubz's picture
Offline
Joined: Feb 2014
Posts: 50
Kudos: 0

Use putty for windows, a terminal for OS X or linux, or this for iOS Serverauditor

ssh root@ipaddress <--------replace ipaddress with your aTV ip address for example mine is ssh root@192.168.1.101
default aTV password = alpine

Follow these easy terminal commands. I have installed this on multiple atv2's and so have others, set your dns to auto not manual. This automates nearly the entire aTV plexconnect installation for you. ssh into your aTV and enter these commands after your navigated to the folder where you placed them (nitoTV is the easiest way to install openssh for ssh access, also server auditor ). Copy and paste this one liner using your favorite ssh client:

apt-get -y install git; rm -R /Applications/atvjailbreak; cd /Applications; git clone git://github.com/wahlmanj/atvjailbreak.git; cd /Applications/atvjailbreak; ./installatv.bash

once complete the aTV will reboot and you will have a new plexconnect button. Just sign into myplex and you should be all set.

Optional log back in to your atv via ssh after your atv reboots and type this if you want more apps by spoofing your iOS version to a higher IOS after navigating to the spoof.deb location:

dpkg -i spoof.deb

Hopefuly the autoupdate plist works if not you can manually update by typing this into a terminal window after you ssh into your atv:

update.bash

You must be successfully signed into myplex in your PMS. Also you must have your PMS port forwarded and pointed at your PlexConnect host for this to work right on your router if using it outside your LAN. If PlexConnect resides behind for example a synology box you must open these ports as well for it to work outside your lan tcp/udp.

If you only desire PlexConnect to work for your local content and don't use myplex you can ignore the paragraph above this. If you share your content you still would need to be successfully signed into myplex in your PMS with your ports properly forwarded to you PMS host on your router or gateway.

Note - Keep in mind this will prevent AirControl to work since it uses port 80 which is required by PlexConnect.

  March 17, 2015 - 5:45pm
nomadman's picture
Offline
Joined: Mar 2015
Posts: 1
Kudos: 0

I just registered to thank you. You are a genius! I don't know why this wasn't posted on the Plex forum. Maybe I didn't look hard enough after a few hours their. It was awkward when my friends wanted to watch trailers and ended up in Plex.

FYI,

If you need to spoof the version, you need to ssh to the atv and change directory to /Applications/atvjailbreak

Then run the spoof command. Though some channels won't work.

  June 5, 2015 - 3:23pm
mngsparks's picture
Offline
Joined: Jun 2015
Posts: 3
Kudos: 0

I have successfully installed PlexConnect but I can't logon to my PMS? What could i be doing wrong? How do I look at my log files? Thanks.

  June 5, 2015 - 7:46pm
dubz's picture
Offline
Joined: Feb 2014
Posts: 50
Kudos: 0

Sign into myplex on your PMS then sign into myplex on your aTV. Ensure your proper port is forwarded and pointed to your PMS host on your router and PMS says successfully signed into myplex with the green check and PMS says under remote access Fully accessible outside your network.

  June 6, 2015 - 4:11pm
mngsparks's picture
Offline
Joined: Jun 2015
Posts: 3
Kudos: 0

Dubz. Thanks for responding. I have signed in on my PMS and then my ATV but still no go. I keep getting the following: 18:08:33 PlexAPI: We failed to reach a server. Reason: Unauthorized
18:08:34 PlexAPI: No Response from Plex Media Server
18:08:34 PlexAPI: We failed to reach a server. Reason: [Errno 61] Connection refused
18:08:34 PlexAPI: Servers (local, plex.tv, MyPlex): 1
18:08:40 PlexAPI: No Response from Plex Media Server
18:08:40 PlexAPI: We failed to reach a server. Reason: Unauthorized
18:08:40 PlexAPI: No Response from Plex Media Server
18:08:40 PlexAPI: We failed to reach a server. Reason: [Errno 61] Connection refused
18:08:40 PlexAPI: Servers (local, plex.tv, MyPlex): 1

I have changed the following in the settings.cfg file:
enable_plexgdm = False
ip_pms = 192.168.1.15

.15 is my pms. I have not changed my ATV DNS server. Is that required?
Thanks in advance.

  June 6, 2015 - 4:13pm
mngsparks's picture
Offline
Joined: Jun 2015
Posts: 3
Kudos: 0

I forget to mention, the only port forwarding i have is on my pms, port 32400. I am trying to get this on my local network, so I didn't think I would need it.

  October 7, 2015 - 6:58pm
sxsxsxin's picture
Offline
Joined: Sep 2015
Posts: 3
Kudos: 0

Anyone care to hazard a guess what's going on here?:

Apple-TV2:/ root# apt-get -y install git; rm -R /Applications/atvjailbreak; cd /Applications; git clone git://github.com/wahlmanj/atvjailbreak.git; cd /Applications/atvjailbreak; chmod +x installibaa.bash; ./installbaa.bash
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
Cloning into 'atvjailbreak'...
remote: Counting objects: 3366, done.
remote: Total 3366 (delta 0), reused 0 (delta 0), pack-reused 3366
Receiving objects: 100% (3366/3366), 30.41 MiB | 2.66 MiB/s, done.
Resolving deltas: 100% (651/651), done.
Checking connectivity... done.
Checking out files: 100% (2604/2604), done.
chmod: cannot access `installibaa.bash': No such file or directory
-sh: ./installbaa.bash: No such file or directory

the ATV is a 2nd gen jailbreaked V5.3 ...It has Kodi winning just fine , but I'd really like to run PlexConnect too.
ideas?
thanks in advance

  October 8, 2015 - 7:56pm
dubz's picture
Offline
Joined: Feb 2014
Posts: 50
Kudos: 0

apt-get -y install git; rm -R /Applications/atvjailbreak; cd /Applications; git clone git://github.com/wahlmanj/atvjailbreak.git; cd /Applications/atvjailbreak; chmod +x installatv.bash; ./installatv.bash

  October 9, 2015 - 7:58am
sxsxsxin's picture
Offline
Joined: Sep 2015
Posts: 3
Kudos: 0

Thx dubs , I figured something had changed in the package but had no idea which. the new one-liner worked like a charm.

  October 29, 2015 - 3:54pm
Quinn's picture
Offline
Joined: May 2010
Posts: 77
Kudos: 0

Awesome! I had the old atv2 already jailbroke but hadn't used it in a few years. I did this today and have a plex server running on my Synology NAS with 100's of movies & 1000's of mp3's. I had been using CrystalBuntu for several years on an atv1 but recently moved to OpenElec. I have Plex Server running on the Synology and love being able to connect from anywhere with my phone or an iPad. Thanks for this, I love running Plex clients and the server is incredibly flexible to use.

AppleTV 1 - 1.5 TB external USB Drive & aTV Flash 4.6
AppleTV 1 - OpenElec 6.x KODI on a 240gb SSD
AppleTV 2 - FireCore 2.6 w/ PlexConnect
AppleTV 3 - Stock
AppleTV 4 - soon
Denon AVR-3312CI
Synology DS1512+ DiskStation PLEX Server

  October 29, 2015 - 4:55pm
dubz's picture
Offline
Joined: Feb 2014
Posts: 50
Kudos: 0

Faster one liner that uses about 10kb compared to 30mb:

apt-get -y install git; rm -R /Applications/iosjailbreak; cd /Applications; git clone git://github.com/wahlmanj/iosjailbreak.git; cd /Applications/iosjailbreak; ./installatv.bash

  November 2, 2015 - 8:24pm
iggut's picture
Offline
Joined: Nov 2015
Posts: 1
Kudos: 0

Could you please help? Am I doing it wrong:

Apple-TV:/Applications root# apt-get -y install git; rm -R /Applications/iosjailbreak; cd /Applications; git clone git://github.com/wahlmanj/iosjailbreak.git; cd /Applications/iosjailbreak; ./installatv.bash
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package git is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package git has no installation candidate
rm: cannot remove `/Applications/iosjailbreak': No such file or directory
-sh: git: command not found
-sh: cd: /Applications/iosjailbreak: No such file or directory
-sh: ./installatv.bash: No such file or directory

  November 11, 2015 - 6:43am
iMaT1510's picture
Offline
Joined: Nov 2015
Posts: 1
Kudos: 0

same problem

  November 22, 2015 - 3:50pm
waxb18's picture
Offline
Joined: Nov 2015
Posts: 1
Kudos: 0

Having some issues running the first line:

Apple-TV:/Applications root# apt-get -y install git; rm -R /Applications/iosjailbreak; cd /Applications; git clone
E: Malformed line 1 in source list /etc/apt/sources.list.d/plex.list (URI parse)
E: The list of sources could not be read.
rm: cannot remove `/Applications/iosjailbreak': No such file or directory
-sh: git: command not found

any ideas?

I'm using Putty on windows 7

  November 28, 2015 - 11:57pm
bht's picture
bht
Offline
Joined: Nov 2015
Posts: 1
Kudos: 0

Ran into the same problem, you need to run "apt-get update" first then you can copy and paste the one liner

  December 23, 2015 - 2:00am
graham.booth's picture
Offline
Joined: Apr 2012
Posts: 1
Kudos: 0

Thanks so much for creating this script. My ATV2 messed up and installed InFuse. What a load of rubbish IMHO. I was nearly buying a Roku but this has just saved me.

Thanks again

  January 4, 2016 - 3:03pm
chillmann's picture
Offline
Joined: Jan 2016
Posts: 3
Kudos: 0

This is a great script! Unfortunately I have a bit of an issue with it currently on my aTV 2 running iOS 6.2.1. see https://github.com/wahlmanj/iosjailbreak/issues/1 for details (I posted the issue where the code is so it can be discovered more easily). Thanks!

  January 29, 2016 - 5:16am
bupkis's picture
Offline
Joined: Nov 2011
Posts: 14
Kudos: 0

I used this today and it worked great (after a lot of grinding of gears and whirring).

Thanks, dubz!

YMMV.

  January 31, 2016 - 3:31am
dennuzz's picture
Offline
Joined: Nov 2011
Posts: 2
Kudos: 0

Hi,

The error i receive after a (sucesfull) installation when starting the new icon on the ATV2:

Parse Error
http://localhost/PlexConnect.xml
Entity: Line 2:parse error : Start tag expected, '<' not found
Path command: 'PlexConnected,xml>PlexConnectUDID' unrecognized

Is this fixable? If not can someone please also explain me how to remove the PlexConnect app from my ATV2?
Now i'm afraid it takes some resources and interfears with other apps (infuse)

thx

  April 13, 2016 - 4:02am
alstonamos's picture
Offline
Joined: Apr 2016
Posts: 2
Kudos: 0

I figured something had changed in the package but had no idea which. the new one-liner worked like a charm.

waleeed

  August 8, 2016 - 4:53am
Blessedwalnut's picture
Offline
Joined: Aug 2016
Posts: 1
Kudos: 0

Not sure if anyone can help with this, but every so often my atv2 will forget the username and password and log itself out of plex.
is there a way to hardcore the login details, or to create a script to automate the login? Or to do the login remotely?
I don't want to give the current users the password so it means me going round each time. V annoying

  December 21, 2016 - 5:47pm
ocatpaco's picture
Offline
Joined: Jul 2016
Posts: 1
Kudos: 0

Thank you! was having trouble w/ this & lacking the motivation to proceed. That one-liner was a miracle!

  January 6, 2017 - 2:05pm
baileygrib's picture
Offline
Joined: Jan 2017
Posts: 1
Kudos: 0

So I did all of the steps above and got the plexConnect button to show up, but when I click it a message reading "PlexConnect is unavailable. Try again later."

How can I fix this?

  February 4, 2017 - 8:52pm
PAlmodovar's picture
Offline
Joined: Feb 2017
Posts: 1
Kudos: 0

Apple-TV:~ root# apt-get -y install git; rm -R /Applications/iosjailbreak; cd /Applications; git clone git://github.com/wahlmanj/iosjailbreak.git; cd /Applications/iosjailbreak; ./installatv.bash
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package git
rm: cannot remove `/Applications/iosjailbreak': No such file or directory
-sh: git: command not found
-sh: cd: /Applications/iosjailbreak: No such file or directory
-sh: ./installatv.bash: No such file or directory

Any help?

  March 23, 2017 - 7:44pm
dubz's picture
Offline
Joined: Feb 2014
Posts: 50
Kudos: 0

Use the proper command (2nd one):

apt-get -y install git; rm -R /Applications/atvjailbreak; cd /Applications; git clone git://github.com/wahlmanj/atvjailbreak.git; cd /Applications/atvjailbreak; ./installatv.bash

https://github.com/wahlmanj/atvjailbreak

OP updated.

  April 12, 2017 - 11:59pm
decebu88's picture
Offline
Joined: Apr 2017
Posts: 1
Kudos: 0

Hi I'm on 5.3. Followed the script and got the message: "PlexConnect installed and running!" But there is no button.

Any help is appreciated! Thanks!

  October 21, 2017 - 9:35pm
r0ndL's picture
Offline
Joined: Oct 2017
Posts: 1
Kudos: 0

Unfortunately, can't see to get this to work. Any ideas? Here's my terminal output:

fireCore:/Applications root# apt-get -y install git; rm -R /Applications/atvjailbreak; cd /Applications; git clone git://github.com/wahlmanj/atvjailbreak.git; cd /Applications/atvjailbreak; ./installatv.bash
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package git
rm: cannot remove `/Applications/atvjailbreak': No such file or directory
-sh: git: command not found
-sh: cd: /Applications/atvjailbreak: No such file or directory
-sh: ./installatv.bash: No such file or directory

  November 17, 2017 - 9:56am
DingoDongo's picture
Offline
Joined: Nov 2017
Posts: 1
Kudos: 0

Hello,
I appreciate you putting up these instructions. I went through all of this with no errors. Now when I chose the PlexConnect option under Internet (Jailbroken APT2), it just sits at a black screen. Can anyone help me troubleshoot this issue?