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

[] #14

Closed replete closed 2 years ago

gdi3d commented 2 years ago

Thanks for reporting. Do you see this message when you run the script?:

Spotify Ads will be silenced while this program is running!. (This works ONLY with the Spotify App, not the web version)
This program was downloaded from https://gdi3d.github.io/mute-spotify-ads-mac-osx/ (check for documentation)

If the program is not working properly please open an issue at: https://github.com/gdi3d/mute-spotify-ads-mac-osx/issues/new

Press control+c to close this program or close the terminal window
yumulun commented 2 years ago

Hi, I am having this issue after I run: sh ~/MuteSpotifyAds/NoAdsSpotify.sh

osascript: can't open default scripting component. Any insight you might have on what this means?

Thanks for your work!

gdi3d commented 2 years ago

It's looks like you have a problem with your OSX osascript component. It's not a bug in my script.

Try to google the error: osascript: can't open default scripting component to find a fix for it.

I'm closing the ticket since it's not really a bug.

gdi3d commented 2 years ago

Hey @replete, There are some strange ads that work different and the script is unable to detect them. Unfortunately there's no way to fix it.

In many cases these ads only appears once in a while, but from what I understand this is not your case and is quite often for you.

It's a hard one to fix since I don't see much of them (once per month approx) and debugging gets harder in this case.

Sorry I can't be more helpful.

Closing the ticket now since there's nothing I can do about those ads, and this have been discussed in others tickets as well.