Handle different disabled endpoints
This commit is contained in:
1 parent
8f2bdbfa07
commit
1494d85dad
2 files changed
+3
-3
No files matched your search
@@ -71,9 +71,8 @@ function VideoRowListRowContentTask(input as object) as object
|
|||||||
continue while
|
continue while
|
||||||
end if
|
end if
|
||||||
|
|
||||||
' Invidious returns 400 and "{"error":"Administrator has disabled this endpoint."}" when the Popular feed is disabled
|
if response.error.instr("Administrator has disabled this endpoint.") > -1
|
||||||
if feedSource.endpoint = "popular" and response.error.instr("Administrator has disabled this endpoint.") > -1
|
LogWarn(feedSource.endpoint, "feedSource not available:", response.error)
|
||||||
LogWarn("Popular feedSource not available:", response.error)
|
|
||||||
if feedSources.Count() = 1
|
if feedSources.Count() = 1
|
||||||
parent = feedContentNode.getParent()
|
parent = feedContentNode.getParent()
|
||||||
parent.removeChild(feedContentNode)
|
parent.removeChild(feedContentNode)
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
# Playlet Brighterscript Plugins
|
# Playlet Brighterscript Plugins
|
||||||
|
|
||||||
This is the folder containing different [Brighterscript Plugins](https://github.com/rokucommunity/brighterscript/blob/master/docs/plugins.md) used by Playlet. Find their documentation [here](/docs/plugins.md)
|
This is the folder containing different [Brighterscript Plugins](https://github.com/rokucommunity/brighterscript/blob/master/docs/plugins.md) used by Playlet. Find their documentation [here](/docs/plugins.md)
|
||||||
Reference in new issue
Block a user