Note: I now have solutions available for the the lame binary and boot on startup issues that I initially ran into (look three replies down):
1) Upgrade Apple TV to v3.0.2
2) Use patchstick to enable SSH - see http://code.google.com/p/atvusb-creator/
3) Login to your Apple TV using ssh (I used WinSCP, but there are lots of options out there)
4) (Optional) update if you'd rather not have to enter the password 'frontrow' when you run sudo
- Code: Select all
sudo -s
echo -e '%frontrow ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
5) Enable kext loading - from http://www.megacz.com/thoughts/appletv.html
- Code: Select all
sudo bash
cd /tmp
wget http://nitosoft.com/nitoTVInstaller_tt.zip
unzip nitoTVInstaller_tt.zip
cd 'nitoTV Take Three/'
./installme
6) When Apple TV interface restarts, go to the “nitotv” menu and choose Settings, Install Software, Smart Installer.
Note: The smart installer puts kextstat in the wrong place, so run:
- Code: Select all
sudo ln -s /usr/bin/kextstat /usr/sbin/kextstat
7) Install Java - adapted from http://wiki.awkwardtv.org/wiki/Install_Java
a) copy java directory (i.e. 'soylatte16-i386-1.0.3') to an intermediate location (i.e. '/tmp')
- Code: Select all
sudo -s
mkdir -p /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
mkdir -p /Library/Frameworks/JavaVM.framework/Versions/1.6
mkdir -p /Library/Frameworks/JavaVM.framework/Home
ln -sf /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0 /Library/Frameworks/JavaVM.framework/Versions/1.6
cd /tmp
cp -Rp soylatte16-i386-1.0.3/* /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
chmod -R 755 /System/Library/Frameworks/JavaVM.framework
chown -R root:wheel /System/Library/Frameworks/JavaVM.framework
echo "export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home" >> ~/.profile
echo "export PATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin:$PATH" >> ~/.profile
reboot
8 ) (Optional) Samba Mounts - see http://wiki.awkwardtv.org/wiki/Mount_a_ ... _via_SMBFS - I went the NitoTV route, which worked great for me
9) Install Subsonic - from http://forum.subsonic.org/forum/viewtopic.php?p=19184
Note: I chose to setup Subsonic using the 'frontrow' user (may not be the best approach)
- Code: Select all
cd
mkdir subsonic
cd subsonic
I then used WinSCP to copy the Subsonic files to the '/mnt/Scratch/Users/frontrow/subsonic' directory
Get the standalone version from http://www.subsonic.org, and unzip it into the subsonic directory
Edit the 'subsonic.sh' file
1) set SUBSONIC_HOME=/mnt/Scratch/Users/frontrow/subsonic
2) set SUBSONIC_MAX_MEMORY=160
3) update the subsonic-booter-jar-with-dependencies.jar starup line by adding ${SUBSONIC_HOME} to the path
a) i.e. -jar ${SUBSONIC_HOME}/subsonic-booter-jar-with-dependencies.jar > ${LOG} 2>&1 &
- Code: Select all
chmod 744 subsonic*
I also had to run
- Code: Select all
cp -p subsonic.war ..
to start, run
- Code: Select all
./subsonic.sh
Cheers