You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
I have MPD and SPOP running on the same server maschine. Both daemons are using ALSA, sharing the hardware audio device.
Working Secenario:
play a song with MPD
stop playing with MPD
start playing a song with SPOP (play command)
stop playing with SPOP (stop command)
start playing with MPD
Not working scenario:
play a song with MPD (while song is still playing)
start playing a song with SPOP (play command)
SPOP daemon quits (see log)
Requirement / possible solution:
if an audio device is busy, the SPOP daemon should not stop
if an audio device is busy, the SPOP daemon should inform the caller in the response message about the issue (to unblock the audio device prior to calling a SPOP play function).
SPOP-Log:
Okt 05 08:00:10 music spopd[19810]: ao_alsa ERROR: Unable to open ALSA device 'default' for playback => Device or resource busy
Okt 05 08:00:10 music spopd[19810]: 2014-10-05 08:00:10 [ERR ] Error while opening libao device: Cannot open the device
Okt 05 08:00:10 music systemd[1]: spop.service: main process exited, code=killed, status=5/TRAP
Okt 05 08:00:10 music systemd[1]: Unit spop.service entered failed state.
The text was updated successfully, but these errors were encountered:
Background:
I have MPD and SPOP running on the same server maschine. Both daemons are using ALSA, sharing the hardware audio device.
Working Secenario:
Not working scenario:
Requirement / possible solution:
SPOP-Log:
Okt 05 08:00:10 music spopd[19810]: ao_alsa ERROR: Unable to open ALSA device 'default' for playback => Device or resource busy
Okt 05 08:00:10 music spopd[19810]: 2014-10-05 08:00:10 [ERR ] Error while opening libao device: Cannot open the device
Okt 05 08:00:10 music systemd[1]: spop.service: main process exited, code=killed, status=5/TRAP
Okt 05 08:00:10 music systemd[1]: Unit spop.service entered failed state.
The text was updated successfully, but these errors were encountered: