Local API: Add PO tokens to the caption URLs#7484
Merged
FreeTubeBot merged 1 commit intoFreeTubeApp:developmentfrom May 29, 2025
Merged
Local API: Add PO tokens to the caption URLs#7484FreeTubeBot merged 1 commit intoFreeTubeApp:developmentfrom
FreeTubeBot merged 1 commit intoFreeTubeApp:developmentfrom
Conversation
ChunkyProgrammer
approved these changes
May 29, 2025
efb4f5ff-1298-471a-8973-3d47447115dc
approved these changes
May 29, 2025
PikachuEXE
approved these changes
May 29, 2025
PikachuEXE
added a commit
to PikachuEXE/FreeTube
that referenced
this pull request
May 31, 2025
…rrent * fix/open-input-url-in-new-window: ! Fix opening URL in a new window restores main window (in Windows) Translated using Weblate (Danish) Translated using Weblate (Japanese) Fix parsing grid channels without a subscriber count (FreeTubeApp#7486) Local API: Add PO tokens to the caption URLs (FreeTubeApp#7484) Add preload script and disable node integration in renderer processes (FreeTubeApp#7424)
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
Open
9 tasks
This was referenced Jan 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Type
Related issue
Description
YouTube has started requiring PO tokens on the caption/subtitle URLs and if you don't provide one they return a 200 response code but with an empty response, which makes shaka-player throw an
INVALID_TEXT_HEADERerror. Most users will only notice this because the subtitles won't show up but sometimes this seems to cause problems with navigating to the next video.This pull request adds the content/video ID based PO token to the captions URL, the same one that is used for the
/playerrequest.Screenshots
See linked issue for a screenshot of the error message.
Testing
Desktop