Add maxHeight for media session image

This commit is contained in:
MrTimscampi 2020-04-20 17:48:02 +02:00
parent a6732443f3
commit 097802cd51

View File

@ -126,7 +126,7 @@ import connectionManager from 'connectionManager';
artwork: getImageUrls(item) artwork: getImageUrls(item)
}); });
} else { } else {
let itemImageUrl = seriesImageUrl(item) || imageUrl(item); let itemImageUrl = seriesImageUrl(item, { maxHeight: 3000 }) || imageUrl(item, { maxHeight: 3000 });
window.NativeShell.updateMediaSession({ window.NativeShell.updateMediaSession({
action: eventName, action: eventName,