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,10 +1452,8 @@ var mpl = (function () {
|
|||
}
|
||||
}
|
||||
|
||||
if (cover) {
|
||||
cover = addq(cover, 'th=j');
|
||||
tags.artwork = [{ "src": cover, type: "image/jpeg" }];
|
||||
}
|
||||
cover = addq(cover || mp.au.osrc, 'th=j');
|
||||
tags.artwork = [{ "src": cover, type: "image/jpeg" }];
|
||||
}
|
||||
|
||||
ebi('np_circle').textContent = np.circle || '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue