Udate file sizes when refreshing media info

This commit is contained in:
JonnyWong16 2017-06-24 21:34:22 -07:00
parent d128d7c8e6
commit 428a5cc0ff

View file

@ -382,7 +382,7 @@ class Libraries(object):
pass pass
# If no cache was imported, get all library children items # If no cache was imported, get all library children items
cached_items = {d['rating_key']: d['file_size'] for d in rows} cached_items = {d['rating_key']: d['file_size'] for d in rows} if not refresh else {}
if refresh or not rows: if refresh or not rows:
pms_connect = pmsconnect.PmsConnect() pms_connect = pmsconnect.PmsConnect()