Skip to content

Fix parsing view counts in shorts-only playlists#9333

Open
absidue wants to merge 1 commit into
FreeTubeApp:developmentfrom
absidue:shorts-playlist-views
Open

Fix parsing view counts in shorts-only playlists#9333
absidue wants to merge 1 commit into
FreeTubeApp:developmentfrom
absidue:shorts-playlist-views

Conversation

@absidue

@absidue absidue commented Jun 26, 2026

Copy link
Copy Markdown
Member

Pull Request Type

  • Bugfix

Description

This pull request fixes the view count parsing in shorts only playlists. As they shorts in playlists don't have the view count overlay that shorts on channel pages do, FreeTube extracts the view count from the accessibility text which uses full words instead of abbreviations. The current extraction code only supported "million", this pull request adds "thousand" and "billion" to it too.

Shorts only playlists were not affected by the recent YouTube changes so this can be tested without having to wait for the YouTube.js update to be merged :).

Screenshots

Before

before thousands before billions

After

after thousands after billions

Testing

Desktop

  • OS: Windows
  • OS Version: 11

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

3 participants