Skip to content

Bugfix for Subs page#9194

Open
caffeineaddiction wants to merge 1 commit into
FreeTubeApp:developmentfrom
caffeineaddiction:development
Open

Bugfix for Subs page#9194
caffeineaddiction wants to merge 1 commit into
FreeTubeApp:developmentfrom
caffeineaddiction:development

Conversation

@caffeineaddiction
Copy link
Copy Markdown

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Description

YouTube changed channel video/live stream tabs to return lockupViewModel nodes instead of videoRenderer nodes. The youtubei.js library parses these as LockupView objects, but its .videos getter doesn't include them, causing getLocalChannelVideos() and getLocalChannelLiveStreams() to return empty arrays. This fix adds a fallback in both functions to extract LockupView nodes (with content_type === 'VIDEO') from the channel tab's memo when .videos returns empty. The existing parseLockupView() function already handles full VIDEO
parsing, so parseLocalChannelVideos() was updated to route LockupView items through it alongside traditional Video nodes.

Also adds channelName/channelId fallbacks in parseLockupView()'s VIDEO case, since metadata rows on a channel's own page contain views/time rather than channel info.

Screenshots

Testing

Currently Release says: "Your subscribed channels currently does not have any videos"
This version fixes this

Desktop

  • OS: Windos
  • OS Version: Win 10
  • FreeTube version: v0.24.0 Beta

Additional context

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) May 25, 2026 21:01
@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label May 25, 2026
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.

1 participant