mirror of
https://github.com/zoriya/guessit.git
synced 2025-12-06 06:16:09 +00:00
Adding Ultimate edition
This commit is contained in:
@@ -86,6 +86,7 @@ History
|
||||
- Added `12-bit` as new `color_depth` possible value.
|
||||
- Added `IMAX` as new `edition` possible value.
|
||||
- Added `Upscaled` as new `other` possible value.
|
||||
- Added `Ultimate` as new `edition` possible value.
|
||||
|
||||
2.1.4 (2017-06-01)
|
||||
------------------
|
||||
|
||||
@@ -266,8 +266,8 @@ Other properties
|
||||
Edition of the movie.
|
||||
|
||||
- ``Alternative Cut``, ``Collector``, ``Criterion``, ``Deluxe``, ``Director's Cut``, ``Director's Definitive Cut``,
|
||||
``Extended``, ``Festival``, ``IMAX``, ``Remastered``, ``Special``, ``Limited``, ``Theatrical``, ``Uncensored``,
|
||||
``Uncut``, ``Unrated``
|
||||
``Extended``, ``Festival``, ``IMAX``, ``Remastered``, ``Special``, ``Limited``, ``Theatrical``, ``Ultimate``,
|
||||
``Uncensored``, ``Uncut``, ``Unrated``
|
||||
|
||||
|
||||
- **film**
|
||||
|
||||
@@ -19,7 +19,7 @@ def edition():
|
||||
rebulk = Rebulk().regex_defaults(flags=re.IGNORECASE, abbreviations=[dash]).string_defaults(ignore_case=True)
|
||||
rebulk.defaults(name='edition', validator=seps_surround)
|
||||
|
||||
rebulk.regex('collector', 'collector-edition', 'edition-collector', value='Collector')
|
||||
rebulk.regex('collector', "collector'?s?-edition", 'edition-collector', value='Collector')
|
||||
rebulk.regex('special-edition', 'edition-special', value='Special',
|
||||
conflict_solver=lambda match, other: other
|
||||
if other.name == 'episode_details' and other.value == 'Special'
|
||||
@@ -39,5 +39,7 @@ def edition():
|
||||
rebulk.string(value, value=value, tags=['has-neighbor', 'release-group-prefix'])
|
||||
rebulk.string('Festival', value='Festival', tags=['has-neighbor-before', 'has-neighbor-after'])
|
||||
rebulk.regex('imax', 'imax-edition', value='IMAX')
|
||||
rebulk.regex('ultimate-edition', value='Ultimate')
|
||||
rebulk.regex("ultimate-collector'?s?-edition", value=['Ultimate', 'Collector'])
|
||||
|
||||
return rebulk
|
||||
|
||||
@@ -1323,3 +1323,22 @@
|
||||
audio_channels: '5.1'
|
||||
type: movie
|
||||
|
||||
? Casablanca [Ultimate Collector's Edition].1942.BRRip.XviD-VLiS
|
||||
: title: Casablanca
|
||||
edition: [Ultimate, Collector]
|
||||
year: 1942
|
||||
source: Blu-ray
|
||||
other: [Reencoded, Rip]
|
||||
video_codec: Xvid
|
||||
release_group: VLiS
|
||||
type: movie
|
||||
|
||||
? Batman V Superman Dawn of Justice 2016 Extended Cut Ultimate Edition HDRip x264 AC3-DaDDy
|
||||
: title: Batman V Superman Dawn of Justice
|
||||
year: 2016
|
||||
edition: [Extended, Ultimate]
|
||||
other: [HD, Rip]
|
||||
video_codec: H.264
|
||||
audio_codec: Dolby Digital
|
||||
release_group: DaDDy
|
||||
type: movie
|
||||
|
||||
@@ -36,4 +36,18 @@
|
||||
|
||||
? IMAX
|
||||
? IMAX Edition
|
||||
: edition: IMAX
|
||||
: edition: IMAX
|
||||
|
||||
? ULTIMATE EDITION
|
||||
? -ULTIMATE
|
||||
: edition: Ultimate
|
||||
|
||||
? ULTIMATE COLLECTOR EDITION
|
||||
? ULTIMATE COLLECTOR'S EDITION
|
||||
? ULTIMATE COLLECTORS EDITION
|
||||
? -COLLECTORS EDITION
|
||||
? -ULTIMATE EDITION
|
||||
: edition: [Ultimate, Collector]
|
||||
|
||||
? ULTIMATE COLLECTORS EDITION DC
|
||||
: edition: [Ultimate, Collector, Director's Cut]
|
||||
|
||||
Reference in New Issue
Block a user