Re: mpd: failed to open default sndio device

2020-06-16 Thread Stuart Henderson
On 2020-06-15, James  wrote:
> Did you find a solution to this? Copying ~/.sndio/cookie into _mpd's
> home directory did not fix this error for me.
>
> On Fri, Oct 18, 2019 at 02:34:48PM +0300, Кирилл wrote:
>>Hello.
>>After install mpd:
>>$ mpc play
>>Antimatter - Over Your Shoulder
>>[paused]  #1/7   0:00/4:41 (0%)
>>volume:100%   repeat: off   random: off   single: off   consume: off
>>ERROR: Failed to open "sndio output" (sndio); Failed to open default sndio
>>device
>>
>>dmesg:
>>https://pastebin.com/y5A81Cqh
>
>

Check all steps of /usr/local/share/doc/pkg-readmes/mpd




Re: mpd: failed to open default sndio device

2020-06-15 Thread James

Did you find a solution to this? Copying ~/.sndio/cookie into _mpd's
home directory did not fix this error for me.

On Fri, Oct 18, 2019 at 02:34:48PM +0300, Кирилл wrote:

Hello.
After install mpd:
$ mpc play
Antimatter - Over Your Shoulder
[paused]  #1/7   0:00/4:41 (0%)
volume:100%   repeat: off   random: off   single: off   consume: off
ERROR: Failed to open "sndio output" (sndio); Failed to open default sndio
device

dmesg:
https://pastebin.com/y5A81Cqh




Re: mpd: failed to open default sndio device

2019-10-18 Thread Alexandre Ratchov
On Fri, Oct 18, 2019 at 02:34:48PM +0300, Кирилл wrote:
> Hello.
> After install mpd:
> $ mpc play
> Antimatter - Over Your Shoulder
> [paused]  #1/7   0:00/4:41 (0%)
> volume:100%   repeat: off   random: off   single: off   consume: off
> ERROR: Failed to open "sndio output" (sndio); Failed to open default sndio
> device
> 

This is most probably caused by mpd running as a different user as
you, in turn not having access to your ~/.sndio/cookie, needed to
connect to sndiod while you're using it.

You could either run mpd as your user-id or give the _mpd user access
to your audio session by copying your ~/.sndio/cookie into _mpd's home
directory.



mpd: failed to open default sndio device

2019-10-18 Thread Кирилл
Hello.
After install mpd:
$ mpc play
Antimatter - Over Your Shoulder
[paused]  #1/7   0:00/4:41 (0%)
volume:100%   repeat: off   random: off   single: off   consume: off
ERROR: Failed to open "sndio output" (sndio); Failed to open default sndio
device

dmesg:
https://pastebin.com/y5A81Cqh