-
Notifications
You must be signed in to change notification settings - Fork 762
Closed
Labels
Description
Describe the bug
The option --initial-volume 0 results in full (100%) volume when iPhone client connects and then starts playback.
The volume slider on the client appears to get set differently depending on whether the client was already playing locally before librespot is started followed by client connecting.
- Already playing locally: Slider gets set to 0 position after librespot starts and stays at 0 after connecting, output volume = full
- Not playing locally: Slider gets set to 0 position after librespot starts but then goes to almost 100% after connecting + play, output volume = full
In either case actual output volume is full volume (100%)
To reproduce
Steps to reproduce the behavior:
- Launch
librespotwith
sudo librespot --name "Moode9 Spotify" --bitrate 320 --format S16 --mixer softvol --initial-volume 0 --volume-ctrl log --volume-range 60 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device "_audioout" --onevent /var/local/www/commandw/spotevent.sh -v > /var/log/moode_librespot.log 2>&1
- In Spotify iPhone App playback should be stopped
- Connect to "Moode9 Spotify"
- Observe App volume slider position
- NOTE: Be sure downstream volume control is set very low!
- Start playback
- Observe App volume slider position and actual output volume
Log
Its ginormous so maybe a link is best :-)
moode_librespot.log
Host (what you are running librespot on):
- OS: RaspiOS Bookworm
- Platform: Pi5
Additional context
- Audio device: Allo Boss DAC