-
Notifications
You must be signed in to change notification settings - Fork 417
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 Music] Fix extracting search item view/subscriber count when = 0 #528
Conversation
@@ -105,7 +108,7 @@ public void onFetchPage(@Nonnull final Downloader downloader) throws IOException | |||
.end() | |||
.value("query", getSearchString()) | |||
.value("params", params) | |||
.end().done().getBytes("UTF-8"); | |||
.end().done().getBytes(StandardCharsets.UTF_8); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted @TobiGr
There was a problem hiding this comment.
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).
Fixes the comment TeamNewPipe/NewPipe#5455 (comment)