1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-12-18 03:48:14 +00:00

Show Coverimage

This commit is contained in:
jcorporation
2018-04-16 20:22:07 +01:00
parent 2fa653711d
commit 84ff0b7906
4 changed files with 48 additions and 4 deletions

View File

@@ -604,7 +604,7 @@ function webSocketConnect() {
socket.send('MPD_API_GET_QUEUE,'+pagination);
break;
case "song_change":
changeCover(obj);
$('#album').text("");
$('#artist').text("");
@@ -613,6 +613,7 @@ function webSocketConnect() {
$('#currenttrack').text(" " + obj.data.title);
var notification = "<strong><h4>" + obj.data.title + "</h4></strong>";
if(obj.data.album) {
$('#album').text(obj.data.album);
notification += obj.data.album + "<br />";