Skip to content

Fix parsing view counts in shorts-only playlists#9333

Merged
FreeTubeBot merged 1 commit into
FreeTubeApp:developmentfrom
absidue:shorts-playlist-views
Jul 2, 2026
Merged

Fix parsing view counts in shorts-only playlists#9333
FreeTubeBot merged 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
@FreeTubeBot FreeTubeBot merged commit db61a3b into FreeTubeApp:development Jul 2, 2026
6 checks passed
@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Jul 2, 2026
@absidue absidue deleted the shorts-playlist-views branch July 2, 2026 10:12
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Jul 6, 2026
* development: (24 commits)
  Add dependabot groups for actions/cache and github/codeql-action (FreeTubeApp#9373)
  Handle compact published dates e.g. 1w ago in LockupViews (FreeTubeApp#9374)
  Migrate to the vue-i18n composition API (FreeTubeApp#9375)
  Bump electron from 42.4.1 to 42.5.2 (FreeTubeApp#9362)
  Bump eslint-plugin-unicorn from 69.0.0 to 70.0.0 in the eslint group (FreeTubeApp#9367)
  Bump actions/cache/restore from 6.0.0 to 6.1.0 (FreeTubeApp#9366)
  Bump actions/cache/save from 6.0.0 to 6.1.0 (FreeTubeApp#9365)
  Bump js-yaml from 5.2.0 to 5.2.1 (FreeTubeApp#9369)
  Fix lazy rendering on channel home pages (FreeTubeApp#9336)
  Fix publish time parsing (FreeTubeApp#9310)
  Fix online playlist parsing & revert workaround with youtubei.js update (FreeTubeApp#9325)
  Fix parsing view counts in shorts-only playlists (FreeTubeApp#9333)
  Build static runtime AppImages with electron-builder (FreeTubeApp#9339)
  use new matrix icon (FreeTubeApp#9359)
  Translated using Weblate (Polish)
  Bump the webpack group across 1 directory with 2 updates (FreeTubeApp#9347)
  Bump the stylelint group across 1 directory with 3 updates (FreeTubeApp#9345)
  Bump vue from 3.5.38 to 3.5.39 (FreeTubeApp#9353)
  Bump js-yaml from 4.2.0 to 5.2.0 (FreeTubeApp#9348)
  Bump globals from 17.6.0 to 17.7.0 (FreeTubeApp#9350)
  ...

# Conflicts:
#	src/renderer/components/GeneralSettings/GeneralSettings.vue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants