Requests album art at needed size
This commit is contained in:
parent
ff931d72f2
commit
aa761c0a35
|
@ -147,11 +147,11 @@ function ItemMetaData(id as string)
|
|||
tmp = CreateObject("roSGNode", "MusicSongData")
|
||||
|
||||
' Try using song's parent for poster image
|
||||
tmp.image = PosterImage(data.ParentId)
|
||||
tmp.image = PosterImage(data.ParentId, { "MaxWidth": 500, "MaxHeight": 500 })
|
||||
|
||||
' Song's parent poster image is no good, try using the song's poster image
|
||||
if tmp.image = invalid
|
||||
tmp.image = PosterImage(data.id)
|
||||
tmp.image = PosterImage(data.id, { "MaxWidth": 500, "MaxHeight": 500 })
|
||||
end if
|
||||
|
||||
tmp.json = data
|
||||
|
|
Loading…
Reference in New Issue
Block a user