snapcast icon indicating copy to clipboard operation
snapcast copied to clipboard

Script volume control script is called on each update without waiting for the previous to end

Open arpena opened this issue 8 months ago • 0 comments

Describe the bug When using the --mixer script option, the script is called so many times when there is an update that it behaves as a fork bomb and my Raspberry PI 2B can't keep up and it even disconnects from the network

Steps to Reproduce

  1. Start an snapclient with --mixer script option. It doesn't matter what the script does, I even tried with an empty script
  2. Slide the volume for the client on Snapweb several times up and down without pause
  3. The Raspberry could not keep up with the newly created processes, stops reproducing music and if it is even pushed to disconnect from the wifi network

Environment details

  • OS: Raspbian GNU/Linux 11 (bullseye)
  • Snapcast version 0.27.0
  • Installed from github release package

arpena avatar Oct 31 '23 19:10 arpena