Skip to content

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

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

Trying to fix muting when dragging sound tracks and pausing#148
sthy14 wants to merge 3 commits into
Xeroday:masterfrom
sthy14:master

Conversation

@sthy14

@sthy14 sthy14 commented Jul 23, 2018

Copy link
Copy Markdown

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