If the mpd frontend receives an empty PlaylistChangeEvent, trigger an initPlaylist to update the playlist

This commit is contained in:
Fabio Manganiello 2019-01-10 22:27:44 +01:00
parent a190184b0c
commit 0bbfaf4498
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ $(document).ready(function() {
var updatePlaylist = function(tracks) {
if (tracks == null) {
initPlaylist();
return;
}