diff --git a/playlet-lib/src/components/Services/Innertube/NodesParser.bs b/playlet-lib/src/components/Services/Innertube/NodesParser.bs index f258d0f9..11b756de 100644 --- a/playlet-lib/src/components/Services/Innertube/NodesParser.bs +++ b/playlet-lib/src/components/Services/Innertube/NodesParser.bs @@ -48,6 +48,7 @@ namespace Innertube "watchNextEndScreenRenderer": ParseWatchNextEndScreenRenderer "tabRenderer": ParseTabRenderer "sectionListRenderer": ParseSectionListRenderer + "sectionListContinuation": ParseSectionListRenderer "richSectionRenderer": ParseRichSectionRenderer "itemSectionRenderer": ParseItemSectionRenderer "shelfRenderer": ParseShelfRenderer @@ -90,6 +91,7 @@ namespace Innertube "reloadContinuationItemsCommand": ParseReloadContinuationItemsCommand "gridContinuation": ParseGridContinuation "tvSurfaceContentContinuation": ParseTvSurfaceContentContinuation + "gridButtonRenderer": ParseGridButtonRenderer ' Ignored nodes: ' TODO:P2 handle navigateAction - which are usually a redirect "navigateAction": ParseNotImplemented @@ -109,6 +111,7 @@ namespace Innertube "horizontalMovieListRenderer": ParseNotImplemented "gridMovieRenderer": ParseNotImplemented "gridShowRenderer": ParseNotImplemented + "playlistShowMetadataRenderer": ParseNotImplemented ' Contains comments "teaser". "commentsEntryPointHeaderRenderer": ParseNotImplemented ' Contains the owner of the video from "videoPrimaryInfoRenderer" @@ -1642,6 +1645,15 @@ namespace Innertube return nodeData["content"] end function + function ParseGridButtonRenderer(nodeData as object, context as object) as object + signal = ObjectUtils.Dig(nodeData, ["navigationEndpoint", "signalServiceEndpoint", "actions", 0, "signalAction", "signal"]) + isRefreshButton = signal = "SOFT_RELOAD_PAGE" + if not isRefreshButton + Warning(`Unknown node gridButtonRenderer`, nodeData, context) + end if + return invalid + end function + function ParseText(data as dynamic) as string if IsString(data) return data