From b029679f6737e1668087ad3096db760571dc6323 Mon Sep 17 00:00:00 2001 From: FineFindus Date: Sun, 2 Mar 2025 13:30:20 +0100 Subject: [PATCH] fix: filter members-only videos from feeds YouTube has started to mix members-only videos into the normal videos in the Videos tab. This filters them, as they cannot be watched without an account, leading to clutter in the feed. Requires https://github.com/TeamNewPipe/NewPipeExtractor/pull/1280. Closes: https://github.com/TeamNewPipe/NewPipe/issues/12011 Closes: https://github.com/TeamNewPipe/NewPipe/issues/12040 --- .../org/schabi/newpipe/local/feed/service/FeedLoadManager.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/schabi/newpipe/local/feed/service/FeedLoadManager.kt b/app/src/main/java/org/schabi/newpipe/local/feed/service/FeedLoadManager.kt index 9b0f177d568..2ee6d20f0c2 100644 --- a/app/src/main/java/org/schabi/newpipe/local/feed/service/FeedLoadManager.kt +++ b/app/src/main/java/org/schabi/newpipe/local/feed/service/FeedLoadManager.kt @@ -227,6 +227,7 @@ class FeedLoadManager(private val context: Context) { } } .filterIsInstance() + .filter { !it.requiresMembership() } } return Notification.createOnNext(