-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Allow Jukebox mode to play audio to a pipe for use with Snapcast #335
Comments
This is how it works for me through Alsa: Install snapserver and configure it:
Configure Alsa to create a default device which in the end sends everything to the snapfifo pipe:
This snippet let's systemd create the required directory
As this is the default sound device, no further configuration on airsonic or java should be required. Edit: I overlooked that you have no Alsa, what prevents you from installing it? Edit 9th of Apr 2024: Use /run/snapserver/snapfifo instead of /var/snapfifo/snapfifo and also apply the required systemd tmpfiles snippet |
Thanks for the reply, the above will work and there's nothing preventing me from installing Alsa I'm wanting to avoid installing any extraneous sound servers, Alsa, Pipewire, Pulseaudio etc. The reasoning for this is not to add additional resource (even if it's negligible by today's standards) and to limit the amount of "moving parts" so that in future should anyone be troubleshooting an installation it's one less thing to investigate. |
Fair enough. |
I must confess I always thought alsa was a daemon. While it would still be nice to do this without any external libs what you've suggested is probably good enough. |
Scope
Other
What problem
I'd like to use Airsonic Advanced's Jukebox mode with SnapCast To provide multiroom audio playback.
At present main/java/org/airsonic/player/service/jukebox/AudioPlayer.java requires SourceDataLine line to be a physical audio device, My intention is to play to a pipe as per examples here as I have no Alsa/Pulse/Pipewire installed on the target server.
Feature
Remove requirement for a physical audio device in main/java/org/airsonic/player/service/jukebox/AudioPlayer.java as a jukebox output. Allow ffmpeg to play to a pipe instead.
The text was updated successfully, but these errors were encountered: