Compare commits

...

7 commits

Author SHA1 Message Date
37726bbf84
Update Email and urls
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2024-07-12 09:27:42 +05:30
90535526e8
Merge branch 'master' of https://github.com/TeamNewPipe/NewPipe into sponsorblock 2024-07-12 09:20:46 +05:30
Stypox
0f64158469
Hotfix release v0.27.1 (998) 2024-07-11 23:41:53 +02:00
Stypox
acc5be92ac
Add changelogs for hotfix release v0.27.1 (998) 2024-07-11 23:39:53 +02:00
Stypox
0e0cee1bce
Update NewPipeExtractor to v0.24.1 2024-07-11 23:27:26 +02:00
Stypox
6f71c000ad
Merge pull request #11261 from Stypox/fix-media-session-ui-npe
Fix crash in MediaSessionPlayerUi while destroying player
2024-07-11 23:17:43 +02:00
Stypox
9f766ebf78
Fix NPE in MediaSessionPlayerUi while destroying player 2024-07-11 09:41:33 +02:00
30 changed files with 45 additions and 6 deletions

View file

@ -8,7 +8,7 @@ The implementation is still a bit basic but it generally works pretty well.
## How can I get this? ## How can I get this?
Builds will be uploaded in the [Releases](https://git.baalajimaestro.me/baalajimaestro/NewPipe/releases) section. Please download the APK from the newest release and install it on your device. Builds will be uploaded in the [Releases](https://git.ptr.moe/baalajimaestro/NewPipe/releases) section. Please download the APK from the newest release and install it on your device.
## Why isn't this in upstream NewPipe? ## Why isn't this in upstream NewPipe?
[The developer team](https://github.com/TeamNewPipe) behind the official NewPipe decided that they do not want to include these kinds of functionality in their app. See https://newpipe.schabi.org/blog/pinned/newpipe-and-online-advertising/, https://github.com/TeamNewPipe/NewPipe/pull/3205, and https://github.com/TeamNewPipe/NewPipe/issues/7469 for more information and discussion. [The developer team](https://github.com/TeamNewPipe) behind the official NewPipe decided that they do not want to include these kinds of functionality in their app. See https://newpipe.schabi.org/blog/pinned/newpipe-and-online-advertising/, https://github.com/TeamNewPipe/NewPipe/pull/3205, and https://github.com/TeamNewPipe/NewPipe/issues/7469 for more information and discussion.

View file

@ -20,8 +20,8 @@ android {
resValue "string", "app_name", "NewPipe SponsorBlock" resValue "string", "app_name", "NewPipe SponsorBlock"
minSdk 21 minSdk 21
targetSdk 33 targetSdk 33
versionCode 997 versionCode 998
versionName "0.27.0" versionName "0.27.1"
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.0' implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.24.1'
implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0' implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0'
/** Checkstyle **/ /** Checkstyle **/

View file

@ -64,11 +64,11 @@ public class ErrorActivity extends AppCompatActivity {
// BUNDLE TAGS // BUNDLE TAGS
public static final String ERROR_INFO = "error_info"; public static final String ERROR_INFO = "error_info";
public static final String ERROR_EMAIL_ADDRESS = "me@baalajimaestro.me"; public static final String ERROR_EMAIL_ADDRESS = "newpipesponsorblock@aol.com";
public static final String ERROR_EMAIL_SUBJECT = "Exception in "; public static final String ERROR_EMAIL_SUBJECT = "Exception in ";
public static final String ERROR_GITHUB_ISSUE_URL = public static final String ERROR_GITHUB_ISSUE_URL =
"https://git.baalajimaestro.me/baalajimaestro/NewPipe"; "https://git.ptr.moe/baalajimaestro/NewPipe";
public static final DateTimeFormatter CURRENT_TIMESTAMP_FORMATTER = public static final DateTimeFormatter CURRENT_TIMESTAMP_FORMATTER =
DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm"); DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm");

View file

@ -38,7 +38,9 @@ public class MediaSessionPlayerUi extends PlayerUi
implements SharedPreferences.OnSharedPreferenceChangeListener { implements SharedPreferences.OnSharedPreferenceChangeListener {
private static final String TAG = "MediaSessUi"; private static final String TAG = "MediaSessUi";
@Nullable
private MediaSessionCompat mediaSession; private MediaSessionCompat mediaSession;
@Nullable
private MediaSessionConnector sessionConnector; private MediaSessionConnector sessionConnector;
private final String ignoreHardwareMediaButtonsKey; private final String ignoreHardwareMediaButtonsKey;
@ -198,6 +200,11 @@ public class MediaSessionPlayerUi extends PlayerUi
return; return;
} }
if (sessionConnector == null) {
// sessionConnector will be null after destroyPlayer is called
return;
}
// only use the fourth and fifth actions (the settings page also shows only the last 2 on // only use the fourth and fifth actions (the settings page also shows only the last 2 on
// Android 13+) // Android 13+)
final List<NotificationActionData> newNotificationActions = IntStream.of(3, 4) final List<NotificationActionData> newNotificationActions = IntStream.of(3, 4)

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,4 @@
Fixed YouTube not playing any stream because of HTTP 403 errors.
Occasional HTTP 403 errors in the middle of a YouTube video are not fixed yet.
That issue will be addressed in another hotfix release as soon as possible.

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,4 @@
Corretto problema di riproduzione di YouTube causato da errori HTTP 403.
Gli errori HTTP 403 saltuari nel mezzo di un video di YouTube non sono ancora stati sistemati.
Questo problema sarà affrontato in un altra release hotfix non appena possibile.

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 乜嘢實況串流都播唔到嘅問題