Package: papaltv
Commmunication via fireCore’s Aircontrol protocol, for jailbroken units only (sorry)Seetheir page for
detailson the requirements to get aircontrol up and running.OverviewThis package provides both an interactive shell and a python library for
communicating with jailbroken Apple TV’s.There’s folder list options, navigation, searching, play, pause, now
playing andomgzreven more!this started as a joke… what have I done?InstallingThe source code is hosted on github but the easiest install option for
most would be to use thepip
installerpip install papaltvSample sessionLogin:awesomehost: $ papaltv
    _
  _| |_    Welcome to Papaltv,
 (_   _)      you are blessed.
   | |
   |_|          apple-tv.local

apple-tv.local$ ls
 Add Site
 Apple Events
 Browser
 Computers
 Flickr
 Infuse
 MLB.TV…Navigation:apple-tv.local$ cd /Settings/GeneralMenu Controlapple-tv.local$ down
apple-tv.local$ up
apple-tv.local$ menu
apple-tv.local$ hold_selectShortcut comands (up and menu shown below)apple-tv.local$ u
apple-tv.local$ mChained commands for quick navigationapple-tv.local$ mmmmrrEven quicker chaining if you’re gameapple-tv.local$ 24d6ruom,,,ollroQuite a few commands implemented apple-tv.local$ help======================
EOF        find           log
cd         hold_menu      log_debug
down       hold_select    log_warn
ff         left           ls
menu       playing        quit
ok         playpause      right
pause      psoup          rw
play       q              sel
select     stop           up
skip       text
skip_back  toggle
soup       typeScreenshots esWhat on earth for???I’ll tell you what for! (the lolz)No really, what for?Umm… how about umm .. for scheduling crazy cron jobs?use papaltv to check up on your kids tvif test `papaltv --cmd np       |grep -o pr0n` == pr0n; then
    echo 'big brother sees you' | /usr/local/bin/sms_gateway `cat ~/kidsnums.txt`
fiuse papaltv to annoy your wifeif test `papaltv --cmd np       |grep -o "gossip girl"` == "gossip girl"; then
    if test $(( $RANDOM %= 200 )) < 80; then
        papaltv --cmd stop
        sleep 20
        papaltv --cmd cd /Settings/General
        sleep 5
        echo 'hahahahahah'
    fi
fiuse papaltv to please your wifeNOTE: not actually possiblewhile test `papaltv --cmd np        |grep -o "gossip girl"` == "gossip girl"; do
    sleep 5
done
~/speech_synthesis "well wasn't that one a diffy"
sleep 30
~/speech_synthesis "uhuh?, oh yeah I know"
sleep ((60 * 90))
~/speech_synthesis "wow, that was an interesting story about your day. thanks dear."or… just use it when you lose the tiny remote.Want more??? Prepared to sell your soul?Well now.. have I got a deal for you. I’ve included an example class
which tells papaltv how to find your media collection so that you can
even start shows by name.… but… you have to code your own script. I’ve kept that crazy stuff
out of the main papaltv module, but it’s included in the extra - more
evil module evilpope… no, wait: popeville. Yes… Good… Goood.ninjabook:extensions andrew$ popeville

    /        |   |
   |___|   Welcome to PopeVille,
               I am the blessed.
   \/ \/
   O   O          apple-tv.local
    ---

apple-tv.local$ ls /mnt/tv/Pure Pwnage/Season 01
 Pure.Pwnage.S01E01.The.Life.Of.A.Pro.Gamer.avi
 Pure.Pwnage.S01E02.Girls.avi
 Pure.Pwnage.S01E03.FPS.Doug.avi
 etc...