Commits (14)
-
TiA4f8R authored
Add GeographicRestrictionException and SoundCloudGoPlusException in NewPipe Extractor to be able to display different error messages This commit adds two new exceptions in NewPipe Extractor: GeographicRestrictionException and SoundCloudGoPlusException (which extend to ContentNotAvailableException). These exceptions allow showing different error messages to user when a content isn't available in his/her/its country (only used for now by SoundCloudStreamExtractor) or when the content is a SoundCloud Go+ track.
35325d98 -
TiA4f8R authored
These exceptions are thrown on a test with the error messages text, because YouTube returns only "UNPLAYABLE" status in most error cases. Tests are based with English strings, so changing the lang used by extractor will throw the generic exception (ContentNotAvailableException).
771bb1a2 -
TiA4f8R authored39252046
-
TiA4f8R authored59d6d3f0
-
TiA4f8R authored4e45aef2
-
TiA4f8R authoredf15d7837
-
TobiGr authored
Also check if related streams are empty if they are expected to be empty.
21158744 -
TobiGr authored
The ContentNotSupportedException is thrown because no supported audio streams where extracted. However, SoundCLoud does not check, whether there are any streams available. This commit should be reverted in #526
22e6f33f -
TiA4f8R authored
AgeRestrictedException will be thrown only if the reason message equals to "Sign in to confirm your age" and if the age limit is 18.
448b6870 -
TobiGr authoredda3cfa96
-
TiA4f8R authored890cbba6
-
TobiGr authoredd0a1041a
-
TiA4f8R authored
Use final where possible in YoutubeStreamExtractor and do some other code style improvements
e55284bb -
Tobi authored
Add new exceptions to be able to display different error messages in apps
7e6f4644
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.