From c92fbd38bb4539857f15d6982574bde498c7c1d0 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Fri, 17 Dec 2021 19:38:51 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20Segna=20come=20gi=C3=A0=20visto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformcode/xbmc_videolibrary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformcode/xbmc_videolibrary.py b/platformcode/xbmc_videolibrary.py index b897b6f8..ca43bfad 100644 --- a/platformcode/xbmc_videolibrary.py +++ b/platformcode/xbmc_videolibrary.py @@ -57,7 +57,7 @@ def mark_auto_as_watched(item): difference = total_time - actual_time # Mark as Watched - if actual_time > mark_time and not marked: + if mark_time and total_time > actual_time > mark_time and not marked: logger.info("Marked as Watched") item.playcount = 1 marked = True