On Fri, 05 Sep 2025 20:11:02 +0200
Pascal Stumpf <[email protected]> wrote:

> On Wed, 3 Sep 2025 15:33:06 +0200, Rob Schmersel wrote:
> > Hi,
> > 
> > Got both spotifyd + spotify-qt and ncspot installed and correctly
> > authenticated, i.e. I can connect to spotify. Both were producing
> > sound, but I noticed last weekend that that is no longer the case
> > (not sure when the change happened as I've not used my PC that much
> > to play spotify)
> > I can play a song, see on the spotify app on the my mobile that it
> > is playing and directing to my device on the computer, but I don't
> > hear anything. Volume setting in both spotify-qt and ncspot are at
> > 85%.
> > 
> > Sound is working as I can watch video with sound, play songs through
> > other media players, play using ffplay.
> > 
> > Since audio is working in other apps I'm sure what information to
> > provide but here goes what little I can think of :
> > 
> > $ sndioctl
> > input.level=0.486
> > input.mute=0
> > output.level=0.494
> > output.mute=0
> > server.device=0(azalia1)
> > app/ffplay.level=1.000
> > app/firefox.level=1.000
> > app/parole.level=0.969
> > app/pulseaudio.level=1.000
> > app/python.level=1.000
> > app/vlc.level=1.000
> > 
> > for spotifyd: the /etc/spotify.conf file is unmodified and only the
> > credentials.json is added to the /var/spotifyd/.cache/oauth folder
> > 
> > for ncspot: similar no changes, and credentials.json added to the
> > right place
> > 
> > I see a app/.... level now in sndioctl output, is there anything
> > needed there to set (I have certainly not set anything for the
> > listed apps)
> > 
> > Hoping for a clue bat
> > BR/Rob
> > 
> > 
> 
> This is likely the following bug in librespot:
> https://github.com/librespot-org/librespot/issues/1521
> 
> It has been fixed in librespot 0.7.1, which has already landed in
> audio/spotify-player, but not in spotifyd or spotify-qt.
> 
> Simply adding
> 
> 0.0.0.0 apresolve.spotify.com
> 
> to /etc/hosts has has worked for me in the past few weeks, though.
> 

As I'm running unbound I add this address to my block list
local-zone: "apresolve.spotify.com" always_nxdomain

And lo and behold it works again :)

Thanks for the tip

BR/Rob

Reply via email to