raiseFailed(f"{self.Type} Error: {library_type} is invalid. Options: {', '.join(plex.library_types)}")
eliflibrary_type==self.library.Plex.type:
found_type=True
ifnotfound_type:
raiseNotScheduled(f"Skipped because allowed_library_types {self.data[methods['allowed_library_types']]} doesn't match the library type: {self.library.Plex.type}")
self.suppress_overlays=[]
self.overlay_group=None
self.overlay_weight=None
@ -315,21 +331,18 @@ class CollectionBuilder:
self.sync_to_users=None
self.valid_users=[]
ifself.playlist:
if"libraries"inmethods:
if"libraries"notinmethods:
raiseFailed("Playlist Error: libraries attribute is required")
logger.debug("")
logger.debug("Validating Method: libraries")
ifnotself.data[methods["libraries"]]:
raiseFailed(f"{self.Type} Error: libraries attribute is blank")