3 ms·
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 (
by prashnts 10y ago
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)
- maxwelljoslyn 10y agoNice one!
- Griffinsauce 10y agoNo thanks, one likes earning a few cents from their published music.
- kuschku 10y agoSpotify still gets paid by the advertiser, and so does the artist. 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.
- mypalmike 10y ago> close to no one ever listened to / watched ads I can still sing jingles I learned from watching TV ads in the 70s.
- mastax 10y agoDoesn't spotify pause the ad if the volume is zero? It does for me.