[skip-ci] comment

This commit is contained in:
Brahim Hadriche committed 2024-12-28 22:15:56 -05:00
1 parent ed78f7132b
commit cbacdc5dcd
1 file changed
+4 -3
@@ -114,9 +114,10 @@ namespace InnertubeService
responseData = ObjectUtils.Dig(responseData, ["contents", "twoColumnWatchNextResults", "playlist", "playlist"]) responseData = ObjectUtils.Dig(responseData, ["contents", "twoColumnWatchNextResults", "playlist", "playlist"])
if responseData = invalid if responseData = invalid
' Sometimes the response doesn't contain a playlist. ' Sometimes the response doesn't contain a playlist.
' The theory here is that Innertube creates a playlist for the videoIds, and sometimes ' The theory here is that when a private video is in the list, the created playlist
' it chooses to respond without the playlist (perhaps to avoid slow responses). ' is no longer publicly available. That's why it is not returned. Also happens with
' A retry after a short sleep usually fixes this (but not always). ' a deleted video.
' A retry after a short sleep SOMETIMES fixes this (but not always).
' TODO:P1: Figure out why this happens and if there's a better way to handle it. ' TODO:P1: Figure out why this happens and if there's a better way to handle it.
if retry if retry
LogWarn("Response data missing playlist. Retrying in a bit...") LogWarn("Response data missing playlist. Retrying in a bit...")