From b91145ecaef86604ae7388e15dc169d8c7e660f0 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Thu, 7 Apr 2016 15:13:05 +0200 Subject: [PATCH] Fix TV On Deck view and entire shows as watched - Playcount was set to 0, not NULL/None in Kodi Database --- resources/lib/PlexAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/PlexAPI.py b/resources/lib/PlexAPI.py index c831a5c1..31803e3c 100644 --- a/resources/lib/PlexAPI.py +++ b/resources/lib/PlexAPI.py @@ -1278,7 +1278,7 @@ class API(): try: playcount = int(item['viewCount']) except: - playcount = 0 + playcount = None if playcount: played = True