Add playlist length indicator (Issue #51)
It's not exactly pretty, but I'm hoping to have someone help me pretty up the interface this summer
This commit is contained in:
parent
57475d5d3d
commit
623aec89b1
5 changed files with 63 additions and 1 deletions
|
|
@ -253,6 +253,11 @@ function initCallbacks() {
|
|||
}
|
||||
});
|
||||
|
||||
socket.on("updatePlaylistMeta", function(data) {
|
||||
$("#plcount").text(data.count + " items");
|
||||
$("#pllength").text(data.time);
|
||||
});
|
||||
|
||||
socket.on("queue", function(data) {
|
||||
var li = makeQueueEntry(data.media);
|
||||
if(RANK >= Rank.Moderator || OPENQUEUE || LEADER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue