Repository navigation
fix(files): fetch the HLS manifest with the account download token - #185
Conversation
The HLS master playlist is a media request, so it carries the account download token, never the OAuth access token. @putdotio/sdk 17 makes getHlsMasterPlaylist require it; `files hls-manifest` now reads it from account info and passes it through. The `sdk` passthrough schema for files.getHlsMasterPlaylist requires downloadToken to match.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d8bb0bed47
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
sdk call output redacts download_token, so callers had no way to pass it. Keeps files.getHlsMasterPlaylist working with [id] as before.
## [1.10.7](v1.10.6...v1.10.7) (2026-11-21) ### Bug Fixes * **files:** fetch the HLS manifest with the account download token ([#185](#185)) ([79500e7](79500e7))
|
🎉 This PR is included in version 1.10.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
putio files hls-manifestnow sends the account download token on the playlist request, not the OAuth token.GET /v2/account/info?download_token=1GET /v2/files/{id}/hls/media.m3u8@putdotio/sdkto 17.0.0.putio sdk callfetches the download token for media operations that omitdownloadToken, sofiles.getHlsMasterPlaylist [id]keeps working.Verification
Live on the test account via a logging proxy: this branch sends the download token (200),
mainthe OAuth token. No token: 401.Notes
Not verified: the standalone SEA binary.