From 6065824d40f757f052db0c45704821207171b766 Mon Sep 17 00:00:00 2001 From: zakary Date: Tue, 7 May 2024 12:04:55 -0500 Subject: [PATCH] fix(starr-cf/audio-channels): add word barrier and negates to prevent matching incorrectly (#1919) * fix(cf/audio-channels): add word barrier to prevent matching incorrectly * update(cf/audio-channels): change to rg recommendations add word barriers to all low channel and adjust negates remove 9.1 from guides --- .../Radarr-collection-of-custom-formats.md | 14 +--- .../sonarr-collection-of-custom-formats.md | 14 +--- docs/json/radarr/cf/10-mono.json | 17 +--- docs/json/radarr/cf/20-stereo.json | 10 +-- docs/json/radarr/cf/30-sound.json | 10 +-- docs/json/radarr/cf/40-sound.json | 10 +-- docs/json/radarr/cf/51-surround.json | 71 ++++++++-------- docs/json/radarr/cf/61-surround.json | 80 +++++++++---------- docs/json/radarr/cf/71-surround.json | 62 ++++++++------ docs/json/radarr/cf/91-surround.json | 42 ---------- docs/json/sonarr/cf/10-mono.json | 17 +--- docs/json/sonarr/cf/20-stereo.json | 10 +-- docs/json/sonarr/cf/30-sound.json | 8 +- docs/json/sonarr/cf/40-sound.json | 10 +-- docs/json/sonarr/cf/51-surround.json | 62 +++++++------- docs/json/sonarr/cf/61-surround.json | 80 +++++++++---------- docs/json/sonarr/cf/71-surround.json | 62 ++++++++------ docs/json/sonarr/cf/91-surround.json | 42 ---------- 18 files changed, 246 insertions(+), 375 deletions(-) delete mode 100644 docs/json/radarr/cf/91-surround.json delete mode 100644 docs/json/sonarr/cf/91-surround.json diff --git a/docs/Radarr/Radarr-collection-of-custom-formats.md b/docs/Radarr/Radarr-collection-of-custom-formats.md index 11e490176..2e97b9b1d 100644 --- a/docs/Radarr/Radarr-collection-of-custom-formats.md +++ b/docs/Radarr/Radarr-collection-of-custom-formats.md @@ -42,7 +42,7 @@ We've made 3 guides related to this. | [TrueHD](#truehd) | [DD](#dd) | [5.1 Surround](#51-surround) | [DV SDR](#dv-sdr) | | [DTS-HD MA](#dts-hd-ma) | [MP3](#mp3) | [6.1 Surround](#61-surround) | [HDR10+](#hdr10plus) | | [DD+](#ddplus) | [Opus](#opus) | [7.1 Surround](#71-surround) | [HDR10](#hdr10) | -| [DTS-ES](#dts-es) | | [9.1 Surround](#91-surround) | [HDR](#hdr) | +| [DTS-ES](#dts-es) | | | [HDR](#hdr) | | [DTS](#dts) | | | [HDR (undefined)](#hdr-undefined) | | | | | [PQ](#pq) | | | | | [HLG](#hlg) | @@ -479,18 +479,6 @@ We've made 3 guides related to this. --- -### 9.1 Surround - -??? example "JSON - [Click to show/hide]" - - ```json - [[% filter indent(width=4) %]][[% include 'json/radarr/cf/91-surround.json' %]][[% endfilter %]] - ``` - -[TOP](#index) - ---- - ## HDR Formats --- diff --git a/docs/Sonarr/sonarr-collection-of-custom-formats.md b/docs/Sonarr/sonarr-collection-of-custom-formats.md index eebf52472..a46705c69 100644 --- a/docs/Sonarr/sonarr-collection-of-custom-formats.md +++ b/docs/Sonarr/sonarr-collection-of-custom-formats.md @@ -39,7 +39,7 @@ We've made 3 guides related to this. | [TrueHD](#truehd) | [DD](#dd) | [5.1 Surround](#51-surround) | [DV SDR](#dv-sdr) | | [DTS-HD MA](#dts-hd-ma) | [MP3](#mp3) | [6.1 Surround](#61-surround) | [HDR10+](#hdr10plus) | | [DD+](#ddplus) | [Opus](#opus) | [7.1 Surround](#71-surround) | [HDR10](#hdr10) | -| [DTS-ES](#dts-es) | | [9.1 Surround](#91-surround) | [HDR](#hdr) | +| [DTS-ES](#dts-es) | | | [HDR](#hdr) | | [DTS](#dts) | | | [HDR (undefined)](#hdr-undefined) | | | | | [PQ](#pq) | | | | | [HLG](#hlg) | @@ -480,18 +480,6 @@ We've made 3 guides related to this. --- -### 9.1 Surround - -??? example "JSON - [Click to show/hide]" - - ```json - [[% filter indent(width=4) %]][[% include 'json/sonarr/cf/91-surround.json' %]][[% endfilter %]] - ``` - -[TOP](#index) - ---- - ## HDR Formats --- diff --git a/docs/json/radarr/cf/10-mono.json b/docs/json/radarr/cf/10-mono.json index 4b56ad0fc..2ceb864ce 100644 --- a/docs/json/radarr/cf/10-mono.json +++ b/docs/json/radarr/cf/10-mono.json @@ -8,16 +8,7 @@ "negate": false, "required": true, "fields": { - "value": "[^0-9]1[ .]0|\\bMono\\b|\\[PCM \\]" - } - }, - { - "name": "Not Stereo", - "implementation": "ReleaseTitleSpecification", - "negate": true, - "required": true, - "fields": { - "value": "(?