fix browsing of playlists
authorSuperBFG7 <daniel@despite.ch>
Tue, 16 Feb 2016 11:03:50 +0000 (12:03 +0100)
committerSuperBFG7 <daniel@despite.ch>
Tue, 16 Feb 2016 11:03:50 +0000 (12:03 +0100)
htdocs/js/mpd.js

index e6e06a4..90ecb0d 100644 (file)
@@ -372,6 +372,8 @@ function webSocketConnect() {
                             case "playlist":
                                 $('#salamisandwich > tbody').append(
                                     "<tr uri=\"" + encodeURI(obj.data[item].plist) + "\" class=\"plist\">" +
+                                                                       "<td><span class=\"glyphicon glyphicon-list\"></span></td>" +
+                                                                       "<td><a>" + basename(obj.data[item].plist) + "</a></td>" +
                                     "<td></td><td></td>" +
                                     "<td></td><td></td></tr>"
                                 );