Acceptable values for Music Player

I have a driver with the MusicPlayer capability. The documentation describe the status attribute to be a string without specifying any other constraints but the ezdasboard complain about the presence of an invalid status attribute. What are the valid values for MusicPlayer status attribute for ezDashboard tile?

Note: It works when the status is "playing", "stopped", or "paused" but not for "buffering", "idle", "off" or "unknown"

As I said when playing it is ok:

Capture d’écran du 2025-03-05 17-30-21

It shows the usual pink tile when there is a problem:

Capture d’écran du 2025-03-05 17-59-08

And the problem is:

Capture d’écran du 2025-03-05 18-00-36

I guess it answer my question. Quite strange since a device can be unmuted (or muted) and playing at the same time. What status take precedence?

Edit: Also the MusicPlayer capability list a different attribute for the mute status:

Capture d’écran du 2025-03-05 18-37-08

1 Like

Definitively there is a bug with that tile. The sound can be muted from the tile but cannot be unmuted from it. It works fine from the device page. Probably related to that mixup with the attributes.

1 Like