API Feature request: Mute Toggle

Dear Developers,
would it be somehow possible to foresee a mute toggle function in the API?

Command: setPlayerCmd:mute:<mute>

Currently only, 1 and 0 are allowed. whereas a toggle is missing.
Thank you for you support!

I think that with something as critical as “mute” I would avoid a toggle.
You can always implement your own toggle querying the getPlayerStatus (that I would call every few seconds anyway to keep my UI fresh)

I don’t get it, why mute is critical… but in case it is, isn’t a toggle function more certain than a separate ON and OFF button?

I am Just referring to the function itself; I plan to have an NFC tag that mutes the player. Nothing else, I don’t know/understand much more about coding. Now I need to have two tags, wheras a toggle function makes it a lot easier. Proof that the function exists as suggested by @Dmitry (thanks for that suggestion) with the UART protocol. I tried but as I said only 1 and 0 are allowed.

Well, “critical” as in if I need to use the mute button I want be sure that it is doing what it is supposed to do.
For example, If I’m trying to understand if a source is playing or if a volume level is right I need to be sure that a device isn’t mute or I need to emergency mute because I don’t want wake up the house in the middle of the night.

Toggle mutes are pretty common and I obviously don’t like them at all, especially for network applications that can be slow. delayed or even completely offline and the “status feedback” is often neglected.

I prefer a Mute that only Mute and any volume change automatically trigger an unmute event.

Ideally I would like 2 separate buttong for mute and unmute and a volume event that just set the volume keeping the mute status untouched but that isn’t very JoeSchmo friendly.

An alternative could be the Play Pause Function (which is a toggle command).


I think this will only work in Network, Bluetooth & USB playback modes.

I fully agree with Cheeroip: toggling commands are dangerous. The most professional way to deal with commands is explicit ON and OFF, a status request - and on top: If there is a change of the mute status in the system for whatever reason, I receive a message “MUTE_OFF” or similar.

Rgds, Uwe

1 Like