OpenByteDev / EZBlocker3

EZBlocker 3 - Ad Spotify muter/blocker for Windows
GNU General Public License v3.0
34 stars 3 forks source link

Music is getting muted again #8

Open ghost opened 3 years ago

ghost commented 3 years ago

image I have enabled debug mode but same issue .

ghost commented 3 years ago

Can u make song whitelist option in EZ Blocker ? I think it would be great .

ghost commented 3 years ago

image The Song is getting muted here

ghost commented 3 years ago

I think it would be great if there was an option called "whitelist this music" and we can delete or ad the music which is played by spotify .

OpenByteDev commented 3 years ago

Could you enable the debug mode in the app settings, as this will create a log.txt next to EZBlocker3.exe. After encountering the issue again, please send me the log file or post it here (the last lines should suffice).

OpenByteDev commented 3 years ago

I think it would be great if there was an option called "whitelist this music" and we can delete or ad the music which is played by spotify .

Thats a good idea, but it will be a while until I have time to implement it.

ghost commented 3 years ago

Could you enable the debug mode in the app settings, as this will create a log.txt next to EZBlocker3.exe. After encountering the issue again, please send me the log file or post it here (the last lines should suffice).

Ok sure .

ghost commented 3 years ago

I think it would be great if there was an option called "whitelist this music" and we can delete or ad the music which is played by spotify .

Thats a good idea, but it will be a while until I have time to implement it.

Ok np :) .

ghost commented 3 years ago

@OpenByteDev The song was muted again and this happened image

ghost commented 3 years ago

And this is what the log.txt file says -

[25-03-2021 00:02:15] Debug (SpotifyHook) Current window name changed to "Highschool dxd (Anime Song)" [25-03-2021 00:02:15] Warning (SpotifyHook) Spotify entered an unknown state. (WindowTitle=Highschool dxd (Anime Song)) [25-03-2021 00:02:15] Information (SpotifyHook) Assuming WindowTitle=Highschool dxd (Anime Song) marks an ad. [25-03-2021 00:02:15] Information (SpotifyHook) Spotify is in PlayingAdvertisement state. [25-03-2021 00:02:15] Information (SpotifyHook) Spotify muted. [25-03-2021 00:02:15] Information (SpotifyHook) Active song: "" [25-03-2021 00:02:28] Debug (SpotifyHook) Current window name changed to "Spotify Free" [25-03-2021 00:02:28] Information (SpotifyHook) Spotify is in Paused state. [25-03-2021 00:02:28] Information (SpotifyHook) Spotify muted. [25-03-2021 00:04:05] Debug (SpotifyHook) Current window name changed to "Highschool dxd (Anime Song)" [25-03-2021 00:04:05] Warning (SpotifyHook) Spotify entered an unknown state. (WindowTitle=Highschool dxd (Anime Song)) [25-03-2021 00:04:05] Information (SpotifyHook) Assuming WindowTitle=Highschool dxd (Anime Song) marks an ad. [25-03-2021 00:04:05] Information (SpotifyHook) Spotify is in PlayingAdvertisement state. [25-03-2021 00:04:05] Information (SpotifyHook) Spotify muted. [25-03-2021 00:04:19] Debug (SpotifyHook) Current window name changed to "Spotify Free" [25-03-2021 00:04:19] Information (SpotifyHook) Spotify is in Paused state. [25-03-2021 00:04:19] Information (SpotifyHook) Spotify muted.

ghost commented 3 years ago

It is clear from the log that EZBlocker is taking the song as advertisement . I think so. //Because it went in paused state.

OpenByteDev commented 3 years ago

EZBlocker fails to detect that a song is playing, because there is no artist in the title for this song.

I have something in mind to fix this in addition to the proposed whitelist feature, but both will take some time.

Did you try to disable "Aggressive Blocking" in the settings?

ghost commented 3 years ago

ya

EZBlocker fails to detect that a song is playing, because there is no artist in the title for this song.

I have something in mind to fix this in addition to the proposed whitelist feature, but both will take some time.

Did you try to disable "Aggressive Blocking" in the settings?

Ya of course . I did . It was not working.

OpenByteDev commented 3 years ago

So the song was still being muted after disabling "Aggresive Blocking"?

ghost commented 3 years ago

So the song was still being muted after disabling "Aggresive Blocking"?

Yes . It was . image

OpenByteDev commented 3 years ago

You could try to change the hooking method to "MediaSession API".

ghost commented 3 years ago

You could try to change the hooking method to "MediaSession API".

The ezblocker process is getting killed when I am starting that music . There was an advertisement after the song which was not muted . I could hear the song but after the song the advertisement was not muted. Then I have to manually execute EZ Blocker.

OpenByteDev commented 3 years ago

Could you please once again post the corresponding section from the log file?

ghost commented 3 years ago

[27-03-2021 13:57:49] Information Started without cli args [27-03-2021 13:57:50] Debug (SpotifyHook) Activated [27-03-2021 13:57:56] Information Settings: Disabled Autostart [27-03-2021 13:57:56] Debug (SpotifyHook) Deactivated [27-03-2021 13:57:56] Information App exited with code 0

ghost commented 3 years ago

Actually I am using Burnt Sushi now becoz it is great and I can minimise the burnt sushi to System tray by a software called as rb tray

OpenByteDev commented 3 years ago

[27-03-2021 13:57:49] Information Started without cli args [27-03-2021 13:57:50] Debug (SpotifyHook) Activated [27-03-2021 13:57:56] Information Settings: Disabled Autostart [27-03-2021 13:57:56] Debug (SpotifyHook) Deactivated [27-03-2021 13:57:56] Information App exited with code 0

Thats a rather interesting error and I don't really know what could cause this.

OpenByteDev commented 3 years ago

Actually I am using Burnt Sushi now becoz it is great and I can minimise the burnt sushi to System tray by a software called as rb tray

I was gonna recommand that to. The method used in BurntSushi is superior to the one in EZBlocker3 and BurntSushi will replace EZBlocker3 as soon as I add some more features to it. (Like autostart and minimizing to tray)

ghost commented 3 years ago

Actually I am using Burnt Sushi now becoz it is great and I can minimise the burnt sushi to System tray by a software called as rb tray

I was gonna recommand that to. The method used in BurntSushi is superior to the one in EZBlocker3 and BurntSushi will replace EZBlocker3 as soon as I add some more features to it. (Like autostart and minimizing to tray)

Oh Noice but can u add a feature in BurntSushi called as "Start Application minimised in xtray" on enabling that whenever we will launch the application it will always appear in Xtray Instead of Taskbar . Like this - image For now I am minimising the application in xtray by a application known as " RB TRAY ".