media session: set artwork size

This commit is contained in:
Thomas Amland 2020-08-05 11:36:23 +02:00
parent 153acb759b
commit 2311947e8b

View File

@ -62,7 +62,7 @@ export const playerModule: Module<State, any> = {
title: track.title, title: track.title,
artist: track.artist, artist: track.artist,
album: track.album, album: track.album,
artwork: track.image ? [{ src: track.image}] : undefined, artwork: track.image ? [{ src: track.image, sizes: "300x300" }] : undefined,
}); });
} }
}, },