Module: VixenRename::FileParser

Defined in:
lib/vixen_rename/file_parser.rb

Defined Under Namespace

Classes: Scene

Constant Summary collapse

UNPROCESSED_SCENE_TYPE_1_REGEX =

rubocop:disable Lint/MixedRegexpCaptureTypes

/
^                                                                   # Start of String
(?<site>(DEEPER|VIXEN|BLACKEDRAW|BLACKED|TUSHYRAW|TUSHY|CHANNELS))  # Site Name
_                                                                   # Separator
(?<video_id>\d*)                                                    # Video ID
_\d{3,4}P                                                           # Video Resolution
.mp4                                                                # File Extension
$                                                                   # End of String
/x.freeze
UNPROCESSED_SCENE_TYPE_2_REGEX =
/
^                                                                  # Start of String
(?<site>(DEEPER|VIXEN|BLACKEDRAW|BLACKED|TUSHYRAW|TUSHY|CHANNELS)) # Site Name
_                                                                  # Separator
(?<video_id>\d{6})                                                 # Video ID
-.*_                                                               # Actor First Name
\d{3,4}P                                                           # Resolution
.mp4                                                               # File Extension
$                                                                  # End of String
/x.freeze