From bd02a6784459a4a76e5467c885304a4656e7c249 Mon Sep 17 00:00:00 2001 From: Ian Egerton Date: Wed, 20 Dec 2023 19:54:13 +0000 Subject: [PATCH] -Adding matching pattern for EAC3 to plus_atmos in audio_codec.yml -"Dolby Digital Plus" was not matching for plus_atmos, so fixing also, as well as permitting ._- characters --- defaults/overlays/audio_codec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/overlays/audio_codec.yml b/defaults/overlays/audio_codec.yml index 4bd25fbb..61d5ff90 100644 --- a/defaults/overlays/audio_codec.yml +++ b/defaults/overlays/audio_codec.yml @@ -66,7 +66,7 @@ templates: - key: dtsx value: '(?i)\bdts[ ._-]?x\b' - key: plus_atmos - value: '(?i)^(?=.*\b(dd[p+])|(dolby digital plus)\b)(?=.*\batmos(\b|\d))' + value: '(?i)^(?=.*\b(dd[p+]|dolby[ ._-]digital[ ._-]plus|e[ ._-]?ac3\b))(?=.*\batmos(\b|\d))' - key: dolby_atmos value: '(?i)\batmos(\b|\d)' - key: truehd @@ -80,7 +80,7 @@ templates: - key: hra value: '(?i)\bdts[ ._-]?(hd[ ._-])?(hr|hra|hi|ra)(\b|\d)' - key: plus - value: '(?i)\b(dd[p+])|(dolby digital plus)|(e[ ._-]?ac3)\b' + value: '(?i)\b(dd[p+])|(dolby[ ._-]digital[ ._-]plus)|(e[ ._-]?ac3)\b' - key: dtses value: '(?i)\bdts[ ._-]?es(\b|\d)' - key: dts