Skip to content

Unmute Spotify on startup#215

Open
OpenByteDev wants to merge 3 commits into
Xeroday:masterfrom
OpenByteDev:master
Open

Unmute Spotify on startup#215
OpenByteDev wants to merge 3 commits into
Xeroday:masterfrom
OpenByteDev:master

Conversation

@OpenByteDev

Copy link
Copy Markdown

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).

@Xeroday Xeroday force-pushed the master branch 4 times, most recently from ca6662c to 0bcf31b Compare November 7, 2021 01:03
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