[GH-ISSUE #1641] [connect] Option "volume-ctrl fixed" not working #745

Closed
opened 2026-02-27 19:32:15 +03:00 by kerem · 1 comment
Owner

Originally created by @jenzd42 on GitHub (Nov 17, 2025).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1641

Description

When librespot is started with the option "--volume-ctrl fixed", the Spotify connect volume level can still be changed in the Spotify app. Expected behaviour would be to deactivate the app's volume control.

Version

At least versions 0.8.0 and 0.7.1 are affected. The option still worked correctly in version 0.6.0.

How to reproduce

  1. Launch 'librespot' with option '--volume-ctrl fixed'
  2. Connect Spotify app to 'librespot' via Spotify connect
  3. Volume level can be adjusted in app although this should have been deactivated by the 'fixed' option

Host (what you are running librespot on):

  • OS: Linux
  • Platform: RPi 3B
Originally created by @jenzd42 on GitHub (Nov 17, 2025). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1641 ### Description When librespot is started with the option "--volume-ctrl fixed", the Spotify connect volume level can still be changed in the Spotify app. Expected behaviour would be to deactivate the app's volume control. ### Version At least versions 0.8.0 and 0.7.1 are affected. The option still worked correctly in version 0.6.0. ### How to reproduce 1. Launch 'librespot' with option '--volume-ctrl fixed' 2. Connect Spotify app to 'librespot' via Spotify connect 3. Volume level can be adjusted in app although this should have been deactivated by the 'fixed' option ### Host (what you are running `librespot` on): - OS: Linux - Platform: RPi 3B
kerem 2026-02-27 19:32:15 +03:00
Author
Owner

@photovoltex commented on GitHub (Nov 17, 2025):

Yeah, good point. #1356 did break that.

This line wasn't replaced with anything. has_volume_ctrl just needs to be renamed with disable_volume and the bool needs to be inverted then. Should be an easy fix :D

<!-- gh-comment-id:3540840829 --> @photovoltex commented on GitHub (Nov 17, 2025): Yeah, good point. #1356 did break that. [This line](https://github.com/paulfariello/librespot/blob/749c2453abaf182631c3de6dd30d40b357877c16/src/main.rs#L1488) wasn't replaced with anything. `has_volume_ctrl` just needs to be renamed with `disable_volume` and the bool needs to be inverted then. Should be an easy fix :D
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#745
No description provided.