I have spent ages on this so I am really happy that I got this to work. I was unable to find much documentation on the interwebs on this so I wanted to document this in case someone runs into the same problem I did.
Supersonic is a version of Subsonic with restrictions removed. Subsonic has a 30 day limit on mobile app use. Key feature to me. I wanted to be able to play much in jukebox mode, using my Android device as the remote. The speakers are connected to the sound card of my NAS.
This forum post was really useful. You have to get the java name of your audio device.
You have to save the code below as audioDevList.java.
import java.io.*; import javax.sound.sampled.*;
public class audioDevList{
public static void main(String args[]){
//Get and display a list of
// available mixers.
Mixer.Info[] mixerInfo =
AudioSystem.getMixerInfo();
System.out.println(“Available mixers:”);
for(int cnt = 0; cnt < mixerInfo.length;
cnt++){
System.out.println(mixerInfo[cnt].
getName());
}//end for loop
}
}
javac audioDevList.java
Then java audioDevList
My Audio Devices were:
Available mixers:
PulseAudio Mixer
Intel [default]
Intel [plughw:0,0] Intel [plughw:0,2] SAA7134 [plughw:1,0] Port Intel [hw:0] Port SAA7134 [hw:1]
Edit /usr/bin/supersonic:
You want to sent the SUPERSONIC_SOUNDCARD_DEVICE value to your audio device using trail and error.
Restart Subsonic and you should be good to go.
Now for some The 20/20 Experience 2…