diff --git a/VERSION b/VERSION index d96f975a..d9f5b8c7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.1-develop3 +1.18.1-develop4 diff --git a/modules/builder.py b/modules/builder.py index 29789175..c0dbc2e4 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -690,8 +690,8 @@ class CollectionBuilder: if ts not in sorts: raise Failed(f"{self.Type} Error: collection_order: {ts} is invalid. Options: {', '.join(sorts)}") self.custom_sort.append(ts) - if not self.custom_sort: - raise Failed(f"{self.Type} Error: {test_sort} collection_order invalid\n\trelease (Order Collection by release dates)\n\talpha (Order Collection Alphabetically)\n\tcustom (Custom Order Collection)\n\tOther sorting options can be found at https://github.com/meisnate12/Plex-Meta-Manager/wiki/Smart-Builders#sort-options") + if test_sort not in plex.collection_order_options + ["custom.asc", "custom.desc"] and not self.custom_sort: + raise Failed(f"{self.Type} Error: {test_sort} collection_order invalid\n\trelease (Order Collection by release dates)\n\talpha (Order Collection Alphabetically)\n\tcustom.asc/custom.desc (Custom Order Collection)\n\tOther sorting options can be found at https://github.com/meisnate12/Plex-Meta-Manager/wiki/Smart-Builders#sort-options") if self.smart: self.custom_sort = None