[skip ci] Remove mixes video thumbnails Invidious patch
This commit is contained in:
1 parent
caa3f18fcc
commit
21a653571f
1 file changed
-11
@@ -54,17 +54,6 @@ function PlaylistContentTask(input as object) as object
|
|||||||
}
|
}
|
||||||
end if
|
end if
|
||||||
|
|
||||||
' TODO:P2 To remove after https://github.com/iv-org/invidious/pull/5116
|
|
||||||
if IsString(metadata["mixId"]) and IsArray(metadata["videos"])
|
|
||||||
videos = metadata["videos"]
|
|
||||||
for i = 0 to videos.Count() - 1
|
|
||||||
thumbnails = videos[i].videoThumbnails
|
|
||||||
if thumbnails.Count() = 1 and IsArray(thumbnails[0])
|
|
||||||
videos[i].videoThumbnails = thumbnails[0]
|
|
||||||
end if
|
|
||||||
end for
|
|
||||||
end if
|
|
||||||
|
|
||||||
InvidiousContent.ToPlaylistContentNode(contentNode, metadata, instance)
|
InvidiousContent.ToPlaylistContentNode(contentNode, metadata, instance)
|
||||||
childCount = contentNode.getChildCount()
|
childCount = contentNode.getChildCount()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user