Skip to content

[YouTube] Fallback to avatarThumbnailUrl for comment thumbnails - #1525

Merged
TobiGr merged 1 commit into
TeamNewPipe:devfrom
FineFindus:fix/channel-comment-thumbnails
Jul 29, 2026
Merged

[YouTube] Fallback to avatarThumbnailUrl for comment thumbnails#1525
TobiGr merged 1 commit into
TeamNewPipe:devfrom
FineFindus:fix/channel-comment-thumbnails

Conversation

@FineFindus

@FineFindus FineFindus commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Fixes an issue, where the comment payload does not contain the avatar object, and therefore the channel thumbnail is not extracted. This is currently in an A/B test, so it' doesn't happen every time.

Closes: libre-tube/LibreTube#8619.
Closes: TeamNewPipe/NewPipe#13731

  • 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.

I know this probably requires regenerating the mocks, but I spend >30 minutes fighting with gradle, so at this point it's a take-it-or-leave-it situation :)

Comment on lines +175 to +176
88,
88,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I hardcoded the size, as all avatars appear to by 88x88, but I'm happy to change it to UNKOWN instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be good to have some kind of automated check / test that checks the hard-coded values from time to time. I think we do not need to implement it in this PR. Can be moved into a separate issue because it's not blocking.

@FineFindus
FineFindus marked this pull request as draft July 27, 2026 20:23
@AudricV AudricV added bug Issue or PR is related to a bug YouTube Service, https://www.youtube.com/ labels Jul 28, 2026
@FineFindus
FineFindus force-pushed the fix/channel-comment-thumbnails branch from a10b78f to 88ad04f Compare July 28, 2026 17:46
@FineFindus
FineFindus marked this pull request as ready for review July 28, 2026 17:46
@sonarqubecloud

Copy link
Copy Markdown

@TobiGr TobiGr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you

@TobiGr
TobiGr merged commit e1853be into TeamNewPipe:dev Jul 29, 2026
2 of 3 checks passed
@FineFindus
FineFindus deleted the fix/channel-comment-thumbnails branch July 29, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue or PR is related to a bug YouTube Service, https://www.youtube.com/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 more bugs in v0.29.0 besides live stream Author's channel thumbnails not always load in comment section

3 participants