show mark as unwatched for mid progress items

This commit is contained in:
Amy Jeanes
2026-02-17 01:24:07 +00:00
parent 223a5d2219
commit 56b7cb842e
2 changed files with 15 additions and 3 deletions
+7
View File
@@ -382,6 +382,13 @@ class PlexMetadata with MultiServerFields {
return false;
}
/// Returns true if this item has started but not finished playback
/// Only applicable for individual items (movies, episodes)
bool get hasActiveProgress {
if (duration == null || viewOffset == null) return false;
return viewOffset! > 0 && viewOffset! < duration!;
}
// Helper to determine if content is watched
bool get isWatched {
// For series/seasons, check if all episodes are watched