Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix adaptive format picked by video JS sometimes not showing up in quality selector #3350

Merged

Conversation

PikachuEXE
Copy link
Collaborator

@PikachuEXE PikachuEXE commented Mar 23, 2023

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Not if only happens after #3278, but discovered during testing #3278 anyway

Description

A. Inconsistency in adaptiveFormats between Local API & Invidious API
Using Local API & Proxy video through Invidious would cause quality selector issue on some videos
Due to different quality set from Local API and Invidious API

B. Invidious issue on AV1 formats
#3382

This PR has fix for (A) but only workaround for (B) due to it being caused by Invidious issue

Screenshots

Before fix
Screenshot 2023-03-23 at 09 21 13

After fix
Screenshot 2023-03-23 at 09 23 59

Testing

A. Inconsistency in adaptiveFormats between Local API & Invidious API

  • Use Local API, enable Proxy Videos Through Invidious, set default quality to 720p
  • Play https://youtu.be/v3wm83zoSSY
  • Video quality should be 720p and quality selector should be something 720p (instead of undefined)

B. Invidious issue on AV1 formats
Same as (A) but with https://youtu.be/8IFwpI7OT6I

Desktop

  • OS:
  • OS Version:
  • FreeTube version:

Additional context

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) March 23, 2023 01:43
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Mar 23, 2023
@PikachuEXE PikachuEXE requested a review from absidue March 24, 2023 23:28
@PikachuEXE
Copy link
Collaborator Author

@absidue Applied workaround here as you asked
@efb4f5ff-1298-471a-8973-3d47447115dc @ChunkyProgrammer I have updated Description & Testing for an additional workaround

@absidue absidue added PR: changes requested and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Apr 1, 2023
@PikachuEXE PikachuEXE requested a review from absidue April 1, 2023 14:13
@absidue absidue added PR: waiting for review For PRs that are complete, tested, and ready for review and removed PR: changes requested labels Apr 1, 2023
@FreeTubeBot FreeTubeBot merged commit 5db3ab5 into FreeTubeApp:development Apr 1, 2023
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Apr 1, 2023
@PikachuEXE PikachuEXE deleted the fix/dash-quality-item-missing branch April 2, 2023 00:15
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Apr 4, 2023
…tom-builds/current

* feature/watch-page/playlist-scroll-to-current: (25 commits)
  ! Fix window being scrolled when playlist is out of initial view
  * Update watch view playlist component to auto scroll to current video
  Bump @babel/preset-env from 7.20.2 to 7.21.4 (FreeTubeApp#3389)
  Fix trending & search result list rendered items not updated without workaround (FreeTubeApp#3342)
  Translated using Weblate (Italian)
  Translated using Weblate (Japanese)
  Fix adaptive format picked by video JS sometimes not showing up in quality selector (FreeTubeApp#3350)
  Translated using Weblate (Italian)
  Remove empty translation strings at build time (FreeTubeApp#3361)
  Prevent `channelInstance` from being `null` in community tab fallback (FreeTubeApp#3346)
  Translated using Weblate (Odia)
  Translated using Weblate (Odia)
  Translated using Weblate (Odia)
  Translated using Weblate (Odia)
  Translated using Weblate (Tigrinya)
  Translated using Weblate (Odia)
  Added translation using Weblate (Tigrinya)
  Added translation using Weblate (Tigre)
  Import from YouTube history using JSON export (FreeTubeApp#2958)
  Translated using Weblate (Odia)
  ...

# Conflicts:
#	src/renderer/views/Watch/Watch.js
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