Skip to content

[YouTube Music] Fix extracting search item view/subscriber count when = 0#528

Merged
TobiGr merged 1 commit intoTeamNewPipe:devfrom
Stypox:ytmusic-0
Jan 29, 2021
Merged

[YouTube Music] Fix extracting search item view/subscriber count when = 0#528
TobiGr merged 1 commit intoTeamNewPipe:devfrom
Stypox:ytmusic-0

Conversation

@Stypox
Copy link
Copy Markdown
Member

@Stypox Stypox commented Jan 27, 2021

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

Fixes the comment TeamNewPipe/NewPipe#5455 (comment)

@Stypox Stypox mentioned this pull request Jan 27, 2021
14 tasks
.value("query", getSearchString())
.value("params", params)
.end().done().getBytes("UTF-8");
.end().done().getBytes(StandardCharsets.UTF_8);
Copy link
Copy Markdown
Contributor

@TobiGr TobiGr Jan 27, 2021

Choose a reason for hiding this comment

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

Is that going to break compatibility with the legacy version?
Or can we use that safely, because this is a precoompiled lib?
StandardCharset were added with API 19 to Android: https://developer.android.com/reference/java/nio/charset/StandardCharsets

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh, I have no idea, I can revert that commit if needed

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.

See #269
We should remove the other occurencies of that class, too.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There's an issue to provide a backport: https://issuetracker.google.com/issues/169047771

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Reverted @TobiGr

Copy link
Copy Markdown
Contributor

@TobiGr TobiGr Jan 29, 2021

Choose a reason for hiding this comment

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

thanks. I searched for that class, but only found an unused import (see d728c4f).

@TobiGr TobiGr merged commit bfa6399 into TeamNewPipe:dev Jan 29, 2021
@TobiGr TobiGr added bug Issue or PR is related to a bug YouTube Service, https://www.youtube.com/ labels Jan 29, 2021
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 participants