Use MiniDisc icon for album artwork

This commit is contained in:
Stefano Brilli 2021-09-21 00:00:05 +02:00
parent ed96e7a770
commit e63ca90c38
1 changed files with 4 additions and 1 deletions

View File

@ -125,7 +125,10 @@ export class BrowserMediaSessionService {
navigator.mediaSession.metadata = new MediaMetadata({
title: currentTrackTitle,
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' },
],
});
}