david-sabata/web-scrobbler — pull request #441 by hughrawlinson (2014-08-20 18:48:08+00:00)
Title: fixes rdio artist bug

We noticed a bug caused by the order of rdio's dom manipulation when updating the player. They would update the track, causing us to updateNowPlaying before they update the artist. It caused incorrect scrobbles, so I've added a timeout to address this, as well as making sure a user has listened to a certain track for a reasonable amount of time for it to be considered a 'play'. I thought I had fixed this in #435, but it looks like I hadn't, so I'm closing that now.