Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: No audio for Spotify with USB DAC
#11
to further complete the instructions/post of @thexperiments  : if you want to find out the card id for your output device, you can run

Code:
aplay -l
Reply
#12
Hmm the only way to make it easier currently is to pack it in a one liner for the shell...

Here you go:
Code:
# replace the hw with plughw in alsa config
sudo sed -i 's/\"hw/\"plughw/g' /etc/alsa/conf.d/_deviceout.conf

After this reboot, it might be necessary to run this again if you switch output settings in the web UI (did not test it)

To backup the config you could copy it to home first:
Code:
# back up alsa device config to home
cp /etc/alsa/conf.d/_deviceout.conf ~/

#restore if neccessary
sudo cp -f ~/_deviceout.conf /etc/alsa/conf.d/_deviceout.conf
Reply
#13
(05-01-2021, 02:08 PM)thexperiments Wrote: Hmm the only way to make it easier currently is to pack it in a one liner for the shell...

Here you go:
Code:
# replace the hw with plughw in alsa config
sudo sed -i 's/\"hw/\"plughw/g' /etc/alsa/conf.d/_deviceout.conf

After this reboot, it might be necessary to run this again if you switch output settings in the web UI (did not test it)

To backup the config you could copy it to home first:
Code:
# back up alsa device config to home
cp /etc/alsa/conf.d/_deviceout.conf ~/

#restore if neccessary
sudo cp -f ~/_deviceout.conf /etc/alsa/conf.d/_deviceout.conf

Just got it fixed by using nano, many thanks for the hints!
And mental note, I need to use sudo nano....
Reply
#14
(05-02-2021, 07:09 AM)Falco Wrote:
(05-01-2021, 02:08 PM)thexperiments Wrote: Hmm the only way to make it easier currently is to pack it in a one liner for the shell...

Here you go:
Code:
# replace the hw with plughw in alsa config
sudo sed -i 's/\"hw/\"plughw/g' /etc/alsa/conf.d/_deviceout.conf

After this reboot, it might be necessary to run this again if you switch output settings in the web UI (did not test it)

To backup the config you could copy it to home first:
Code:
# back up alsa device config to home
cp /etc/alsa/conf.d/_deviceout.conf ~/

#restore if neccessary
sudo cp -f ~/_deviceout.conf /etc/alsa/conf.d/_deviceout.conf

Just got it fixed by using nano, many thanks for the hints!
And mental note, I need to use sudo nano....
Worked fine for me too. Thanks. 
I really need to learn the basics to use ssh... 
Spotify Connect worked flawlessly in previous versions. Now this problem arises everytime I restart MPD... It would be a really nice feature to have this fixed.
Raspberry Pi 3b -> SMSL M500 -> PrimaLuna Prologue One -> ProAc Studio 100
Reply
#15
It's fixedi in upcoming 7.2.1 bugfix update.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#16
(05-05-2021, 10:43 PM)Tim Curtis Wrote: It's fixedi in upcoming 7.2.1 bugfix update.

Great, thanks!
Reply
#17
Sad 
(05-05-2021, 10:43 PM)Tim Curtis Wrote: It's fixedi in upcoming 7.2.1 bugfix update.

Same problem here with my Aune USB DAC - Spotify doesn't work. Sad

Downgraded back to 7.1


Any ETA for 7.2.1?

Thank you!
Reply
#18
(05-05-2021, 10:43 PM)Tim Curtis Wrote: It's fixedi in upcoming 7.2.1 bugfix update.

You are the best! Thanks!
Raspberry Pi 3b -> SMSL M500 -> PrimaLuna Prologue One -> ProAc Studio 100
Reply
#19
Unfortunately I am still having this problem using 7.2.1. Spotify acts like it is playing, but I cannot hear anything. I am using "Fixed 0db" for the volume if that makes a difference. This was working for me before (maybe I was using 7.0.1).

Code:
pi@moode:~ $ cat /etc/alsa/conf.d/_deviceout.conf
pcm._deviceout {
type copy
slave.pcm "plughw:0,0"
}
pi@moode:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndallodigione [snd_allo_digione], device 0: Allo DigiOne HiFi wm8804-spdif-0 [Allo DigiOne HiFi wm8804-spdif-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
...
Reply
#20
The "Fixed 0d" setting is just for MPD. Spotify uses its own volume control mechanism. When a Spotify client connects to moOde two things happen. One is that ALSA volume will be set to 100% and two is that a "Spotify Active" overlay screen appears.

The Spotify client controls volume from that point on. There is also a setting in moOde Spotify Config that specifies the initial volume on the client after it successfully connects. The Default is 0.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: