Skip to content

fix: Handle CommandExecutorCommand in NavigationEndpoint.call#968

Merged
LuanRT merged 2 commits intoLuanRT:mainfrom
absidue:playlist-continuations
Jun 8, 2025
Merged

fix: Handle CommandExecutorCommand in NavigationEndpoint.call#968
LuanRT merged 2 commits intoLuanRT:mainfrom
absidue:playlist-continuations

Conversation

@absidue
Copy link
Collaborator

@absidue absidue commented May 26, 2025

YouTube has started occasionally returning CommandExecutorCommands inside of the playlist ContinuationItems, this pull request adds handling for them to fix playlist continuations erroring with TypeError: command.getApiPath is not a function.

Related FreeTubeApp/FreeTube#7437, TeamNewPipe/NewPipeExtractor#1301

@rafalzawadzki
Copy link

I can confirm this fixes the issue

if (like me) you urgently need this in your project, change package.json to:

"youtubei.js": "github:absidue/YouTube.js#playlist-continuations"

@LuanRT LuanRT merged commit 698121a into LuanRT:main Jun 8, 2025
4 checks passed
@absidue absidue deleted the playlist-continuations branch June 8, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants