Skip to content

Fix variant selection when no variant's audio role marked as main#7571

Merged
FreeTubeBot merged 1 commit intoFreeTubeApp:developmentfrom
PikachuEXE:fix/no-main-audio-track-fallback
Jun 17, 2025
Merged

Fix variant selection when no variant's audio role marked as main#7571
FreeTubeBot merged 1 commit intoFreeTubeApp:developmentfrom
PikachuEXE:fix/no-main-audio-track-fallback

Conversation

@PikachuEXE
Copy link
Member

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Closes #7435

Description

Error caused by certain videos like https://youtu.be/PZJCBd_DhfE from #7435
Where no variant got audio role main so the filtered variants is empty and reading stuff from the first one = error
This PR makes it to NOT filter variants if no main audio role variant found

image

Screenshots

Testing

Desktop

  • OS:
  • OS Version:
  • FreeTube version:

Additional context

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) June 17, 2025 00:34
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jun 17, 2025
@PikachuEXE PikachuEXE force-pushed the fix/no-main-audio-track-fallback branch from 365d2ee to 6acf30c Compare June 17, 2025 00:35
@FreeTubeBot FreeTubeBot merged commit 0ad2d2d into FreeTubeApp:development Jun 17, 2025
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Jun 17, 2025
@amreo
Copy link

amreo commented Jun 18, 2025

Thanks ❤️

PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Jun 23, 2025
* development: (214 commits)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (French)
  Translated using Weblate (French)
  add search filter reset button (FreeTubeApp#7531)
  ! Fix variant selection when no variant's audio role marked as main (FreeTubeApp#7571)
  Make sure description isn't null when extracting chapters from description (FreeTubeApp#7505)
  Translated using Weblate (French)
  Bump stefanzweifel/git-auto-commit-action from 5 to 6 (FreeTubeApp#7564)
  Translated using Weblate (Swedish)
  Bump the eslint group with 3 updates (FreeTubeApp#7567)
  Bump sass from 1.89.1 to 1.89.2 (FreeTubeApp#7565)
  Bump shaka-player from 4.14.15 to 4.14.18 (FreeTubeApp#7566)
  Bump postcss from 8.5.4 to 8.5.5 in the stylelint group (FreeTubeApp#7568)
  Bump electron-builder from 26.0.16 to 26.0.17 (FreeTubeApp#7569)
  Translated using Weblate (English (United Kingdom))
  add beta to asset name (FreeTubeApp#7512)
  Translated using Weblate (Dutch)
  Translated using Weblate (Dutch)
  Fix builds failing due to broken Weblate keys (FreeTubeApp#7560)
  Translated using Weblate (Persian)
  ...

# Conflicts:
#	package.json
#	src/renderer/helpers/api/local.js
@ArthurKun21
Copy link

Would it be possible to reopen the #7435 again, still experiencing the bug even on the nightly 6130, unfortunately I didn't managed to open the dev tools I forgot

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

Please provide urls

@ArthurKun21
Copy link

it was random, last I saw the error was with this video https://youtu.be/FzLABAppJfM

@ArthurKun21
Copy link

ArthurKun21 commented Jun 27, 2025

@PikachuEXE
Copy link
Member Author

Your error with prefix WEBM is what I reported and is related to Chromium version
Which is fixed in #7597
Which means you need at least build 6155

2025-06-27 19_56_03-Build · Workflow runs · FreeTubeApp_FreeTube - Vivaldi

efb4f5ff-1298-471a-8973-3d47447115dc pushed a commit to efb4f5ff-1298-471a-8973-3d47447115dc/FreeTube that referenced this pull request Jul 12, 2025
efb4f5ff-1298-471a-8973-3d47447115dc pushed a commit to efb4f5ff-1298-471a-8973-3d47447115dc/FreeTube that referenced this pull request Jul 20, 2025
@PikachuEXE PikachuEXE deleted the fix/no-main-audio-track-fallback branch July 28, 2025 03:12
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.

[Bug]: video loading "flicker" and it loads only 360p

7 participants