snapcast
snapcast copied to clipboard
librespot hardcoded to run the --verbose flag?
Describe the bug
librespot seems to be hardcoded to run --verbose when launched via snapserver.conf. It ignores params=--quiet
Steps to Reproduce
- add params=--quiet to snapserver config
- launch snapserver
Environment details
- OS: Alpine Linux, via docker
- Snapcast version 29
- official apk repo for alpine.
Attach logfile if applicable
2024-10-17 18-04-05.158 [Warn] (librespot) `--verbose` and `--quiet` are mutually exclusive. Logging can not be both verbose and quiet. Using verbose mode.
it seems like this file, line 100 may be what is hardcoding the --verbose flag. Is this intentional? Any way to allow us to override the default of --verbose if theres a --quiet set in the snapserver.conf?
https://github.com/badaix/snapcast/blob/208066e5bb3f77482a62301283a8075912a7e22c/server/streamreader/librespot_stream.cpp#L100