martindale/soundtrack.io — pull request #16 by unusualbob (2013-07-17 13:38:11+00:00)
Title: Prevent duplicate tracks and fix listeners not being removed

Prevents duplicate tracks from being added to the playlist, will now respond with an alert if the track is already in the list.

Listeners will now be removed from the array when they disconnect rather than making an ever growing user list.