-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed volume #161
base: master
Are you sure you want to change the base?
Fixed volume #161
Conversation
I think it might make more sense to add a mixer which ignores volume requests and has no filter, you get the same result with less if statements |
+1 for the custom mixer, the same as MPD "null" mixer option. |
Good idea. I'll give it a try in a separate PR. |
When doing the 100% volume in the other PR, maybe it would be possible to offer a parameter option to set at least the volume that librespot starts with? Because I have a device where I would the default volume of librespot want to be a bit lower, instead of the 100% |
I'm looking for something similar. While the solution from #163 works, it only goes one way. By reading the volume through STDOUT from librespot in python, I can hook it to my receiver's API. But there is no way of changing the app volume when I change the receiver volume. It would be nice if the app and the receiver volume are in sync all the time. I thought of a workaround by using spotify web api to set the volume (or even reading the volume), but I think that's not so elegant as I want to avoid continuous polling to get the volume. The other solution I was thinking about was by reading and writing it from somewhere else (file, MQTT, ...) I've tried to integrate MQTT, but Rust (and C in general) is a big step up from me and maybe a bit of overload. Is there another way to communicate with librespot? Any recommendations what would be the best way to go? |
Add a --fixed-volume setting that keeps volume at 100%. The volume used in the spotify connect communication is logged.
I am running librespot on a raspberry pi connected to an external amplifier with an API. I want the raspberry pi to always output sound at full volume and then I will adjust the volume on the external amplifier based on the logged volume from librespot.