Skip to content

Conversation

AudricV
Copy link
Member

@AudricV AudricV commented May 6, 2025

This PR fixes NullPointerExceptions when an adapative format has no stream URL available, which is the case for SABR-only YouTube player responses, rolled out for the WEB client (almost?) completely. This caused the extractor to crash, as no null handling for URLs was made.

TVHTML5 client usage for streaming has been also removed for now, as signatures extraction of HTML5 clients is currently broken (WEB_EMBEDDED_PLAYER fallback for age-restricted video is still done but won't work).

Stream mocks need to be updated.

Fixes TeamNewPipe/NewPipe#12126, fixes TeamNewPipe/NewPipe#12134.

@AudricV AudricV added bug Issue is related to a bug ASAP Issue needs to be fixed as soon as possible youtube service, https://www.youtube.com/ labels May 6, 2025
@TeamNewPipe TeamNewPipe locked and limited conversation to collaborators May 6, 2025
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I built and tested NewPipe and it works as a temporary solution, thanks!

@Stypox Stypox merged commit 37a0847 into TeamNewPipe:dev May 7, 2025
3 of 4 checks passed
@AudricV AudricV deleted the yt_fix-streams-sabr-npe branch May 7, 2025 10:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug youtube service, https://www.youtube.com/

Projects

None yet

2 participants