Note to Self – Subsonic Jukebox

Right now the Subsonic Jukebox feature relies on manually specifying the java-recognized soundcard listing in the subsonic script itself.  This means that after an upgrade the jukebox will stop working.  Here’s what I need to do to get it working again:

  1. Confirm that the hardware works using aplay

java /var/tmp/subsonic/audioDevList

aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav

  1. Edit /usr/bin/subsonic and add the correct line near the end of the script

-Djava.awt.headless=true \
‘-Djavax.sound.sampled.SourceDataLine=#Intel [plughw:0,0]’ \
-verbose:gc \
-jar subsonic-booter-jar-with-dependencies.jar > ${LOG} 2>&1 &

  1. Restart subsonic, and test using iSub or something

Leave a Reply

Your email address will not be published. Required fields are marked *