Fix time sync not downloading items
This commit is contained in:
parent
a603fbadca
commit
91533aa89f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue