Merge pull request #11351 from Stypox/update-npe

Hotfix release v0.27.2
This commit is contained in:
Stypox 2024-07-25 19:30:05 +02:00 committed by GitHub
commit 64a8f6575b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 55 additions and 11 deletions

View file

@ -20,8 +20,8 @@ android {
resValue "string", "app_name", "NewPipe" resValue "string", "app_name", "NewPipe"
minSdk 21 minSdk 21
targetSdk 33 targetSdk 33
versionCode 998 versionCode 999
versionName "0.27.1" versionName "0.27.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@ -198,7 +198,7 @@ dependencies {
// name and the commit hash with the commit hash of the (pushed) commit you want to test // 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/ // This works thanks to JitPack: https://jitpack.io/
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751' 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' implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0'
/** Checkstyle **/ /** Checkstyle **/

View file

@ -27,8 +27,6 @@ import org.schabi.newpipe.databinding.ActivityRecaptchaBinding;
import org.schabi.newpipe.extractor.utils.Utils; import org.schabi.newpipe.extractor.utils.Utils;
import org.schabi.newpipe.util.ThemeHelper; import org.schabi.newpipe.util.ThemeHelper;
import java.io.UnsupportedEncodingException;
/* /*
* Created by beneth <bmauduit@beneth.fr> on 06.12.16. * Created by beneth <bmauduit@beneth.fr> on 06.12.16.
* *
@ -190,11 +188,10 @@ public class ReCaptchaActivity extends AppCompatActivity {
String abuseCookie = url.substring(abuseStart + 13, abuseEnd); String abuseCookie = url.substring(abuseStart + 13, abuseEnd);
abuseCookie = Utils.decodeUrlUtf8(abuseCookie); abuseCookie = Utils.decodeUrlUtf8(abuseCookie);
handleCookies(abuseCookie); handleCookies(abuseCookie);
} catch (UnsupportedEncodingException | StringIndexOutOfBoundsException e) { } catch (IllegalArgumentException | StringIndexOutOfBoundsException e) {
if (MainActivity.DEBUG) { if (MainActivity.DEBUG) {
e.printStackTrace(); Log.e(TAG, "handleCookiesFromUrl: invalid google abuse starting at "
Log.d(TAG, "handleCookiesFromUrl: invalid google abuse starting at " + abuseStart + " and ending at " + abuseEnd + " for url " + url, e);
+ abuseStart + " and ending at " + abuseEnd + " for url " + url);
} }
} }
} }

View file

@ -30,7 +30,6 @@ import org.schabi.newpipe.util.FilePickerActivityHelper;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URI; import java.net.URI;
public class DownloadSettingsFragment extends BasePreferenceFragment { public class DownloadSettingsFragment extends BasePreferenceFragment {
@ -125,7 +124,7 @@ public class DownloadSettingsFragment extends BasePreferenceFragment {
try { try {
rawUri = decodeUrlUtf8(rawUri); rawUri = decodeUrlUtf8(rawUri);
} catch (final UnsupportedEncodingException e) { } catch (final IllegalArgumentException e) {
// nothing to do // nothing to do
} }

View file

@ -0,0 +1 @@
تم إصلاح YouTube الذي لا يقوم بتشغيل أي دفق

View file

@ -0,0 +1 @@
YouTube-un heç bir yayım oynatmaması düzəldildi

View file

@ -0,0 +1 @@
Opraveno nepřehrávání jakéhokoli streamu ve službě YouTube

View file

@ -0,0 +1 @@
Behoben, dass YouTube keinen Stream abspielte

View file

@ -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

View file

@ -0,0 +1 @@
Arreglo en YouTube no reproduciendo flujos

View file

@ -0,0 +1 @@
مشکل عدم نمایش پخش‌زنده برطرف شد

View file

@ -0,0 +1 @@
Correction de YouTube qui ne lisait aucun média

View file

@ -0,0 +1 @@
תוקנה התקלה ש־YouTube לא מנגן אף תזרים

View file

@ -0,0 +1 @@
फिक्स्ड YouTube कोई स्ट्रीम नहीं चला रहा है

View file

@ -0,0 +1 @@
Memperbaiki YouTube yang tidak memutar streaming apa pun

View file

@ -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

View file

@ -0,0 +1 @@
გაასწორა YouTube არ უკრავს არცერთ ნაკადს

View file

@ -0,0 +1 @@
YouTube speelt geen stream af opgelost

View file

@ -0,0 +1 @@
ਸਥਿਰ YouTube ਕੋਈ ਸਟ੍ਰੀਮ ਨਹੀਂ ਚਲਾ ਰਿਹਾ

View file

@ -0,0 +1 @@
Corrigido YouTube não reproduzir qualquer transmissão

View file

@ -0,0 +1 @@
Corrigido YouTube não reproduzir nenhuma transmissão

View file

@ -0,0 +1 @@
Corrigido YouTube não reproduzir nenhuma transmissão

View file

@ -0,0 +1 @@
Исправлено: YouTube не воспроизводил никакие потоки

View file

@ -0,0 +1 @@
Åtgärdat att YouTube inte spelar någon stream

View file

@ -0,0 +1 @@
YouTube'un herhangi bir akışı oynatmaması düzeltildi

View file

@ -0,0 +1 @@
Виправлено проблему невідтворюваності трансляцій

View file

@ -0,0 +1 @@
Đã sửa lỗi YouTube không phát bất kỳ luồng nào

View file

@ -0,0 +1 @@
修复YouTube无法播放任何视频

View file

@ -0,0 +1 @@
修正 YouTube 無法播放任何串流

View file

@ -0,0 +1 @@
修正咗 YouTube 乜嘢實況串流都播唔到嘅問題