diff --git a/docs/json/radarr/cf/aac.json b/docs/json/radarr/cf/aac.json index 2ece39d3a..4ba0c1ddd 100644 --- a/docs/json/radarr/cf/aac.json +++ b/docs/json/radarr/cf/aac.json @@ -27,7 +27,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/atmos-undefined.json b/docs/json/radarr/cf/atmos-undefined.json index dd594cc76..4c830d7d3 100644 --- a/docs/json/radarr/cf/atmos-undefined.json +++ b/docs/json/radarr/cf/atmos-undefined.json @@ -10,7 +10,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/dd.json b/docs/json/radarr/cf/dd.json index ac5d8e347..1e2b32206 100644 --- a/docs/json/radarr/cf/dd.json +++ b/docs/json/radarr/cf/dd.json @@ -18,7 +18,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/ddplus-atmos.json b/docs/json/radarr/cf/ddplus-atmos.json index af4355c47..9b197cbc1 100644 --- a/docs/json/radarr/cf/ddplus-atmos.json +++ b/docs/json/radarr/cf/ddplus-atmos.json @@ -10,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/ddplus.json b/docs/json/radarr/cf/ddplus.json index 6c456c8a4..f7ccf9db0 100644 --- a/docs/json/radarr/cf/ddplus.json +++ b/docs/json/radarr/cf/ddplus.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "[^-]DD[P+](?!A)|eac3" + "value": "\\bDD[P+](?!A)|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/dts-es.json b/docs/json/radarr/cf/dts-es.json index 8927b0eec..9d10f3d54 100644 --- a/docs/json/radarr/cf/dts-es.json +++ b/docs/json/radarr/cf/dts-es.json @@ -27,7 +27,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/dts-hd-hra.json b/docs/json/radarr/cf/dts-hd-hra.json index 255cb5c93..a6341dd30 100644 --- a/docs/json/radarr/cf/dts-hd-hra.json +++ b/docs/json/radarr/cf/dts-hd-hra.json @@ -27,7 +27,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/dts-hd-ma.json b/docs/json/radarr/cf/dts-hd-ma.json index 3a7dd0350..0a48f8c67 100644 --- a/docs/json/radarr/cf/dts-hd-ma.json +++ b/docs/json/radarr/cf/dts-hd-ma.json @@ -28,7 +28,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/dts-x.json b/docs/json/radarr/cf/dts-x.json index 6b946aa2e..0aac2423c 100644 --- a/docs/json/radarr/cf/dts-x.json +++ b/docs/json/radarr/cf/dts-x.json @@ -36,7 +36,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/dts.json b/docs/json/radarr/cf/dts.json index c796b7991..7a55b9112 100644 --- a/docs/json/radarr/cf/dts.json +++ b/docs/json/radarr/cf/dts.json @@ -36,7 +36,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/flac.json b/docs/json/radarr/cf/flac.json index 3dacaa1c8..d15824569 100644 --- a/docs/json/radarr/cf/flac.json +++ b/docs/json/radarr/cf/flac.json @@ -63,7 +63,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } } ] diff --git a/docs/json/radarr/cf/pcm.json b/docs/json/radarr/cf/pcm.json index 71c9bd656..12c3e4c3d 100644 --- a/docs/json/radarr/cf/pcm.json +++ b/docs/json/radarr/cf/pcm.json @@ -63,7 +63,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } } ] diff --git a/docs/json/radarr/cf/truehd-atmos.json b/docs/json/radarr/cf/truehd-atmos.json index d65a29c20..68e6b79ca 100644 --- a/docs/json/radarr/cf/truehd-atmos.json +++ b/docs/json/radarr/cf/truehd-atmos.json @@ -28,7 +28,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/radarr/cf/truehd.json b/docs/json/radarr/cf/truehd.json index 0cdf81f1d..5e9a6e7c4 100644 --- a/docs/json/radarr/cf/truehd.json +++ b/docs/json/radarr/cf/truehd.json @@ -28,7 +28,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/aac.json b/docs/json/sonarr/cf/aac.json index 3227d988f..2f18afee6 100644 --- a/docs/json/sonarr/cf/aac.json +++ b/docs/json/sonarr/cf/aac.json @@ -27,7 +27,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/atmos-undefined.json b/docs/json/sonarr/cf/atmos-undefined.json index 02c6d6399..a6295ae2c 100644 --- a/docs/json/sonarr/cf/atmos-undefined.json +++ b/docs/json/sonarr/cf/atmos-undefined.json @@ -19,7 +19,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/dd.json b/docs/json/sonarr/cf/dd.json index 58a88cc3a..f829dc144 100644 --- a/docs/json/sonarr/cf/dd.json +++ b/docs/json/sonarr/cf/dd.json @@ -18,7 +18,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/ddplus-atmos.json b/docs/json/sonarr/cf/ddplus-atmos.json index a557dae4d..e92c07cbe 100644 --- a/docs/json/sonarr/cf/ddplus-atmos.json +++ b/docs/json/sonarr/cf/ddplus-atmos.json @@ -10,7 +10,7 @@ "negate": false, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/ddplus.json b/docs/json/sonarr/cf/ddplus.json index 325a745b9..71ae1118f 100644 --- a/docs/json/sonarr/cf/ddplus.json +++ b/docs/json/sonarr/cf/ddplus.json @@ -9,7 +9,7 @@ "negate": false, "required": true, "fields": { - "value": "[^-]DD[P+](?!A)|eac3" + "value": "\\bDD[P+](?!A)|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/dts-es.json b/docs/json/sonarr/cf/dts-es.json index 2e74ac1ce..1e3c5b011 100644 --- a/docs/json/sonarr/cf/dts-es.json +++ b/docs/json/sonarr/cf/dts-es.json @@ -27,7 +27,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/dts-hd-hra.json b/docs/json/sonarr/cf/dts-hd-hra.json index e5e544333..325eeac31 100644 --- a/docs/json/sonarr/cf/dts-hd-hra.json +++ b/docs/json/sonarr/cf/dts-hd-hra.json @@ -27,7 +27,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/dts-hd-ma.json b/docs/json/sonarr/cf/dts-hd-ma.json index 0a24545ed..ff473fafe 100644 --- a/docs/json/sonarr/cf/dts-hd-ma.json +++ b/docs/json/sonarr/cf/dts-hd-ma.json @@ -28,7 +28,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/dts-x.json b/docs/json/sonarr/cf/dts-x.json index f4c4bb63e..4e63ca069 100644 --- a/docs/json/sonarr/cf/dts-x.json +++ b/docs/json/sonarr/cf/dts-x.json @@ -36,7 +36,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/dts.json b/docs/json/sonarr/cf/dts.json index 60c1fca89..b1f6d41d2 100644 --- a/docs/json/sonarr/cf/dts.json +++ b/docs/json/sonarr/cf/dts.json @@ -36,7 +36,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/flac.json b/docs/json/sonarr/cf/flac.json index 8545d2b96..7a0194002 100644 --- a/docs/json/sonarr/cf/flac.json +++ b/docs/json/sonarr/cf/flac.json @@ -63,7 +63,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } } ] diff --git a/docs/json/sonarr/cf/pcm.json b/docs/json/sonarr/cf/pcm.json index 8dd6ff255..c9602e14f 100644 --- a/docs/json/sonarr/cf/pcm.json +++ b/docs/json/sonarr/cf/pcm.json @@ -63,7 +63,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } } ] diff --git a/docs/json/sonarr/cf/truehd-atmos.json b/docs/json/sonarr/cf/truehd-atmos.json index 99f3caea6..b9fdccead 100644 --- a/docs/json/sonarr/cf/truehd-atmos.json +++ b/docs/json/sonarr/cf/truehd-atmos.json @@ -28,7 +28,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/docs/json/sonarr/cf/truehd.json b/docs/json/sonarr/cf/truehd.json index e0b3bd444..3c45d89a5 100644 --- a/docs/json/sonarr/cf/truehd.json +++ b/docs/json/sonarr/cf/truehd.json @@ -28,7 +28,7 @@ "negate": true, "required": true, "fields": { - "value": "[^-]dd[p+]|eac3" + "value": "\\bDD[P+]|\\b(e[-_. ]?ac3)\\b" } }, { diff --git a/metadata.json b/metadata.json index 9374159bd..78a59903c 100644 --- a/metadata.json +++ b/metadata.json @@ -2,11 +2,13 @@ "$schema": "metadata.schema.json", "json_paths": { "radarr": { - "custom_formats": ["docs/json/radarr/cf"] + "custom_formats": ["docs/json/radarr/cf"], + "qualities": ["docs/json/radarr/quality-size"] }, "sonarr": { "release_profiles": ["docs/json/sonarr/rp"], - "custom_formats": ["docs/json/sonarr/cf"] + "custom_formats": ["docs/json/sonarr/cf"], + "qualities": ["docs/json/sonarr/quality-size"] } } } diff --git a/metadata.schema.json b/metadata.schema.json index 9fa34390f..f11b7b4b8 100644 --- a/metadata.schema.json +++ b/metadata.schema.json @@ -15,11 +15,7 @@ } }, "$defs": { - "release_profiles": { - "type": "array", - "items": { "type": "string" } - }, - "custom_formats": { + "paths_object": { "type": "array", "items": { "type": "string" } }, @@ -27,15 +23,17 @@ "type": "object", "additionalProperties": false, "properties": { - "custom_formats": { "$ref": "#/$defs/custom_formats" } + "custom_formats": { "$ref": "#/$defs/paths_object" }, + "qualities": { "$ref": "#/$defs/paths_object" } } }, "sonarr": { "type": "object", "additionalProperties": false, "properties": { - "custom_formats": { "$ref": "#/$defs/custom_formats" }, - "release_profiles": { "$ref": "#/$defs/release_profiles" } + "custom_formats": { "$ref": "#/$defs/paths_object" }, + "release_profiles": { "$ref": "#/$defs/paths_object" }, + "qualities": { "$ref": "#/$defs/paths_object" } } } }