Pandora

Pandora seems to have implemented an additional protection against going over the monthly limit for Pandora One users:

hours = user.hoursListenedThisMonth()
if hours < 20:
  player.play(findOptimalSong(user, station))
elif hours < 40:
  player.play(findAnnoyingSong(user, station, annoyingness_factor=.5))
else:
  player.play(findAnnoyingSong(None, None, annoyingness_factor=1))

She's been playing some weird shit for the last couple of days. Lots of thumbs downs.

114 views and 0 responses