|
|
@ -492,7 +492,7 @@ class Config:
|
|
|
|
if sync_collection or collectionless:
|
|
|
|
if sync_collection or collectionless:
|
|
|
|
logger.info("Sync Mode: sync")
|
|
|
|
logger.info("Sync Mode: sync")
|
|
|
|
if collection_obj:
|
|
|
|
if collection_obj:
|
|
|
|
for item in collection_obj.children:
|
|
|
|
for item in collection_obj.items():
|
|
|
|
map[item.ratingKey] = item
|
|
|
|
map[item.ratingKey] = item
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
logger.info("Sync Mode: append")
|
|
|
|
logger.info("Sync Mode: append")
|
|
|
@ -856,7 +856,7 @@ class Config:
|
|
|
|
items = library.Plex.all()
|
|
|
|
items = library.Plex.all()
|
|
|
|
items_found += len(items)
|
|
|
|
items_found += len(items)
|
|
|
|
elif method == "plex_collection":
|
|
|
|
elif method == "plex_collection":
|
|
|
|
items = value.children
|
|
|
|
items = value.items()
|
|
|
|
items_found += len(items)
|
|
|
|
items_found += len(items)
|
|
|
|
elif method == "plex_search":
|
|
|
|
elif method == "plex_search":
|
|
|
|
search_terms = {}
|
|
|
|
search_terms = {}
|
|
|
|