gdi3d / mute-spotify-ads-mac-osx

Mute Mac (osx) computer audio when Spotify plays an AD
https://gdi3d.github.io/mute-spotify-ads-mac-osx/
MIT License
120 stars 17 forks source link

Delayed muting & unmuting #22

Closed Fyrelite closed 2 years ago

Fyrelite commented 2 years ago

Whenever an ad plays, occasionally it works properly and mutes the ad, but most of the time for me there is a 1 to 5 second delay before the ad is muted, and a similar delay before the audio is unmuted. Sometimes it fails to mute an ad completely and I have to restart it from the terminal to get it working again.

gdi3d commented 2 years ago

If you're using an older os version (catalina and before) the delay can happen because of how the script works. There's nothing else I can do right now to prevent that.

If you're not using a catalina or a previous version, please let me know what version you're using so I can test it with that specific version.

You can run this command on the console to find out the version: defaults read loginwindow SystemVersionStampAsString

About some ads not being muted at all, that's a know issue because some of the ads (a very low % in my experience) doesn't work in the same way as the majority of them, so it becomes imposible to detect them in the current design.

gdi3d commented 2 years ago

Closing ticket due to lack of response

Fyrelite commented 1 year ago

Ah I see, I am using Catalina, however on a separate note would you be interested in working on a script that automatically skips the ads after 5 seconds?

On Wed, 13 Apr 2022 at 21:08, Adriano Galello @.***> wrote:

If you're using an older os version (catalina and before) the delay can happen because of how the script works. There's nothing else I can do right now to prevent that.

If you're not using a catalina or a previous version, please let me know what version you're using so I can test it with that specific version.

You can run this command on the console to find out the version: defaults read loginwindow SystemVersionStampAsString

About some ads not being muted at all, that's a know issue because some of the ads (a very low % in my experience) doesn't work in the same way as the majority of them, so it becomes imposible to detect them in the current design.

— Reply to this email directly, view it on GitHub https://github.com/gdi3d/mute-spotify-ads-mac-osx/issues/22#issuecomment-1098029673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXHQI7Q4C7CJTB75VT446MDVE3BNPANCNFSM5TFWSQVA . You are receiving this because you authored the thread.Message ID: @.***>

gdi3d commented 1 year ago

It can't be done with the current method, sorry.