Skip to content

Fix opening playlists in external players not working when ignore default args is enabled#8995

Open
absidue wants to merge 1 commit intoFreeTubeApp:developmentfrom
absidue:external-player-playlist
Open

Fix opening playlists in external players not working when ignore default args is enabled#8995
absidue wants to merge 1 commit intoFreeTubeApp:developmentfrom
absidue:external-player-playlist

Conversation

@absidue
Copy link
Copy Markdown
Member

@absidue absidue commented Apr 11, 2026

Pull Request Type

  • Bugfix

Description

Currently if the "Ignore Default Arguments" setting is enabled and you try to open a playlist in an external player it silently fails. With this change it will open the playlist if only a playlist ID is available such as trying to open a playlist in the external player, but will open the video if no playlist ID is passed or if both a playlist ID and video ID are passed, the latter differs from the default behaviour, as the "Ignore Default Arguments" setting means we are not allowed to pass an extra argument to indicate which video in the playlist to open.

Testing

  1. Setup an external player
  2. Go to the playlists tab on a channel
  3. Click on open in external player in the kebab menu

Desktop

  • OS: Windows
  • OS Version: 11

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) April 11, 2026 17:56
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Apr 11, 2026
} else if (!ignoreWarnings) {
unsupportedActions.push(UnsupportedPlayerActions.OPENING_PLAYLISTS)
}
} else {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we keep the condition?

Suggested change
} else {
} else if (hasValidVideoId) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: waiting for review For PRs that are complete, tested, and ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants