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

Remove OPUS HLS streams from playable streams #10579

Merged

Conversation

AudricV
Copy link
Member

@AudricV AudricV commented Nov 15, 2023

What is it?

  • Bugfix (user facing)
  • Codebase improvement (dev facing)

Description of the changes in your PR

This PR removes OPUS HLS streams from playable streams. This format is not supported by ExoPlayer when returned as HLS streams, so we can't play streams using this format and this delivery method.

It also improves the Javadoc of ListHelper.getPlayableStreams.

Fixes the following issue(s)

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. You can find more info and a video demonstration on this wiki page.

Due diligence

This format is not supported by ExoPlayer when returned as HLS streams, so we
can't play streams using this format and this delivery method.

Also improve the Javadoc of ListHelper.getPlayableStreams.
@AudricV AudricV added bug Issue is related to a bug player Issues related to any player (main, popup and background) labels Nov 15, 2023
Copy link

sonarcloud bot commented Nov 15, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

I checked other places where TORRENT is filtered out and the two places where you made changes seem the only ones that require it. I tested according to #9227 (comment) and it crashed on the older version, while with this PR it doesn't crash anymore. Thank you!
image

@Stypox Stypox merged commit bf8890b into TeamNewPipe:dev Nov 16, 2023
8 of 10 checks passed
@AudricV AudricV deleted the exclude-hls-opus-streams-for-playback branch November 16, 2023 08:23
@Stypox Stypox mentioned this pull request Nov 16, 2023
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug player Issues related to any player (main, popup and background)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Soundcloud doesn't load any songs
2 participants