mirror of
https://github.com/9001/copyparty.git
synced 2025-10-23 04:52:21 +00:00
mediasession: embedded coverart as fallback
This commit is contained in:
@@ -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 || '';
|
||||
|
Reference in New Issue
Block a user