Skip to content

Add support for volume mute - #14

Draft
mill1000 wants to merge 2 commits into
parautenbach:masterfrom
mill1000:feature/volume_mute
Draft

mill1000 wants to merge 2 commits into
parautenbach:masterfrom
mill1000:feature/volume_mute

Conversation

@mill1000

Copy link
Copy Markdown
Contributor

Leaving this one as a draft for now. The mute function works but there's not feedback from Shairport on the mute state. Without feedback the local state could get out of sync. I plan to make an issue for Shairport to see if this can be solved.

@mill1000

Copy link
Copy Markdown
Contributor Author

Crested a discussion here about requesting the feature in shairport sync.

@parautenbach

Copy link
Copy Markdown
Owner

Thanks, let's hold on until we get feedback.

@parautenbach

Copy link
Copy Markdown
Owner

Did you get any feedback on this?

@mill1000

Copy link
Copy Markdown
Contributor Author

I went ahead and implemented a quick PR for this: mikebrady/shairport-sync#1902

It should let us subscribe to the volume topic and use the special value of -144.0 to determine if muted or not.

@mill1000

Copy link
Copy Markdown
Contributor Author

Alright just updated this PR to include a check for the mute state. Haven't run any tests yet.

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