From 62b4a90a7e2ed3d6f6720a32bf7504d0c1fd2481 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sun, 24 May 2026 20:44:03 -0400 Subject: [PATCH] Fixed bug where large playlists (1k+ videos) only load the first page (#875) --- CHANGELOG.md | 4 ++++ playlet-lib/src/components/Services/Innertube/Parser.bs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e0fa639..83852616 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Experimental support for changing playback speed from YouTube mobile app using Leanback/Lounge api - Support for disabling AI auto-dubbed audio tracks +### Fixed + +- Bug where large playlists (1k+ videos) only load the first page + ## [0.44.10] - 2026-05-03 ### Fixed diff --git a/playlet-lib/src/components/Services/Innertube/Parser.bs b/playlet-lib/src/components/Services/Innertube/Parser.bs index dcfff810..8b9294fe 100644 --- a/playlet-lib/src/components/Services/Innertube/Parser.bs +++ b/playlet-lib/src/components/Services/Innertube/Parser.bs @@ -218,7 +218,7 @@ namespace Innertube playlistId = ObjectUtils.Dig(primaryInfo, ["navigationEndpoint", "watchEndpoint", "playlistId"]) title = ParseText(ObjectUtils.Dig(primaryInfo, ["title"])) description = ParseText(ObjectUtils.Dig(primaryInfo, ["description"])) - videoCount = ParseText(ObjectUtils.Dig(primaryInfo, ["stats", 0, "runs", 0, "text"])).ToInt() + videoCount = ParseText(ObjectUtils.Dig(primaryInfo, ["stats", 0, "runs", 0, "text"])).Replace(",", "").ToInt() thumbnail = ObjectUtils.Dig(primaryInfo, ["thumbnailRenderer", "playlistVideoThumbnailRenderer", "thumbnail", "thumbnails", 0, "url"]) author = ParseText(ObjectUtils.Dig(secondaryInfo, ["videoOwner", "videoOwnerRenderer", "title"]))