All pastes #225251 Raw Edit

Anonymous

public text v1 · immutable
#225251 ·published 2006-10-27 20:52 UTC
rendered paste body
--- modules/localplay/mpd.controller.php        (revision 638)
+++ modules/localplay/mpd.controller.php        (working copy)
@@ -110,6 +110,8 @@
         * and then add them to MPD
         */
        function add_songs($songs) { 
+               /* Clear the playlist first */
+               $this->clean_playlist();