snapcast icon indicating copy to clipboard operation
snapcast copied to clipboard

librespot hardcoded to run the --verbose flag?

Open ncsufan8628 opened this issue 1 year ago • 0 comments

Describe the bug

librespot seems to be hardcoded to run --verbose when launched via snapserver.conf. It ignores params=--quiet

Steps to Reproduce

  1. add params=--quiet to snapserver config
  2. 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

ncsufan8628 avatar Oct 17 '24 18:10 ncsufan8628