Skip to content

Commit

Permalink
fix(edition): better support for "Criterion"
Browse files Browse the repository at this point in the history
  • Loading branch information
plotski authored and Toilal committed Apr 28, 2021
1 parent 6e75104 commit 85ac52a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion guessit/config/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
{"string": "se", "tags": "has-neighbor"}
],
"Director's Definitive Cut": "ddc",
"Criterion": {"string": ["CC"], "regex": ["criterion-edition", "edition-criterion"] },
"Criterion": {"string": ["CC", "Criterion"], "regex": ["criterion-edition", "edition-criterion"] },
"Deluxe": {"string": ["deluxe"], "regex": ["deluxe-edition", "edition-deluxe"] },
"Limited": {"string": ["limited"], "regex": ["limited-edition"], "tags": ["has-neighbor", "release-group-prefix"]},
"Theatrical": {"string": ["theatrical"], "regex": ["theatrical-cut", "theatrical-edition"]},
Expand Down
5 changes: 5 additions & 0 deletions guessit/test/movies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@
year: 1985
cd: 2

? Movies/Picnic.at.Hanging.Rock.1975.Criterion.Collection.1080p.BluRay.x264.DTS-WiKi
: title: Picnic at Hanging Rock
edition: Criterion
year: 1975

? Movies/Persepolis (2007)/[XCT] Persepolis [H264+Aac-128(Fr-Eng)+ST(Fr-Eng)+Ind].mkv
: title: Persepolis
year: 2007
Expand Down
2 changes: 1 addition & 1 deletion guessit/test/rules/edition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
: edition: Special

? Criterion Edition
? Criterion Collection
? Edition Criterion
? CC
? -Criterion
: edition: Criterion

? Deluxe
Expand Down

0 comments on commit 85ac52a

Please sign in to comment.