New hack: running the PlexConnect python script on your jailbroken ATV2

SSH in to grab the PlexConnect log from its folder - you may also want to disable logging when not troubleshooting to improve performance.

Well the log for plexconnect doesn't show any crashes.  I increased log gin to high and it seemed to crash more often now switching back to normal and it has happened 3 times but every time I check the log it doesn't have any exceptions or anything.  I am going to try logging to Off.

I would also try turning off the DNS server - use either the host file or add site instead :slight_smile:

Do you have any other jailbreak apps on the device?

ATV2 freshly restored with season pass.  Did not install any other apps on it except the python.deb package from this thread.  I also had to install the dependencies of sqlite3.  I then installed plexconnect and used the plist from the github commit.  I am spoofing the atv2 from 5.2 to 6.0.1 to get the latests apps.

What I have found so far is that even when I point the DNS to my mac mini running plexconnect instead of the apple tv it still crashes.  I have just switched to my atv3 using the plexconnect on my mac mini and it seems to be working fine.  I am trying to play a 1080p file that is direct streaming with audio transcoded from dts to aac.  I am wondering if the 1080p is causing the crash on the atv2 or if it is jailbreak related.  Any thoughts?

i would rejailbreak it as it should not be crashing 

i also tried to install this thing on my jailbroken ATV .. realised i was to retarded.. gave up  <_<

I feel this is a great option for family or friends that don't keep their computer on all the time to allow them to access myplex.

anyone care to do a step by step guide to get this working?

i have read the thread but its kinda spread out and some things didn't seam to work.. such as adding the 

Apple-TV:~ root# dpkg -i python_2.7.3-3_iphoneos-arm.deb

Selecting previously deselected package python.

(Reading database ... 1331 files and directories currently installed.)

Unpacking python (from python_2.7.3-3_iphoneos-arm.deb) ...

dpkg: dependency problems prevent configuration of python:

 python depends on libffi; however:

  Package libffi is not installed.

 python depends on sqlite3; however:

  Package sqlite3 is not installed.

dpkg: error processing python (--install):

 dependency problems - leaving unconfigured

Errors were encountered while processing:

 python

Apple-TV:~ root# apt-get install python

Reading package lists... Done

Building dependency tree       

Reading state information... Done

python is already the newest version.

You might want to run `apt-get -f install' to correct these:

The following packages have unmet dependencies:

  python: Depends: libffi but it is not installable

          Depends: sqlite3 but it is not installable

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Apple-TV:~ root# dpkg -i python_2.7.3-3_iphoneos-arm.deb

(Reading database ... 3331 files and directories currently installed.)

Preparing to replace python 2.7.3-3 (using python_2.7.3-3_iphoneos-arm.deb) ...

Unpacking replacement python ...

dpkg: dependency problems prevent configuration of python:

 python depends on libffi; however:

  Package libffi is not installed.

 python depends on sqlite3; however:

  Package sqlite3 is not installed.

dpkg: error processing python (--install):

 dependency problems - leaving unconfigured

Errors were encountered while processing:

 python

Apple-TV:~ root# apt-get install sqlite3

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Package sqlite3 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 sqlite3 has no installation candidate

Apple-TV:~ root# dpkg -i python_2.7.3-3_iphoneos-arm.deb

(Reading database ... 3331 files and directories currently installed.)

Preparing to replace python 2.7.3-3 (using python_2.7.3-3_iphoneos-arm.deb) ...

Unpacking replacement python ...

i got same mesage

try this.

apt-get update

apt-get -f install sqlite3

dpkg -i python_2.7.3-3_iphoneos-arm.deb

anyone care to do a step by step guide to get this working?

i have read the thread but its kinda spread out and some things didn't seam to work.. such as adding the 

Apple-TV:~ root# dpkg -i python_2.7.3-3_iphoneos-arm.deb

Selecting previously deselected package python.

(Reading database ... 1331 files and directories currently installed.)

Unpacking python (from python_2.7.3-3_iphoneos-arm.deb) ...

dpkg: dependency problems prevent configuration of python:

 python depends on libffi; however:

  Package libffi is not installed.

 python depends on sqlite3; however:

  Package sqlite3 is not installed.

dpkg: error processing python (--install):

 dependency problems - leaving unconfigured

Errors were encountered while processing:

 python

Apple-TV:~ root# apt-get install python

Reading package lists... Done

Building dependency tree       

Reading state information... Done

python is already the newest version.

You might want to run `apt-get -f install' to correct these:

