Fixed Playlet backend error caused by Roku 14.5 update on Canada devices

This commit is contained in:
Brahim Hadriche committed 2025-05-03 22:34:57 -04:00
1 parent bb2ca5515b
commit 49390ab0ae
4 files changed
+19 -7

No files matched your search

@@ -316,17 +316,18 @@ namespace Http
end if
result = InnertubeService.Search(query, options)
if result.error <> invalid
response.Json(result)
response.http_code = 500
return true
end if
if raw
response.Json(result)
return true
end if
if result.error <> invalid
response.Json(result)
response.http_code = 500
return true
end if
if not IsArray(result.feeds) or result.feeds.Count() = 0
response.Json({
"error": "Failed to search"