From 9b72634679da578499a740c582819f9c083c0860 Mon Sep 17 00:00:00 2001 From: muco-j98 Date: Mon, 28 Sep 2026 15:39:23 +0200 Subject: [PATCH] document includePartiallyPlayed parameter in FeedDAO --- .../main/java/org/schabi/newpipe/database/feed/dao/FeedDAO.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/org/schabi/newpipe/database/feed/dao/FeedDAO.kt b/app/src/main/java/org/schabi/newpipe/database/feed/dao/FeedDAO.kt index 5861fa767..0c5f1d34d 100644 --- a/app/src/main/java/org/schabi/newpipe/database/feed/dao/FeedDAO.kt +++ b/app/src/main/java/org/schabi/newpipe/database/feed/dao/FeedDAO.kt @@ -27,6 +27,10 @@ abstract class FeedDAO { * [FeedGroupEntity.GROUP_ALL_ID] to not filter by group * @param includePlayed if false, only return all of the live, never-played or non-finished * feed streams (see `@see` items); if true no filter is applied + * @param includePartiallyPlayed if false, exclude streams that have been partially + * played, keeping only never-played streams or streams whose + * playback position is within the start/end playback thresholds; + * if true, no partial-playback filter is applied * @param uploadDateBefore get only streams uploaded before this date (useful to filter out * future streams); use null to not filter by upload date * @return the feed streams filtered according to the conditions provided in the parameters