From e222525d1414a44789b0cf5e39f37f50c93e6abf Mon Sep 17 00:00:00 2001 From: Blacktwin Date: Tue, 18 Dec 2018 10:27:02 -0500 Subject: [PATCH] if con_watch is defined by viewOffset then so should On Deck. --- utility/off_deck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/off_deck.py b/utility/off_deck.py index 12d5d2e..090634a 100644 --- a/utility/off_deck.py +++ b/utility/off_deck.py @@ -136,7 +136,7 @@ def get_on_deck(server, off_deck=None): watched_statuses = {} on_deck = [] for item in server.library.onDeck(): - if off_deck and item.type == 'episode': + if off_deck and item.type == 'episode' and item.viewOffset == 0: if item.grandparentTitle in off_deck: grandparent = server.fetchItem(item.grandparentRatingKey) watched_statuses['grandparent'] = grandparent