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

Add sound modes (output select) and extra idle states #9

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

SirJohnDoe
Copy link

@SirJohnDoe SirJohnDoe commented Oct 8, 2024

Would be possible to integrate the 'media_player.py' from my fork to this repository? It's basically the same but with two additions:

I've added sound modes (output select):

{91950EA7-115D-4F65-A44E-A06C7EA8BB0E}

And added several idle states, so they're correctly reported in HA. For example, 'no signal' when playing records.

I'm not very experienced with Github, so my commits are a bit of a mess. It'd be better if you just take the code and change it directly in your repo if you choose to integrate it.

Added 'Sound Output' and changed the default state to Off when state is not playing/paused/stopped.
Added extra idle states
Version 0.6b
Set media content type to music (fixed) so you can see the artist in the Media entity card
Ability to set 'Sound_mode' (speaker select)
New version with for all my changes
New version with for all my changes
List changes compared to original repo.
@lievencoghe
Copy link
Owner

Hi @SirJohnDoe

Let me think about how the best way to integrate your changes would be. The CXN streamers don’t have an amplifier, so there’s no output speaker selection to be made there. This functionality is in the CXA component, though.
Same goes for the idle states. Will keep you posted!

@SirJohnDoe
Copy link
Author

Ah I see, forgot that this integration was made for CXN.

I use speaker select with the Evo 150, but Evo 75 should work too. I guess it shouldn't show up in the non-amp players.

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.

2 participants