Skip to content

Commit 64a8f65

Browse files
authored
Merge pull request #11351 from Stypox/update-npe
Hotfix release v0.27.2
2 parents 0f64158 + 03a6b5c commit 64a8f65

29 files changed

Lines changed: 55 additions & 11 deletions

File tree

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ android {
2020
resValue "string", "app_name", "NewPipe"
2121
minSdk 21
2222
targetSdk 33
23-
versionCode 998
24-
versionName "0.27.1"
23+
versionCode 999
24+
versionName "0.27.2"
2525

2626
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2727

@@ -198,7 +198,7 @@ dependencies {
198198
// name and the commit hash with the commit hash of the (pushed) commit you want to test
199199
// This works thanks to JitPack: https://jitpack.io/
200200
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
201-
implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.24.1'
201+
implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.24.2'
202202
implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0'
203203

204204
/** Checkstyle **/

app/src/main/java/org/schabi/newpipe/error/ReCaptchaActivity.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
import org.schabi.newpipe.extractor.utils.Utils;
2828
import org.schabi.newpipe.util.ThemeHelper;
2929

30-
import java.io.UnsupportedEncodingException;
31-
3230
/*
3331
* Created by beneth <bmauduit@beneth.fr> on 06.12.16.
3432
*
@@ -190,11 +188,10 @@ private void handleCookiesFromUrl(@Nullable final String url) {
190188
String abuseCookie = url.substring(abuseStart + 13, abuseEnd);
191189
abuseCookie = Utils.decodeUrlUtf8(abuseCookie);
192190
handleCookies(abuseCookie);
193-
} catch (UnsupportedEncodingException | StringIndexOutOfBoundsException e) {
191+
} catch (IllegalArgumentException | StringIndexOutOfBoundsException e) {
194192
if (MainActivity.DEBUG) {
195-
e.printStackTrace();
196-
Log.d(TAG, "handleCookiesFromUrl: invalid google abuse starting at "
197-
+ abuseStart + " and ending at " + abuseEnd + " for url " + url);
193+
Log.e(TAG, "handleCookiesFromUrl: invalid google abuse starting at "
194+
+ abuseStart + " and ending at " + abuseEnd + " for url " + url, e);
198195
}
199196
}
200197
}

app/src/main/java/org/schabi/newpipe/settings/DownloadSettingsFragment.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131
import java.io.File;
3232
import java.io.IOException;
33-
import java.io.UnsupportedEncodingException;
3433
import java.net.URI;
3534

3635
public class DownloadSettingsFragment extends BasePreferenceFragment {
@@ -125,7 +124,7 @@ private void showPathInSummary(final String prefKey, @StringRes final int defaul
125124

126125
try {
127126
rawUri = decodeUrlUtf8(rawUri);
128-
} catch (final UnsupportedEncodingException e) {
127+
} catch (final IllegalArgumentException e) {
129128
// nothing to do
130129
}
131130

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
تم إصلاح YouTube الذي لا يقوم بتشغيل أي دفق
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
YouTube-un heç bir yayım oynatmaması düzəldildi
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Opraveno nepřehrávání jakéhokoli streamu ve službě YouTube
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Behoben, dass YouTube keinen Stream abspielte
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
This hotfix release fixes HTTP 403 errors in the middle of YouTube videos.
2+
3+
New
4+
• [SoundCloud] Add support for on.soundcloud.com URLs
5+
6+
Improved
7+
• [Bandcamp] Show additional info in radio kiosk
8+
9+
Fixed
10+
• [YouTube] Fix occasional HTTP 403 errors at the beginning or in the middle of videos
11+
• [YouTube] Extract avatar and banner from more channel header types
12+
• [Bandcamp] Fix various bugs and always use HTTPS
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Arreglo en YouTube no reproduciendo flujos
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
مشکل عدم نمایش پخش‌زنده برطرف شد

0 commit comments

Comments
 (0)