The following packages have unmet dependencies:

  python: Depends: libffi but it is not installable

          Depends: sqlite3 but it is not installable

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Apple-TV:~ root# dpkg -i python_2.7.3-3_iphoneos-arm.deb

(Reading database ... 3331 files and directories currently installed.)

Preparing to replace python 2.7.3-3 (using python_2.7.3-3_iphoneos-arm.deb) ...

Unpacking replacement python ...

dpkg: dependency problems prevent configuration of python:

 python depends on libffi; however:

  Package libffi is not installed.

 python depends on sqlite3; however:

  Package sqlite3 is not installed.

dpkg: error processing python (--install):

 dependency problems - leaving unconfigured

Errors were encountered while processing:

 python

Apple-TV:~ root# apt-get install sqlite3

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Package sqlite3 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 sqlite3 has no installation candidate

Apple-TV:~ root# dpkg -i python_2.7.3-3_iphoneos-arm.deb

(Reading database ... 3331 files and directories currently installed.)

Preparing to replace python 2.7.3-3 (using python_2.7.3-3_iphoneos-arm.deb) ...

Unpacking replacement python ...

i got same mesage

You need to copy and paste those commands.  You never ran the update command or the -f flag on the second command.

I would also try turning off the DNS server - use either the host file or add site instead :)

So I started to look into the add site method but it appears this can no longer be added unless we did it back when it was available.  Does anyone know if I am wrong on this and can we still add the addsite.mc to a jailbroken atv that it has never been added to?  Firmware is currently on 5.2 spoofed to 6.0.1

yeah u can add it to extrainternetcathegories .. u can either enable addsite or just add the bag.plist file stright in there..

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       
                Name
               
                URL
                http://wichseverserver.you.want/bag.plist
       

think i manage to installed it.. now do i manually transfer the plexconnnect files to the same location?

I used the root folder to install my plexconnect folder in.  You can install it anywhere its just a matter of changing to that directory before starting in.  Here is my launchdaemon plist that I placed in /System/Library/LaunchDaemons.  It also will show you the directory I put the plexconnect folder in if you open the plist file.

Hope this helps.  By the way mine is still crashing when playing movies so I would be interested if you get it running and if yours crashes.

Apparently we can not upload plist files so just change the extension to .plist instead of .log.

More simplified addsite instructions here: https://forums.plexapp.com/index.php/topic/85523-dyndns-atv2-5x-plexconnect-pull-request/


If you have a jailbroken atv2 on ios 5.x you absolutely can re-enable addite.

am worm working at pointing my plist now. i have a nice one il show u

Im actually currently working on a addsite/plexconnect on the go/trailers or other hijacked apps working all on a all in one plexconnect version, that way you can have a mix of hijacked apps on atvs’s as well as a addsite added plexconnect app at the same time inside or outside of your lan.

I have tried reading through your posts but no where does it say how to add the add site.mc to the profiles if you haven't done this before.  Everytime I try to add it it just goes back to the profiles screen and nothing is added.  I have read that you have to manually go into the tav and edit a file to point to the add site on a server.  I haven't tried this yet but am still researching.

Done, ive updated the guide here: https://forums.plexapp.com/index.php/topic/85523-dyndns-atv2-5x-plexconnect-pull-request/?p=507576


You can use plexconnect locally or remotely at the same time using addsite or trailers or any hijacked app :slight_smile:

so inside ur tv using cyberduck for example.. go to /users/library/apllication Support/frontrow

add a file thats called ExtraInternetCategories.plist  

paste this in

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       
                Name
               
                URL
                --adress to ur bag.plist on your webserver
       

then reboot ur atv