Skip to content

Commit

Permalink
stop spinners when no items are returned or there's an unknown type
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert committed Nov 25, 2023
1 parent 48af6ba commit 3c883c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/utils/quickplay.bs
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ namespace quickplay
end if
end for
quickplay.pushToQueue(videoList)
else
stopLoadingSpinner()
end if
return
else if collectionType = "tvshows" or collectionType = "collectionfolder"
Expand All @@ -328,7 +330,12 @@ namespace quickplay
' if first item is not a series, then assume they are all videos and/or episodes
quickplay.pushToQueue(tvshowsData.items)
end if
else
stopLoadingSpinner()
end if
else
stopLoadingSpinner()
print "Quick Play videoContainer WARNING: Unknown collection type"
end if
end sub

Expand Down

0 comments on commit 3c883c0

Please sign in to comment.