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

Support Media Players #117

Open
Ramblurr opened this issue Dec 20, 2022 · 0 comments
Open

Support Media Players #117

Ramblurr opened this issue Dec 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Ramblurr
Copy link

Is your feature request related to a problem? Please describe.
I'm always frustrated when I tell mycroft to turn off/on some media player and it doesn't understand.

Describe the solution you'd like
HA has extensive support for media players, I'd like to see this skill leverage that!

Describe alternatives you've considered
none

Additional context

There are several logical stages to take in supporting media players.

First stage

Simple playback commands that don't require an object beyond the entity itself

  • media_player.media_pause - "Pause the living room speaker"
  • media_player.media_stop - "Stop playing in the living room"
  • media_player.media_next_track / previous_track - "Next track", "Previous song" (open question: how to choose which media_player entity when none is provided?)

Volume Controls:

  • media_player.volume_up / down - "Turn up the volume"
  • media_player.volume_set - "Set the volume to 50%"
  • media_player.volume_mute - "Mute the TV"
  • media_player.repeat_set - "Set repeat to single track"
  • media_player.shuffle_set - "Turn on shuffle"

Future stage

Eventually it would be nice to play specific playlists or albums. Unfortunately this is sort of media player platform specific in HA, that's why I'd leave it for a future stage.

For commonly played media (radio stations, common playlists etc) one could setup a script in HA, then use mycroft to trigger the script.

@Ramblurr Ramblurr added the enhancement New feature or request label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant