From 91533aa89f8b309ac5dcc2c5bfd92ffda0841643 Mon Sep 17 00:00:00 2001 From: croneter Date: Thu, 25 Oct 2018 13:02:36 +0200 Subject: [PATCH] Fix time sync not downloading items --- resources/lib/library_sync/time.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lib/library_sync/time.py b/resources/lib/library_sync/time.py index c42965b9..dd1442a3 100644 --- a/resources/lib/library_sync/time.py +++ b/resources/lib/library_sync/time.py @@ -47,7 +47,9 @@ def sync_pms_time(): continue library_id = section.attrib['key'] try: - iterator = PF.SectionItems(library_id, {'type': plex_type}) + iterator = PF.SectionItems( + library_id, + {'type': v.PLEX_TYPE_NUMBER_FROM_PLEX_TYPE[plex_type]}) for item in iterator: if item.get('viewCount'): # Don't want to mess with items that have playcount>0