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

Any chance of media player integration #12

Open
bashers222 opened this issue Jun 14, 2024 · 6 comments
Open

Any chance of media player integration #12

bashers222 opened this issue Jun 14, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@bashers222
Copy link

I lve this, but would love to be able to remotely control volume and play/pause with one of the dials

@schmic schmic added enhancement New feature or request good first issue Good for newcomers labels Jun 15, 2024
@schmic schmic self-assigned this Jun 15, 2024
@bashers222 bashers222 changed the title Any chance of meida player integration Any chance of media player integration Jul 2, 2024
@schmic
Copy link
Owner

schmic commented Oct 12, 2024

Help me out here @bashers222 please, what type of media player or integration do you have in HA?

@rowanmoor
Copy link

I would love to be able to perform basic control of media players from Music Assistant https://www.music-assistant.io/.

@bashers222
Copy link
Author

bashers222 commented Jan 28, 2025

@rowanmoor if you install this plugin you can use it to call scripts
I have a script that controls play/pause and volume up/down on a certain media player
I've assigned this action to a dial where i can control volume and play/pause a media player in HA

alias: Office - Turn UP
sequence:
  - metadata: {}
    data:
      volume_level: "{{ states.media_player.office.attributes.volume_level + 0.03}}"
    target:
      entity_id: media_player.office
    action: media_player.volume_set
description: ""

Expand on this for transport controls

Image

@rowanmoor
Copy link

@bashers222 I must be missing something. I can't get scripts to show up in LoupeDeck. I have put that exact script in and it won't show in LoupeDeck. I can get Automations to show, but they have state so can't be used for a dial. How did you get the script to show in LoupeDeck to be usable?

@rowanmoor
Copy link

I see what the problem is. For some reason it won't update the plugin to version 0.7 which is where script support was added. I wouldn't expect it to update to 0.8 as I haven't updated LoupeDeck to v6 yet due to another plugin that isn't compatible. But 0.7 looks to still be compatible with LoupeDeck 5, but 0.6 is the highest in the marketplace that it thinks is compatible. I will try manually downloading v0.7.

@rowanmoor
Copy link

All sorted now with scripts. Thanks for the pointer - it was enough to get me there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants