From d03909f8d6f793c4d4eda33bef4d23b501cb8d4c Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sat, 20 Jun 2026 12:03:10 -0400 Subject: [PATCH] Playlist second page fix --- CHANGELOG.md | 1 + .../components/Services/Innertube/NodesParser.bs | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05baa041..11d849d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Attempt to fix the "The page needs to be reloaded" error by refreshing the signature timestamp automatically +- Playlists with more than one page of videos no longer stop loading after the first ~100 videos ## [0.47.1] - 2026-06-18 diff --git a/playlet-lib/src/components/Services/Innertube/NodesParser.bs b/playlet-lib/src/components/Services/Innertube/NodesParser.bs index 4ded309f..d11f93a6 100644 --- a/playlet-lib/src/components/Services/Innertube/NodesParser.bs +++ b/playlet-lib/src/components/Services/Innertube/NodesParser.bs @@ -88,6 +88,7 @@ namespace Innertube "feedFilterChipBarRenderer": ParseFeedFilterChipBarRenderer "chipBarViewModel": ParseChipBarViewModel "continuationItemRenderer": ParseContinuationItemRenderer + "continuationItemViewModel": ParseContinuationItemViewModel "appendContinuationItemsAction": ParseAppendContinuationItemsAction "reloadContinuationItemsCommand": ParseReloadContinuationItemsCommand "gridContinuation": ParseGridContinuation @@ -1850,6 +1851,19 @@ namespace Innertube return invalid end function + function ParseContinuationItemViewModel(nodeData as object, context as object) as object + if not StringUtils.IsNullOrEmpty(context.currentFeed.continuation) + return invalid + end if + + continuation = ObjectUtils.Dig(nodeData, ["continuationCommand", "innertubeCommand", "continuationCommand", "token"]) + if IsString(continuation) + context.currentFeed.continuation = continuation + end if + + return invalid + end function + function ParseContinuationItemRenderer(nodeData as object, context as object) as object ' In Playlists there are 2 continuation items: ' - The first one (innermost) we encounter is the continuation for the next page of videos