mirror of
https://github.com/9001/copyparty.git
synced 2025-11-24 07:23:22 -07:00
mediasession: embedded coverart as fallback
This commit is contained in:
parent
ad85713693
commit
9746b4e21e
|
|
@ -1452,11 +1452,9 @@ var mpl = (function () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cover) {
|
cover = addq(cover || mp.au.osrc, 'th=j');
|
||||||
cover = addq(cover, 'th=j');
|
|
||||||
tags.artwork = [{ "src": cover, type: "image/jpeg" }];
|
tags.artwork = [{ "src": cover, type: "image/jpeg" }];
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ebi('np_circle').textContent = np.circle || '';
|
ebi('np_circle').textContent = np.circle || '';
|
||||||
ebi('np_album').textContent = np.album || '';
|
ebi('np_album').textContent = np.album || '';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue