From 6e087707bf3e1ffbff67a40aa6dbba7703fc41dc Mon Sep 17 00:00:00 2001 From: plotski Date: Wed, 4 Oct 2023 15:39:07 +0200 Subject: [PATCH] feat(other): detect "Dolby Vision" from "DV" --- guessit/config/options.json | 2 +- guessit/test/movies.yml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/guessit/config/options.json b/guessit/config/options.json index 37b0df21..29ee5d9a 100644 --- a/guessit/config/options.json +++ b/guessit/config/options.json @@ -516,7 +516,7 @@ "Hardcoded Subtitles": ["HC", "vost"], "Standard Dynamic Range": {"string": "SDR", "tags": "uhdbluray-neighbor"}, "HDR10": {"regex": "HDR(?:10)?", "tags": "uhdbluray-neighbor"}, - "Dolby Vision": {"regex": "Dolby-?Vision", "tags": "uhdbluray-neighbor"}, + "Dolby Vision": {"regex": "(?:Dolby-?Vision|DV)", "tags": "uhdbluray-neighbor"}, "BT.2020": {"regex": "BT-?2020","tags": "uhdbluray-neighbor"}, "Sample": {"string": "Sample", "tags": ["at-end", "not-a-release-group"]}, "Extras": [ diff --git a/guessit/test/movies.yml b/guessit/test/movies.yml index 9fce9236..12f0c57f 100644 --- a/guessit/test/movies.yml +++ b/guessit/test/movies.yml @@ -1314,6 +1314,14 @@ release_group: VISIONPLUSHDR1000 type: movie +? Foo.Bar.2021.DV.2160p.WEB-DL.x265-ASDF +: title: Foo Bar + screen_size: 2160p + other: [Dolby Vision] + video_codec: H.265 + release_group: ASDF + type: movie + ? How To Steal A Dog.2014.BluRay.1080p.12bit.HEVC.OPUS 5.1-Hn1Dr2.mkv : title: How To Steal A Dog year: 2014