From cac9090f4d8400c34ee5ef4cc2c28fc059a7615a Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Mon, 1 Apr 2024 09:42:30 -0400 Subject: [PATCH] Fix for disabled popular endpoint --- .../src/components/VideoFeed/VideoRowListRowContentTask.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playlet-lib/src/components/VideoFeed/VideoRowListRowContentTask.bs b/playlet-lib/src/components/VideoFeed/VideoRowListRowContentTask.bs index c75e3dda..c7e17bda 100644 --- a/playlet-lib/src/components/VideoFeed/VideoRowListRowContentTask.bs +++ b/playlet-lib/src/components/VideoFeed/VideoRowListRowContentTask.bs @@ -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()