mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2025-02-24 00:40:43 +00:00
add now palying fix
This commit is contained in:
parent
6bc139deb6
commit
dfe9b84ae6
@ -408,11 +408,17 @@ sub onMetaDataLoaded()
|
||||
if data <> invalid and data.count() > 0
|
||||
|
||||
' Use metadata to load backdrop image
|
||||
if isvalid(data?.json?.ArtistItems?[0]?.id)
|
||||
if isvalid(data.json)
|
||||
if isValid(data.json.ArtistItems)
|
||||
if data.json.ArtistItems.count() > 0
|
||||
if isValid(data.json.ArtistItems[0].id)
|
||||
m.LoadBackdropImageTask.itemId = data.json.ArtistItems[0].id
|
||||
m.LoadBackdropImageTask.observeField("content", "onBackdropImageLoaded")
|
||||
m.LoadBackdropImageTask.control = "RUN"
|
||||
end if
|
||||
end if
|
||||
end if
|
||||
end if
|
||||
|
||||
setPosterImage(data.posterURL)
|
||||
setScreenTitle(data.json)
|
||||
@ -429,7 +435,7 @@ sub onMetaDataLoaded()
|
||||
end if
|
||||
m.buttonsNeedToBeLoaded = false
|
||||
end if
|
||||
end if
|
||||
end if
|
||||
end sub
|
||||
|
||||
' Set poster image on screen
|
||||
|
Loading…
x
Reference in New Issue
Block a user