Skip to content

[YouTube] Fix fetching item duration#74

Merged
ShareASmile merged 2 commits intoShareASmile:devfrom
G-flat:fix_fetching_yt_stream_info_item_lockup_duration
Apr 7, 2026
Merged

[YouTube] Fix fetching item duration#74
ShareASmile merged 2 commits intoShareASmile:devfrom
G-flat:fix_fetching_yt_stream_info_item_lockup_duration

Conversation

@ShareASmile
Copy link
Copy Markdown
Owner

@ShareASmile ShareASmile commented Apr 7, 2026

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

There's currently an A/B test where the names of the objects storing item durations can change, which causes YoutubeStreamInfoItemLockupExtractor.getDuration() to occasionally fail to fetch item durations. The thumbnailOverlayBadgeViewModel object can appear as thumbnailBottomOverlayViewModel, and when that happens, the thumbnailBadges array is renamed to badges.

@ShareASmile ShareASmile merged commit 387c47f into ShareASmile:dev Apr 7, 2026
1 check passed
Repository owner locked and limited conversation to collaborators Apr 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants