Support for channel "Courses" in Playlet backend
This commit is contained in:
1 parent
28c10022bd
commit
2f8679bc1c
5 files changed
+24
-1
No files matched your search
@@ -442,6 +442,14 @@ namespace Invidious
|
||||
|
||||
if response.StatusCode() = 200
|
||||
json = response.Json()
|
||||
' Courses are not yet implemented in Invidious.
|
||||
' In this case, Invidious returns 200, but the response is empty.
|
||||
if json = invalid
|
||||
json = {
|
||||
playlists: []
|
||||
}
|
||||
end if
|
||||
|
||||
return {
|
||||
items: json.playlists
|
||||
continuation: json.continuation
|
||||
|
||||
Reference in new issue
Block a user