[skip ci] move node type to right parser function

This commit is contained in:
Brahim Hadriche committed 2025-09-22 07:57:44 -04:00
1 parent c12436f464
commit ba2fbaa0da
1 file changed
+3 -3
@@ -1004,9 +1004,6 @@ namespace Innertube
return LockupViewModelTypePodcast(nodeData, context)
else if contentType = "LOCKUP_CONTENT_TYPE_ALBUM"
return LockupViewModelTypeAlbum(nodeData, context)
else if contentType = "TILE_CONTENT_TYPE_CHANNEL"
' Not implemented yet - https://github.com/iBicha/playlet/issues/724
return invalid
end if
Warning(`Unknown content type: ${contentType}`, nodeData, context)
@@ -1296,6 +1293,9 @@ namespace Innertube
return TileRendererTypeShorts(nodeData, context)
else if contentType = "TILE_CONTENT_TYPE_PLAYLIST"
return TileRendererTypePlaylist(nodeData, context)
else if contentType = "TILE_CONTENT_TYPE_CHANNEL"
' Not implemented yet - https://github.com/iBicha/playlet/issues/724
return invalid
end if
Warning(`Unknown content type: ${contentType}`, nodeData, context)