#spotify volume resetting when skipping a song

11 messages · Page 1 of 1 (latest)

turbid karma
#

the spotify volume slider in the linux app always overwrites the volume set via the slider on the deej or in the application audio settings. this is a spotify specific issue, other applications dont do this spotify just wants to be special as always....

in short: spotify on linux will always set its internal volume as the application volume level

idk if there is a way to block spotify from changing volume... i have not messed with audio for some time now...

pearl turtle
turbid karma
#

oh i missed this, thanks for the reply but it seems like the link is not working anymore :(

eager terrace
#

I have a similar issue on linux with my browser, every time it reloads the volume resets to 100%, the only thing I was able to get running the dev version is this

deej.sessions.zen Failed to set session volume {"error": "pulseaudio: no such entity"}

steep kelp
#

Look at spicetify and search if there is a mod to fix this issue

turbid karma
#

we would need to patch the deej application to always update the volume if it changes but thats a bigger thing ... though it would help a bunch of people as this is also an issue with firefox

turbid karma
#

I FIXED IT GUYS!!!!!

#

i first created this:

Path: /home/gwabo/.config/pipewire/pipewire-pulse.conf.d/99-spotify-volume.conf
HAVE TO RESTART AFTER EDITING, systemctl restart DOSE NOT WORK!

pulse.rules = [
  {
    matches = [ { application.process.binary = "spotify" } ]
    actions = {
      quirks = [ block-sink-volume ]
    }
  }
]

and i made session finder look at application.name and media.name aswell becuase it only looked at application.process.binary which dose not work with the overwrite for pipewire.

after all of that, just use audio-src to control spotify now :D

haven't tested if this also fixes a "patches" Zen when spotify is running as well but im not listening to more than one thing at once anyways, and if both use the same name, you would just control both with one slider which is better than it changing back all the time :D

eager terrace
cold bay
#

Also been using nativmix and it works great