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

Trying to fix muting when dragging sound tracks and pausing #148

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

Conversation

sthy14
Copy link

@sthy14 sthy14 commented Jul 23, 2018

When I tried to drag a sound track ezblocker will mute spotify, as the WindowName will change to Drag. I added one condition so that it will hopefully not mute spotify on Dragging.

I've removed the following code automatically playing the ad, which solves the problem of pausing.
else if (playingAd) { AudioUtils.SendPlayPause(hook.Handle); } // If here, means we were in an ad state, but Spotify was paused and ad is no longer playing

For my normal routine this works fine, as I really want to pause when I leave my seat.

sthy14 added 2 commits July 23, 2018 12:45
This change also seems resolved the pausing problem. Seems that sometimes pausing would cause WindowName to be empty.
@sthy14 sthy14 changed the title Trying to fix muting when dragging sound tracks Trying to fix muting when dragging sound tracks and pausing Jul 23, 2018
A pause is a pause
@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.

1 participant