|
|
@ -255,6 +255,7 @@ public class JukeboxJavaService { |
|
|
|
return airsonicPlayer.getPlayQueue().getIndex(); |
|
|
|
return airsonicPlayer.getPlayQueue().getIndex(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
synchronized (activeAudioPlayers) { |
|
|
|
// Close any other player using the same mixer.
|
|
|
|
// Close any other player using the same mixer.
|
|
|
|
String mixer = airsonicPlayer.getJavaJukeboxMixer(); |
|
|
|
String mixer = airsonicPlayer.getJavaJukeboxMixer(); |
|
|
|
if (StringUtils.isBlank(mixer)) { |
|
|
|
if (StringUtils.isBlank(mixer)) { |
|
|
@ -266,6 +267,7 @@ public class JukeboxJavaService { |
|
|
|
player.close(); |
|
|
|
player.close(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
audioPlayer.play(); |
|
|
|
audioPlayer.play(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|