pull/83/head
meisnate12 4 years ago
parent d56d1c6f54
commit fd0301e68a

@ -551,8 +551,10 @@ class CollectionBuilder:
self.methods.append((method_name, util.get_list(data[m]))) self.methods.append((method_name, util.get_list(data[m])))
elif method_name not in util.other_attributes: elif method_name not in util.other_attributes:
raise Failed(f"Collection Error: {method_name} attribute not supported") raise Failed(f"Collection Error: {method_name} attribute not supported")
else: elif m in util.all_lists or m in util.method_alias or m in util.plex_searches:
raise Failed(f"Collection Error: {m} attribute is blank") raise Failed(f"Collection Error: {m} attribute is blank")
else:
logger.warning(f"Collection Warning: {m} attribute is blank")
self.sync = self.library.sync_mode == "sync" self.sync = self.library.sync_mode == "sync"
if "sync_mode" in data: if "sync_mode" in data:

Loading…
Cancel
Save