Skip to content

Commit

Permalink
Fix for disabled popular endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
iBicha committed Apr 1, 2024
1 parent b8ed900 commit cac9090
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit cac9090

Please sign in to comment.