Earlier quoted context omitted.
If one likes being cheap, it's fun to mute Spotify if there's an Ad. Yeah... function muteSpotifyOnAd() if (hs.spotify.isRunning()) then if (hs.spotify.getCurrentTrack():lower() == 'spotify') then hs.spotify.setVolume(0) else hs.spotify.setVolume(100) end end end hs.timer.doEvery(10, muteSpotifyOnAd)
No thanks, one likes earning a few cents from their published music.
It’s like switching TV channels when the ad plays.
In analog media, close to no one ever listened to / watched ads, due to exactly that – many VHS recorders would even automatically skip them.