Spotify-Ad-Blocker icon indicating copy to clipboard operation
Spotify-Ad-Blocker copied to clipboard

Unmute Spotify on startup

Open OpenByteDev opened this issue 5 years ago • 0 comments

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

OpenByteDev avatar Feb 04 '20 17:02 OpenByteDev