-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Update ExoPlayer to 2.18.0 #8536
Conversation
You might have had some rebasing issues, since some of the changes are unrelated and undo some details of #8153 |
e51dbed
to
0a59947
Compare
I always keep my branches up-to-date; it simply looks like some PRs were merged while I was initially making this PR. No rebasing issues here! I have updated the PR. All changes in this PR are to fix new ExoPlayer deprecations. I have double checked them to be sure. I have also updated the YoutubeHttpDataSource note to 2.18.0 (there were no real changes in upstream). Just as a note, this class will need to be kept up-to-date with future upstream changes if (and inevitably when) they occur. |
0a59947
to
1404581
Compare
thank you for the PR! Please make sure that we opt out of the diagnostics with ExoPlayer.Builder.setUsePlatformDiagnostics(false) around line 515 |
Done 👍 |
Kudos, SonarCloud Quality Gate passed! |
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.
Tested Play, Pause, Mediabutton, Subtitles. Looks all good to me. Thanks again
app/src/main/java/org/schabi/newpipe/player/datasource/YoutubeHttpDataSource.java
Show resolved
Hide resolved
Will this be a potential issue?: google/ExoPlayer#10381 |
It could, but we will probably have time to update to the next version before the next NewPipe release, so it shouldn't be a problem. |
Mm, hopefully. |
What is it?
Description of the changes in your PR
I tested on my device and everything seemed to work fine. Feel free to test yourselves, though.
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence