Use MiniDisc icon for album artwork
This commit is contained in:
parent
ed96e7a770
commit
e63ca90c38
|
@ -125,7 +125,10 @@ export class BrowserMediaSessionService {
|
||||||
navigator.mediaSession.metadata = new MediaMetadata({
|
navigator.mediaSession.metadata = new MediaMetadata({
|
||||||
title: currentTrackTitle,
|
title: currentTrackTitle,
|
||||||
album: currentDiscTitle,
|
album: currentDiscTitle,
|
||||||
artwork: [],
|
artwork: [
|
||||||
|
{ src: window.location.pathname + 'MiniDisc192.png', sizes: '192x192', type: 'image/png' },
|
||||||
|
{ src: window.location.pathname + 'MiniDisc512.png', sizes: '512x512', type: 'image/png' },
|
||||||
|
],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue