Regression for Attempt to play the next video when errors occur
This commit is contained in:
1 parent
36910ab5cf
commit
b8d2008b98
2 files changed
+5
-5
No files matched your search
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Fixed
|
||||
|
||||
- Try fetching multiple pages in the search, in case results are filtered out (e.g. shorts)
|
||||
- Regression for `Attempt to play the next video when errors occur`
|
||||
|
||||
## [0.41.13] - 2025-09-18
|
||||
|
||||
|
||||
@@ -35,6 +35,10 @@ namespace Innertube
|
||||
end function
|
||||
|
||||
function ParseInnertubeNextResponse(payload as object, parsedResponse as object, httpResponse as object) as object
|
||||
if not IsArray(parsedResponse["recommendedVideos"])
|
||||
parsedResponse["recommendedVideos"] = []
|
||||
end if
|
||||
|
||||
if not IsAssociativeArray(payload)
|
||||
LogWarn("Invalid payload", payload)
|
||||
return parsedResponse
|
||||
@@ -60,11 +64,6 @@ namespace Innertube
|
||||
end if
|
||||
end if
|
||||
|
||||
if not IsArray(parsedResponse.recommendedVideos)
|
||||
LogWarn("Invalid recommended videos", parsedResponse.recommendedVideos)
|
||||
return parsedResponse
|
||||
end if
|
||||
|
||||
endscreen = playerOverlayRenderer["endScreen"]
|
||||
|
||||
feeds = Innertube.ParseResponseDataForFeeds(endscreen, {
|
||||
|
||||
Reference in new issue
Block a user