media session: set artwork size
This commit is contained in:
parent
153acb759b
commit
2311947e8b
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user