holman/play — pull request #85 by joeyw (2012-02-04 04:20:29+00:00)
Title: Fix some crashing when first starting up or switching songs manually

Added a condition to clean the queue only if there is a song playing.

Add the current song to the queue if it's not in it already. This is
caused when first starting the program or manually switching songs and
would cause the server to crash.