Fix for disabled popular endpoint
This commit is contained in:
1 parent
b8ed900769
commit
cac9090f4d
1 file changed
+2
-2
@@ -71,8 +71,8 @@ function VideoRowListRowContentTask(input as object) as object
|
||||
continue while
|
||||
end if
|
||||
|
||||
' Invidious returns 500 and "{"error":"Closed stream"}" when the Popular feed is disabled
|
||||
if feedSource.endpoint = "popular" and response.error.instr("Closed stream") > -1
|
||||
' Invidious returns 400 and "{"error":"Administrator has disabled this endpoint."}" when the Popular feed is disabled
|
||||
if feedSource.endpoint = "popular" and response.error.instr("Administrator has disabled this endpoint.") > -1
|
||||
LogWarn("Popular feedSource not available:", response.error)
|
||||
if feedSources.Count() = 1
|
||||
parent = feedContentNode.getParent()
|
||||
|
||||
Reference in new issue
Block a user