r/code • u/Anmol_22 • Jan 31 '22
Is it possible to code a script which closes Spotify when an ad plays and reopens it immediately.
I think the way this can be done is by using the way Spotify connects to Discord to show activity. I am not very sure. Any sort of help is welcome.
11
Upvotes
5
u/trixfyy Jan 31 '22
There was a script at github to mute spotify when an ad played and unmute afterwards but you have to search for it as I didnt save it.