diff --git a/VERSION b/VERSION index a7381569..3ef72367 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.19.1-develop75 +1.19.1-develop76 diff --git a/defaults/award/other_award.yml b/defaults/award/other_award.yml index 389acc7e..db0416fa 100644 --- a/defaults/award/other_award.yml +++ b/defaults/award/other_award.yml @@ -50,7 +50,7 @@ collections: template: - name: shared allowed_libraries: movie - image: award/razzies/winner + image: award/razzie/winner translation_key: razzie_worst - name: arr - name: custom diff --git a/json-schema/config-schema.json b/json-schema/config-schema.json index 73537a7c..ee53221e 100644 --- a/json-schema/config-schema.json +++ b/json-schema/config-schema.json @@ -544,7 +544,11 @@ "type": "boolean" }, "cache_expiration": { - "type": "integer" + "type": "integer", + "minimum": 1 + }, + "run_order": { + "type": "array", "uniqueItems": true, "items": {"enum": ["operations", "metadata", "collections", "overlays"]} }, "asset_directory": { "oneOf": [ @@ -556,7 +560,8 @@ "type": "boolean" }, "asset_depth": { - "type": "integer" + "type": "integer", + "minimum": 0 }, "create_asset_folders": { "type": "boolean" @@ -580,10 +585,11 @@ "type": "boolean" }, "sync_mode": { - "type": "string" + "enum": ["sync", "append"] }, "minimum_items": { - "type": "integer" + "type": "integer", + "minimum": 1 }, "default_collection_order": { "type": "string" @@ -595,7 +601,8 @@ "type": "boolean" }, "run_again_delay": { - "type": "integer" + "type": "integer", + "minimum": 0 }, "missing_only_released": { "type": "boolean" diff --git a/modules/builder.py b/modules/builder.py index d7fdd5e8..3c8a053b 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -3165,10 +3165,10 @@ class CollectionBuilder: elif "tvdb_movie_details" in self.summaries: summary = ("tvdb_movie_details", self.summaries["tvdb_movie_details"]) elif "tvdb_show_details" in self.summaries: summary = ("tvdb_show_details", self.summaries["tvdb_show_details"]) elif "tmdb_show_details" in self.summaries: summary = ("tmdb_show_details", self.summaries["tmdb_show_details"]) - else: summary = None + else: summary = (None, None) if self.playlist: - if summary: + if summary[1]: if str(summary[1]) != str(self.obj.summary): try: self.obj.edit(summary=str(summary[1])) @@ -3182,7 +3182,7 @@ class CollectionBuilder: self.library._reload(self.obj) #self.obj.batchEdits() batch_display = "Collection Metadata Edits" - if summary and str(summary[1]) != str(self.obj.summary): + if summary[1] and str(summary[1]) != str(self.obj.summary): self.obj.editSummary(summary[1]) batch_display += f"\nSummary ({summary[0]}) | {summary[1]:<25}"