News for hackers. Stuff that matters.
Re:AnyBar: OS X menubar status indicator by prashnts on Sunday November 27, 2016 @02:28PM (#13050910)
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)
Re:AnyBar: OS X menubar status indicator by mastax on Sunday November 27, 2016 @07:36PM (#13052592)
Doesn't spotify pause the ad if the volume is zero? It does for me.
Re:AnyBar: OS X menubar status indicator by Griffinsauce on Sunday November 27, 2016 @06:16PM (#13052221)
No thanks, one likes earning a few cents from their published music.
Re:AnyBar: OS X menubar status indicator by kuschku on Sunday November 27, 2016 @06:46PM (#13052351)
Spotify 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.

Re:AnyBar: OS X menubar status indicator by mypalmike on Sunday November 27, 2016 @06:58PM (#13052417)
> close to no one ever listened to / watched ads

I can still sing jingles I learned from watching TV ads in the 70s.

Re:AnyBar: OS X menubar status indicator by maxwelljoslyn on Sunday November 27, 2016 @03:12PM (#13051214)
Nice one!