mirror of
https://github.com/SuperBFG7/ympd
synced 2025-12-18 03:48:14 +00:00
Show Coverimage
This commit is contained in:
@@ -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 />";
|
||||
|
||||
Reference in New Issue
Block a user