mediasession: embedded coverart as fallback

This commit is contained in:
ed 2025-10-14 22:02:09 +00:00
parent ad85713693
commit 9746b4e21e

View file

@ -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 || '';