From 08b7da4b2bbd5bc655c20aee3b6396f41fee2204 Mon Sep 17 00:00:00 2001 From: "Yevhen Babiichuk (DustDFG)" Date: Fri, 30 Jan 2026 15:41:19 +0200 Subject: [PATCH 1/2] Accomodate extractor changes (EnumSet for service media capabilities) --- app/src/main/java/org/schabi/newpipe/RouterActivity.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/RouterActivity.java b/app/src/main/java/org/schabi/newpipe/RouterActivity.java index d85fdf7de..2997f937f 100644 --- a/app/src/main/java/org/schabi/newpipe/RouterActivity.java +++ b/app/src/main/java/org/schabi/newpipe/RouterActivity.java @@ -343,8 +343,7 @@ public class RouterActivity extends AppCompatActivity { return; } - final List capabilities = - currentService.getServiceInfo().getMediaCapabilities(); + final var capabilities = currentService.getServiceInfo().getMediaCapabilities(); // Check if the service supports the choice if ((isVideoPlayerSelected && capabilities.contains(VIDEO)) @@ -528,8 +527,7 @@ public class RouterActivity extends AppCompatActivity { final List returnedItems = new ArrayList<>(); returnedItems.add(showInfo); // Always present - final List capabilities = - service.getServiceInfo().getMediaCapabilities(); + final var capabilities = service.getServiceInfo().getMediaCapabilities(); if (linkType == LinkType.STREAM || linkType == LinkType.PLAYLIST) { if (capabilities.contains(VIDEO)) { From 63e19890bfb19bbff419f4068d7522e845588e36 Mon Sep 17 00:00:00 2001 From: tobigr Date: Sat, 21 Feb 2026 17:00:05 +0100 Subject: [PATCH 2/2] Update extractor to the latest version --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 944a059e8..14246cfd0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -59,7 +59,7 @@ teamnewpipe-nanojson = "e9d656ddb49a412a5a0a5d5ef20ca7ef09549996" # the corresponding commit hash, since JitPack sometimes deletes artifacts. # If there’s already a git hash, just add more of it to the end (or remove a letter) # to cause jitpack to regenerate the artifact. -teamnewpipe-newpipe-extractor = "v0.25.2" +teamnewpipe-newpipe-extractor = "824486dfdf4e9ba0fbe820bc2938f9101ae739a6" viewpager2 = "1.1.0" webkit = "1.14.0" # Newer versions require minSdk >= 23 work = "2.10.5" # Newer versions require minSdk >= 23