A couple of fixes

This commit is contained in:
Brahim Hadriche committed 2025-01-10 16:33:21 -05:00
1 parent c95bb85c6e
commit 3daa94dee1
3 files changed
+65

No files matched your search

@@ -82,6 +82,12 @@ namespace InvidiousContent
childCount = node.getChildCount()
newNodes = []
for each video in item.videos
' TODO:P1 sometimes we're parsing "recommended playlists" that
' show up in the end of the playlist. We should ignore them,
' until the parsing is fixed.
if ValidString(video.type) = "playlist"
continue for
end if
video.type = "video"
videoNode = ToVideoContentNode(invalid, video, instance)
if videoNode <> invalid