Skip to content

Commit

Permalink
Merge pull request #11351 from Stypox/update-npe
Browse files Browse the repository at this point in the history
Hotfix release v0.27.2
  • Loading branch information
Stypox authored Jul 25, 2024
2 parents 0f64158 + 03a6b5c commit 64a8f65
Show file tree
Hide file tree
Showing 29 changed files with 55 additions and 11 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ android {
resValue "string", "app_name", "NewPipe"
minSdk 21
targetSdk 33
versionCode 998
versionName "0.27.1"
versionCode 999
versionName "0.27.2"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

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

/** Checkstyle **/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import org.schabi.newpipe.extractor.utils.Utils;
import org.schabi.newpipe.util.ThemeHelper;

import java.io.UnsupportedEncodingException;

/*
* Created by beneth <[email protected]> on 06.12.16.
*
Expand Down Expand Up @@ -190,11 +188,10 @@ private void handleCookiesFromUrl(@Nullable final String url) {
String abuseCookie = url.substring(abuseStart + 13, abuseEnd);
abuseCookie = Utils.decodeUrlUtf8(abuseCookie);
handleCookies(abuseCookie);
} catch (UnsupportedEncodingException | StringIndexOutOfBoundsException e) {
} catch (IllegalArgumentException | StringIndexOutOfBoundsException e) {
if (MainActivity.DEBUG) {
e.printStackTrace();
Log.d(TAG, "handleCookiesFromUrl: invalid google abuse starting at "
+ abuseStart + " and ending at " + abuseEnd + " for url " + url);
Log.e(TAG, "handleCookiesFromUrl: invalid google abuse starting at "
+ abuseStart + " and ending at " + abuseEnd + " for url " + url, e);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URI;

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

try {
rawUri = decodeUrlUtf8(rawUri);
} catch (final UnsupportedEncodingException e) {
} catch (final IllegalArgumentException e) {
// nothing to do
}

Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/ar/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
تم إصلاح YouTube الذي لا يقوم بتشغيل أي دفق
1 change: 1 addition & 0 deletions fastlane/metadata/android/az/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
YouTube-un heç bir yayım oynatmaması düzəldildi
1 change: 1 addition & 0 deletions fastlane/metadata/android/cs/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Opraveno nepřehrávání jakéhokoli streamu ve službě YouTube
1 change: 1 addition & 0 deletions fastlane/metadata/android/de/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Behoben, dass YouTube keinen Stream abspielte
12 changes: 12 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
This hotfix release fixes HTTP 403 errors in the middle of YouTube videos.

New
• [SoundCloud] Add support for on.soundcloud.com URLs

Improved
• [Bandcamp] Show additional info in radio kiosk

Fixed
• [YouTube] Fix occasional HTTP 403 errors at the beginning or in the middle of videos
• [YouTube] Extract avatar and banner from more channel header types
• [Bandcamp] Fix various bugs and always use HTTPS
1 change: 1 addition & 0 deletions fastlane/metadata/android/es/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Arreglo en YouTube no reproduciendo flujos
1 change: 1 addition & 0 deletions fastlane/metadata/android/fa/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
مشکل عدم نمایش پخش‌زنده برطرف شد
1 change: 1 addition & 0 deletions fastlane/metadata/android/fr/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Correction de YouTube qui ne lisait aucun média
1 change: 1 addition & 0 deletions fastlane/metadata/android/he/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
תוקנה התקלה ש־YouTube לא מנגן אף תזרים
1 change: 1 addition & 0 deletions fastlane/metadata/android/hi/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
फिक्स्ड YouTube कोई स्ट्रीम नहीं चला रहा है
1 change: 1 addition & 0 deletions fastlane/metadata/android/id/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Memperbaiki YouTube yang tidak memutar streaming apa pun
12 changes: 12 additions & 0 deletions fastlane/metadata/android/it/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Questo aggiornamento hotfix risolve gli errori HTTP 403 nel mezzo dei video di YouTube.

Novità
• [SoundCloud] Aggiunto il supporto per gli URL on.soundcloud.com

Migliorie
• [Bandcamp] Mostra informazioni aggiuntive nel chiosco della radio

Correzioni
• [YouTube] Corretti errori HTTP 403 occasionali all'inizio o nel mezzo dei video
• [YouTube] Estrazione avatar e banner da più tipi di canali
• [Bandcamp] Risolti vari bug e forzato l'uso di HTTPS
1 change: 1 addition & 0 deletions fastlane/metadata/android/ka/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
გაასწორა YouTube არ უკრავს არცერთ ნაკადს
1 change: 1 addition & 0 deletions fastlane/metadata/android/nl/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
YouTube speelt geen stream af opgelost
1 change: 1 addition & 0 deletions fastlane/metadata/android/pa/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ਸਥਿਰ YouTube ਕੋਈ ਸਟ੍ਰੀਮ ਨਹੀਂ ਚਲਾ ਰਿਹਾ
1 change: 1 addition & 0 deletions fastlane/metadata/android/pt-BR/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Corrigido YouTube não reproduzir qualquer transmissão
1 change: 1 addition & 0 deletions fastlane/metadata/android/pt-PT/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Corrigido YouTube não reproduzir nenhuma transmissão
1 change: 1 addition & 0 deletions fastlane/metadata/android/pt/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Corrigido YouTube não reproduzir nenhuma transmissão
1 change: 1 addition & 0 deletions fastlane/metadata/android/ru/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Исправлено: YouTube не воспроизводил никакие потоки
1 change: 1 addition & 0 deletions fastlane/metadata/android/sv/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Åtgärdat att YouTube inte spelar någon stream
1 change: 1 addition & 0 deletions fastlane/metadata/android/tr/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
YouTube'un herhangi bir akışı oynatmaması düzeltildi
1 change: 1 addition & 0 deletions fastlane/metadata/android/uk/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Виправлено проблему невідтворюваності трансляцій
1 change: 1 addition & 0 deletions fastlane/metadata/android/vi/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Đã sửa lỗi YouTube không phát bất kỳ luồng nào
1 change: 1 addition & 0 deletions fastlane/metadata/android/zh-Hans/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
修复YouTube无法播放任何视频
1 change: 1 addition & 0 deletions fastlane/metadata/android/zh-Hant/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
修正 YouTube 無法播放任何串流
1 change: 1 addition & 0 deletions fastlane/metadata/android/zh_Hant_HK/changelogs/999.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
修正咗 YouTube 乜嘢實況串流都播唔到嘅問題

0 comments on commit 64a8f65

Please sign in to comment.