-
-
Notifications
You must be signed in to change notification settings - Fork 498
Fix tests and cleanup other stuff #1277
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
Merged
Merged
Changes from 33 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
f0ed76c
Implement rate-limiting
litetex 6e82a80
Disabled age restricted test as it's currently not working
litetex ddc7f3e
Fix unexpected error due to malformed url
litetex ee7d8b0
Channel has a new name
litetex 451bb13
YouTube channel mixes no longer exist
litetex 51586c0
Disable YT Shorts UI
litetex 271a465
Add missing override annotations
litetex d746d1b
Disable irrelevant test
litetex 61ef169
Fix code style
litetex 1a9df85
MetaInfo Search is was removed or there is none active anymore
litetex f1b9098
Remove outdated comment
litetex e1b94c4
Move into dedicated package
litetex c892cfa
Fix PeerTube tests
litetex ad5ca4e
Backport/Sync code from NewPipe implementation
litetex 12e2145
Update gradle
litetex 351174a
Enforce modern TLS1.2+
litetex 460e0f7
Update test dependencies
litetex 9f94a29
Remove recording retry/throttle as this is now handled in a more gene…
litetex 59a2f1a
No random errors
litetex 1966ad1
Use new Bandcamp autocomplete api
litetex fa99003
Fix duplicated ;
litetex ee6bc84
Re-Enable test as it's no longer broken
litetex 25e4a6f
YT: Suggestion test is working again
litetex 4d7df14
Fix YT artist getSubscriberCount extraction
litetex 287123b
Add rate limiter with default cold factor
litetex cf5df3f
Improve rate limiting
litetex 1772624
Make all YT tests in MOCK mode use mock data
litetex 3b34b82
Downloader: Don't force IOException
litetex 69d5bf2
YouTube 100% Mock coverage
litetex daac243
Use camelCase
litetex 2f2e2df
Add recorded mock data
litetex 4c3918a
Removed unused code
litetex d9caa90
Fix okhttp deprecation
litetex 3ad9f17
Revert potentially breaking change
litetex e408124
Improve documentation
litetex File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 0 additions & 73 deletions
73
extractor/src/main/java/org/schabi/newpipe/extractor/utils/ProtoBuilder.java
AudricV marked this conversation as resolved.
Show resolved
Hide resolved
|
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Are you really sure that channel mixes are gone? Even if they are gone from tests, maybe they aren't on the whole platform. This concept may be applicable to other services too.
This is a breaking change, this should precised in the PR description, so you're also required to add if you tested the changes in NewPipe and if you want to make a PR in the app repo to fix breaking changes, if applicable (from the PR template).
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.
Yeah it might make sense to keep the code, you never know if YouTube might readd them
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.
I just now noticed that this is inside
org.schabi.newpipe.extractor.playlistand not in insideyoutube. Thought it was inyoutube(because these mix type only exist for YT and nothing else).I will reintroduce the enum but deprecate it.
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.
Yes for around 7-8 months.
See description of 451bb13
I think it has no sense to keep unused code around as it only creates a maintenance burden.
One can also still get it from the git history if really needed ;)