If the mpd frontend receives an empty PlaylistChangeEvent, trigger an initPlaylist to update the playlist
This commit is contained in:
parent
a190184b0c
commit
0bbfaf4498
1 changed files with 1 additions and 0 deletions
|
@ -231,6 +231,7 @@ $(document).ready(function() {
|
||||||
|
|
||||||
var updatePlaylist = function(tracks) {
|
var updatePlaylist = function(tracks) {
|
||||||
if (tracks == null) {
|
if (tracks == null) {
|
||||||
|
initPlaylist();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue