Adding Ultimate edition

This commit is contained in:
Rato
2017-07-16 08:45:32 +02:00
parent 1a613e1e89
commit b1bd4801ad
5 changed files with 40 additions and 4 deletions

View File

@@ -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)
------------------

View File

@@ -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**

View File

@@ -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

View File

@@ -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

View File

@@ -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]