From 0bbfaf4498ef5c2ed7302c3773632139fce6efeb Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 10 Jan 2019 22:27:44 +0100 Subject: [PATCH] If the mpd frontend receives an empty PlaylistChangeEvent, trigger an initPlaylist to update the playlist --- platypush/backend/http/static/js/music.mpd.js | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/backend/http/static/js/music.mpd.js b/platypush/backend/http/static/js/music.mpd.js index 36ccf4dfc1..207d14c19e 100644 --- a/platypush/backend/http/static/js/music.mpd.js +++ b/platypush/backend/http/static/js/music.mpd.js @@ -231,6 +231,7 @@ $(document).ready(function() { var updatePlaylist = function(tracks) { if (tracks == null) { + initPlaylist(); return; }