I followed to apple tv install tutorial from the tutorials section to get it to work. That called for a different java distro. not sure if that was a requirement or not but that's what worked . If you check that tutorial there were a few other gotchas.
1. Check the logs in the subsonic folder to make sure it is actually loading properly and is not throwing an error about not finding java or the WAR file. I had to copy the war file to the /mnt/scratch/users/frontrow because it doesn't seem to find it in the subsonic folder for some reason. Copying it was easier than troubleshooting.
2. Make sure java is in the path and accessible. Fron SSH session, try:
- Code: Select all
CD /
Java -version
should return version info. if not check virtual links between your java libraries and the system libraries mentioned in the tutorial
3. The third snag was the need to have
- Code: Select all
-Djava.awt.headless=true \
in the line which loads subsonic-booter-jar-with-dependencies.jar The standalone version I downloaded already had this line added to the .sh file but check it anyway. This compensates for the lack of a X window system graphics component.
I still haven't been able to get subsonic to load automatically using either rc.local entry or a custom startup job in /system/libraries/startupitems. I was using info from awkwardtv.org but have not been successful. It was a helpful resource on installing NitoTV so that I can easily add CIFS / Samba network resources to the library. If you are able to get subsonic to load on boot please share how you did it. I suspect its a problem with permissions because when I try to start it without gaining root permissions with sudo -s i get an error trying to execute the subsonic.sh even through frontrow is the owner. when I have root privileges I can mount shares and start subsonic manually just fine.