Conversation
Co-authored-by: YoeriVD <2865793+YoeriVD@users.noreply.github.com>
|
@copilot The toast should just display the correct icon. No need for extra text in this case. |
Co-authored-by: YoeriVD <2865793+YoeriVD@users.noreply.github.com>
Co-authored-by: YoeriVD <2865793+YoeriVD@users.noreply.github.com>
|
@copilot Error: API error: 500 Internal Server Error - Internal server error |
…layers Co-authored-by: YoeriVD <2865793+YoeriVD@users.noreply.github.com>
Fixed in 036dac9. The command now checks if the player supports mute control (via the |
|
@copilot if the player does not support mute, just manually set the volume to 0 |
Co-authored-by: YoeriVD <2865793+YoeriVD@users.noreply.github.com>
Updated in 6a8960b. When a player doesn't support mute control, the command now falls back to using volume control:
|
Co-authored-by: YoeriVD <2865793+YoeriVD@users.noreply.github.com>
|
@copilot resolve the conflicts and please use 10 as default unmute volume. |
Co-authored-by: YoeriVD <2865793+YoeriVD@users.noreply.github.com>
Description
Adds a dedicated mute toggle command for the active player. The command uses the Music Assistant API
playerCommandVolumeMute()endpoint when supported, and automatically falls back to volume control for players without native mute support.Changes:
volume-muteno-view command with toggle logicvolumeMute(playerId, muted)method toMusicAssistantClientsupportsMuteControl(player)method to check player mute capabilitypackage.jsonwith subtitle "Toggle mute on the active player"Implementation:
Toast Feedback:
Player Compatibility:
playerCommandVolumeMute()APIThis ensures the mute toggle command works universally across all Music Assistant players, regardless of their native capabilities.
Screencast
No screencast required - follows established pattern of volume-up/volume-down commands with toast notification feedback.
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare located outside the metadata folder if they were not generated with our metadata toolOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.