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

Unmute Spotify on startup #215

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

Conversation

OpenByteDev
Copy link

When Spotify is muted when EZBlocker starts it does not unmute until the first transition from ad to normal song. This happens because it is assumed in the code that Spotify is unmuted when the application is started, even though this is never checked.

I changed the muted flag in Main from bool to bool? and the default value from false to null. A null value means that the state cannot be determined (probably because Spotify is closed).

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