Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YouTube] Add a comment clarifying why the panelIdentfier can be null #802

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

TobiGr
Copy link
Contributor

@TobiGr TobiGr commented Feb 18, 2022

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

Follow up of #797

@TobiGr TobiGr force-pushed the fix/npe-stream-segments branch from 3aae121 to b8a6d51 Compare February 18, 2022 18:49
@@ -1269,6 +1269,8 @@ public Locale getLanguageInfo() {

// Search for correct panel containing the data
for (int i = 0; i < panels.size(); i++) {
// panelIdentifier might be null if the panel has something to do with ads
// See https://github.com/TeamNewPipe/NewPipe/issues/7792#issuecomment-1030900188
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe move this to before the if statement? I'm not really sure though, so you can choose whichever you want.

@TobiGr TobiGr force-pushed the fix/npe-stream-segments branch from b8a6d51 to b37177e Compare February 18, 2022 19:22
@TobiGr TobiGr merged commit d337e53 into dev Feb 18, 2022
@TobiGr TobiGr deleted the fix/npe-stream-segments branch February 18, 2022 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants