Skip to content

Fix: Local Playlist doesn't show upcoming premieres if 'hide upcoming premieres' is enabled#9320

Open
Shadorc wants to merge 2 commits into
FreeTubeApp:developmentfrom
Shadorc:fix/playlist-premieres
Open

Fix: Local Playlist doesn't show upcoming premieres if 'hide upcoming premieres' is enabled#9320
Shadorc wants to merge 2 commits into
FreeTubeApp:developmentfrom
Shadorc:fix/playlist-premieres

Conversation

@Shadorc

@Shadorc Shadorc commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

closes #8261

Description

I've used the same pattern as useChannelsHiddenPreference.
The behavior is different when the window is narrowed because grid view uses FtListLazyWrapper which implements 'hide upcoming premieres' preference whereas list view uses FtListVideoNumbered which does not take into account the setting.

Testing

Local Playlist

  1. Create a new playlist
  2. Find a video marked as "upcoming premiere" (example https://www.youtube.com/watch?v=9dPo4_ALCxQ) and add it to the playlist
  3. Go to Settings > Distraction Free and make sure "Hide Upcoming Premieres" is enabled
  4. Open the playlist and check that the upcoming premiere is visible

Public Playlist

  1. Create a new YouTube playlist
  2. Find a video marked as "upcoming premiere" (example https://www.youtube.com/watch?v=9dPo4_ALCxQ) and add it to the playlist
  3. In FreeTube, go to Settings > Distraction Free and make sure "Hide Upcoming Premieres" is enabled
  4. Open the YouTube playlist URL inside FreeTube and check that the upcoming premiere is visible

@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jun 23, 2026
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) June 23, 2026 22:05
Comment thread src/renderer/views/Playlist/Playlist.vue
Comment thread src/renderer/components/FtListLazyWrapper/FtListLazyWrapper.vue
auto-merge was automatically disabled June 24, 2026 14:16

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) June 24, 2026 14:16
auto-merge was automatically disabled June 24, 2026 19:10

Head branch was pushed to by a user without write access

@Shadorc Shadorc force-pushed the fix/playlist-premieres branch from 8253f68 to 414400a Compare June 24, 2026 19:10
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) June 24, 2026 19:11
@PikachuEXE

Copy link
Copy Markdown
Member

I can't test the online playlist case until playlist handling fixed (which I will work on soon
So testing that case later

@PikachuEXE PikachuEXE left a comment

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.

Online playlist tested with #9325 merged
Last reviewer plz approve after that one merged

@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc left a comment

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.

Did same as Pika

For testing public playlist:

  1. Go to https://www.youtube.com/playlist?list=PLGm6__WNWiw6_rWkLP1i0UuQq7QzYwo8e
  2. Last entry in list is premiere vid

This is a regression test because the setting didnt affect public playlists. Meaning premiere video in public playlist is available whether the setting is enabled or not

@PikachuEXE

Copy link
Copy Markdown
Member

Last reviewer please only approve after #9325 merged~

@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc dismissed their stale review June 29, 2026 11:28

wasnt supposed to hit approve yet so dismissing to make sure this doesnt go in before #9325

auto-merge was automatically disabled July 2, 2026 12:17

Head branch was pushed to by a user without write access

@Shadorc Shadorc force-pushed the fix/playlist-premieres branch from 414400a to 0439ef2 Compare July 2, 2026 12:17
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) July 2, 2026 12:17
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.

[Bug]: Local Playlist doesn't show upcoming premieres if "hide upcoming premieres" is enabled

3 participants