[GH-ISSUE #469] MQTT Mixer #297

Closed
opened 2026-02-27 19:29:53 +03:00 by kerem · 3 comments
Owner

Originally created by @romerod on GitHub (Apr 28, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/469

I've contributed the mixer selection (a long time ago) with the idea to implement a mixer which could control external HW.

I think the most generic approach would be a mixer which works over MQTT. Easy to integrate with node-red for example. Open for other ideas.

As this would need a new dependency (mqtt client) would you suggest a build flag or do you have another idea for some kind of plugin model?

Originally created by @romerod on GitHub (Apr 28, 2020). Original GitHub issue: https://github.com/librespot-org/librespot/issues/469 I've contributed the mixer selection (a long time ago) with the idea to implement a mixer which could control external HW. I think the most generic approach would be a mixer which works over MQTT. Easy to integrate with node-red for example. Open for other ideas. As this would need a new dependency (mqtt client) would you suggest a build flag or do you have another idea for some kind of plugin model?
kerem 2026-02-27 19:29:53 +03:00
Author
Owner

@siebeclaes commented on GitHub (Apr 29, 2020):

I just discovered this project today and have been using it on a Raspberry Pi 1 all day and loving it so far.
My first thought immediately was I needed some way to connect librespot with my old stereo to control volume and turn on/off the stereo automatically. MQTT integration would be ideal for this.

I already took a look through the code and adding an MQTT mixer doesn't seem to be too difficult. I'll give this a shot over the weekend and open a PR.

An indeed, putting this behind a feature flag is the right thing to do in my opinion.

<!-- gh-comment-id:621457036 --> @siebeclaes commented on GitHub (Apr 29, 2020): I just discovered this project today and have been using it on a Raspberry Pi 1 all day and loving it so far. My first thought immediately was I needed some way to connect librespot with my old stereo to control volume and turn on/off the stereo automatically. MQTT integration would be ideal for this. I already took a look through the code and adding an MQTT mixer doesn't seem to be too difficult. I'll give this a shot over the weekend and open a PR. An indeed, putting this behind a feature flag is the right thing to do in my opinion.
Author
Owner

@sashahilton00 commented on GitHub (Jul 24, 2020):

Not sure if this is is still of interest, but if so please put it in a PR, and we can see about it getting merged. At any rate, people can apply the PR manually as desired if it doesn't make it in. Sounds like a good candidate feature for librespotd though, whenever that happens.

<!-- gh-comment-id:663320153 --> @sashahilton00 commented on GitHub (Jul 24, 2020): Not sure if this is is still of interest, but if so please put it in a PR, and we can see about it getting merged. At any rate, people can apply the PR manually as desired if it doesn't make it in. Sounds like a good candidate feature for librespotd though, whenever that happens.
Author
Owner

@dersimn commented on GitHub (Aug 4, 2020):

I have a use case for this as well. I would like to control the volume of my stereo directly, do avoid having multiple volume sliders. My stereo is already integrated into MQTT: https://github.com/dersimn/DevilRemote.

<!-- gh-comment-id:668819304 --> @dersimn commented on GitHub (Aug 4, 2020): I have a use case for this as well. I would like to control the volume of my stereo directly, do avoid having multiple volume sliders. My stereo is already integrated into MQTT: <https://github.com/dersimn/DevilRemote>.
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#297
No description provided.