Skip to content
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

Pause no longer shows up when it's not supported; now shows both pause and stop by default #844

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mjustian
Copy link

Hi,
I was using this while writing an integration for a home audio controller. The controller supports internet radio, which does not support a pause button, leading to errors when the default pause button was clicked. Internet radio does, however, support a stop button. Furthermore, I would like to be able to change the source of the audio from internet radio to something else, such as Spotify, which does support pause, without needing to modify the mini media player's configuration.

This change makes both play/pause and play/stop enabled by default, as opposed to only play/pause being enabled. Furthermore, this change will hide pause and stop if those commands are not supported by the source device.

@mjustian mjustian changed the title Pause no longer shows up when it's not supported; now shows both paused and stop by default Pause no longer shows up when it's not supported; now shows both pause and stop by default Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant