Skip to content

Fix playlist video view counts on the local API - #8290

Merged
FreeTubeBot merged 1 commit into
FreeTubeApp:developmentfrom
absidue:playlist-views
Nov 17, 2025
Merged

FreeTubeBot merged 1 commit into
FreeTubeApp:developmentfrom
absidue:playlist-views

Conversation

@absidue

@absidue absidue commented Nov 16, 2025

Copy link
Copy Markdown
Member

Pull Request Type

  • Bugfix

Description

In the past we scraped the view count for playlist videos from the accessibility text as YouTube returned the full view count in there, but they are no longer doing that so we weren't showing any view count. This pull request switches to extracting the compact number view count, as a less accurate view count is still better than none.

Screenshots

Before:
before

After:
after

Testing

Open a few playlists and check that the view count shows up on videos. Please note that the view count still won't be shown for all videos but it will be missing for the same ones that it is missing in the playlist view on YouTube's website.

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 Nov 16, 2025
@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) November 16, 2025 00:00
@FreeTubeBot
FreeTubeBot merged commit fde2ade into FreeTubeApp:development Nov 17, 2025
@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 17, 2025
@absidue
absidue deleted the playlist-views branch November 17, 2025 06:36
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Nov 18, 2025
* development: (22 commits)
  Workaround ready-to-show not firing consistently on wayland (FreeTubeApp#8294)
  Bump electron from 38.4.0 to 39.2.1 (FreeTubeApp#8303)
  Migrate the WatchVideoInfo component to the composition API (FreeTubeApp#8295)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (French)
  Bump eslint-plugin-jsdoc from 61.1.12 to 61.2.1 in the eslint group (FreeTubeApp#8298)
  Replace broken trending with a local API only equivalent (FreeTubeApp#8289)
  Fix settings layout issues after the Vue 3 migration (FreeTubeApp#8292)
  Bump lefthook from 2.0.3 to 2.0.4 (FreeTubeApp#8299)
  Bump shaka-player from 4.16.8 to 4.16.9 (FreeTubeApp#8301)
  Bump electron-builder from 26.1.0 to 26.2.0 (FreeTubeApp#8302)
  Fix playlist video view counts on the local API (FreeTubeApp#8290)
  change hardcoded color app text logoColor (FreeTubeApp#8288)
  Translated using Weblate (Russian)
  Translated using Weblate (German)
  wrap long playlist strings (FreeTubeApp#8275)
  Translated using Weblate (Bulgarian)
  Bump js-yaml from 4.1.0 to 4.1.1 (FreeTubeApp#8284)
  bump workflows node-version to 24 (FreeTubeApp#8279)
  ...

# Conflicts:
#	src/renderer/helpers/api/invidious.js
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Nov 18, 2025
* development:
  Fix playlist video view counts on the local API (FreeTubeApp#8290)
  change hardcoded color app text logoColor (FreeTubeApp#8288)
  Translated using Weblate (Russian)
  Translated using Weblate (German)
  wrap long playlist strings (FreeTubeApp#8275)
  Translated using Weblate (Bulgarian)
  Bump js-yaml from 4.1.0 to 4.1.1 (FreeTubeApp#8284)
  bump workflows node-version to 24 (FreeTubeApp#8279)
  Translated using Weblate (Basque)
  Translated using Weblate (Vietnamese)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Hungarian)
  Remove upperCase on various places (FreeTubeApp#8267)
  Translated using Weblate (French)
  Fix subscription count display on watch page with IV API (FreeTubeApp#8255)
  Specify window position in constructor for better wayland compatibility (FreeTubeApp#8238)
  Change profile icon to include lowercase letters (FreeTubeApp#8253)
  Translated using Weblate (German)
  Translated using Weblate (Chinese (Traditional Han script))
  Translated using Weblate (Portuguese (Brazil))
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.

4 participants