diff options
Diffstat (limited to 'modules/localplay/mpd.controller.php')
-rw-r--r-- | modules/localplay/mpd.controller.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/localplay/mpd.controller.php b/modules/localplay/mpd.controller.php index 46ea9951..b81b6a95 100644 --- a/modules/localplay/mpd.controller.php +++ b/modules/localplay/mpd.controller.php @@ -109,6 +109,8 @@ class AmpacheMpd { * and then add them to MPD */ function add_songs($songs) { + /* Clear the playlist first */ + $this->clean_playlist(); foreach ($songs as $song_id) { $song = new Song($song_id); |