-
Notifications
You must be signed in to change notification settings - Fork 452
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
Added alternative to disable changing volume #750
Conversation
Is this a good solution or should I investigate if we can disable remote changing of volume? Maybe change the mixer in librespot to an Option? This just ignores input. |
What do you @JojiiOfficial @robinvd @sirwindfield think about this? |
Does anybody know why the lint check is not successful? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still waiting for response. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still waiting for response. |
Looks like all the checks are passing now. |
I’m a bit confused now. Should we merge this and then use the same struct for disabling it properly (if it’s possible)? If that’s the case, I think librespot needs to support the feature. |
@Icelk While looking over the code today, I found by chance the following lines: Lines 69 to 80 in fbcbeca
I was wondering, why this If you're still interested after all this time, this PR has been lying around, I suspect that it might be possible to turn off the client volume control via this setting! If not, that's completely understandable and okay too, of course! |
Thanks for the consideration! You were completely correct. I rewrote this PR to be up to date with the latest master, and implemented your idea. Thanks for the tip! |
This PR now doesn't seem to have any issues. Can I improve anything @eladyn ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow! I wouldn't have expected such a fast response after such a long time. Thank you for the effort.
Just some comments on the code that might remove some duplicate code. The rest looks fine!
No problem :)
Just pushed some fixes. Thanks for your swift responses! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and is working great. Thank you!
Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very awesome, thanks for the work on this!
I added an alternative to "softvol" and "alsa"; "none".
If remotely changing volume, or resetting it on restart is undesired, this is a fix.