This commit is contained in:
iou1name 2020-06-16 12:40:02 -04:00
parent 656f869f58
commit f2a5c0cddf
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,8 @@ body {
margin: 0;
padding: 8px;
box-sizing: border-box;
background-color: #212121;
color: #E4E4E4;
}
img {
@ -50,4 +52,5 @@ main {
#albumCover {
padding-right: 1em;
padding-top: 8px;
}

View File

@ -117,7 +117,7 @@ function track_recv(data) {
document.querySelector('#nowPlayingArtist').innerText = data['albumartist'];
document.querySelector('#nowPlayingAlbum').innerText = data['album'];
document.querySelector('#nowPlayingTitle').innerText = data['title'];
document.title = 'Musik | ' + data['artist'] + ' - ' + data['title'];
document.title = 'Scorch | ' + data['artist'] + ' - ' + data['title'];
let player = document.querySelector('#player');
player.firstElementChild.src = data['url'];
player.load();