This is how I got Pandora script going on my Apple TV 2.
I used the script here:
http://forum.xbmc.org/showthread.php?t=70471&highlight=pandora
First make sure your Apple TV is jailbroken and you have XBMC and SSH installed.
ssh into the Apple TV
ssh root@XXX.XXX.XXX.XXX
password is alpine
cd /Applications/XBMC.frappliance/XBMCData/XBMCHome/addons
wget -O xbmc-pandora-xbmc-pandora-master.tar.gz http://gitorious.org/xbmc-pandora/xbmc-pandora/archive-tarball/master
tar -xvzf xbmc-pandora-xbmc-pandora-master.tar.gz
rm xbmc-pandora-xbmc-pandora-master.tar.gz
mv xbmc-pandora-xbmc-pandora script.xbmc.pandora
cd $_
wget --no-check-certificate https://github.com/PromyLOPh/pianobar/raw/master/src/libpiano/crypt_key_output.h
wget --no-check-certificate https://github.com/PromyLOPh/pianobar/raw/master/src/libpiano/crypt_key_input.h
After that, start up XBMC -> Music -> Music Addons -> Pandora
The first time you run the script, it will ask you to go to the settings page so you can enter your login information.
Hopefully that gets Pandora going for you.
A few weeks back Apple released it latest version of it’s small portable music player. This new version doesn’t even have buttons on the device but instead it incorporates controls on the headset sorta like how the iPhone has a mic and button to hang up calls or skip or stop songs.

