Additional capture for unimplemented nodes

This commit is contained in:
Brahim Hadriche committed 2025-10-27 09:11:13 -04:00
1 parent 460ae9a392
commit c216714c5b
1 file changed
+6 -4
@@ -101,13 +101,13 @@ namespace Innertube
' "playlistShowMetadataRenderer": ParseNotImplemented
' Ignored nodes:
' TODO:P2 handle navigateAction - which are usually a redirect
"navigateAction": ParseNotImplemented
' "navigateAction": ParseNotImplemented
' TODO:P2 radioRenderer seems like a Mix https://github.com/iBicha/playlet/issues/709
"radioRenderer": ParseNotImplemented
"compactRadioRenderer": ParseNotImplemented
' "radioRenderer": ParseNotImplemented
' "compactRadioRenderer": ParseNotImplemented
' TODO:P2 A carousel of videos, found on the home tab of a channel.
' Should probably be parsed.
"carouselItemRenderer": ParseNotImplemented
' "carouselItemRenderer": ParseNotImplemented
' When searching for hashtags, this renderer is used.
' It redirects to a page similar to a channel page, with browseId "FEhashtag"
' the hashtag name is encoded in a proto and passed as a param to the browseEndpoint.
@@ -1006,6 +1006,8 @@ namespace Innertube
if contentType = "LOCKUP_CONTENT_TYPE_VIDEO"
return LockupViewModelTypeVideo(nodeData, context)
else if contentType = "LOCKUP_CONTENT_TYPE_SHORT"
' Additional capture for LOCKUP_CONTENT_TYPE_SHORT
Warning(`Unknown content type: ${contentType}`, nodeData, context)
return LockupViewModelTypeShort(nodeData, context)
else if contentType = "LOCKUP_CONTENT_TYPE_PLAYLIST"
return LockupViewModelTypePlaylist(nodeData, context)