mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2025-02-17 05:20:40 +00:00
validate season metadata to prevent crash
This commit is contained in:
parent
216e6a9954
commit
525d545b81
@ -232,7 +232,7 @@ sub Main (args as dynamic) as void
|
||||
end if
|
||||
|
||||
seasonMetaData = ItemMetaData(currentScene.seasonData.id)
|
||||
currentScene.seasonData = seasonMetaData.json
|
||||
if isValid(seasonMetaData) then currentScene.seasonData = seasonMetaData.json
|
||||
currentScene.episodeObjects = currentScene.objects
|
||||
currentScene.callFunc("updateSeason")
|
||||
end if
|
||||
|
Loading…
x
Reference in New Issue
Block a user