Remove Xvid from x264 regex and adjust it to meet all remaining tests. Instead, the custom format should negate Xvid.

This commit is contained in:
Brandon 2025-02-09 00:27:13 -05:00
parent 2d010c50a5
commit 776d40cceb
2 changed files with 53 additions and 56 deletions

View File

@ -4,13 +4,18 @@ tags:
- Codec - Codec
conditions: conditions:
- name: x264 - name: x264
type: release_title
required: true
negate: false negate: false
pattern: x264 pattern: x264
required: true
type: release_title
- name: Not WEB-DL - name: Not WEB-DL
type: source
required: false
negate: true negate: true
required: true
source: web_dl source: web_dl
type: source
- name: Not Xvid
type: release_title
required: true
negate: true
pattern: Xvid
tests: [] tests: []

View File

@ -1,5 +1,5 @@
name: x264 name: x264
pattern: ^(?!.*(?i:remux)).*([xh](\.?264)|DVDRip) pattern: ^(?:(?=.*\bremux\b.*\b(?:h\.?264)\b)|(?=.*\bx264\b)(?!.*\bremux\b)).*$
description: 'An open source encoder that produces H.264 videos. ' description: 'An open source encoder that produces H.264 videos. '
tags: tags:
- Encoder - Encoder
@ -8,73 +8,65 @@ tests:
- expected: true - expected: true
id: 1 id: 1
input: Dan Da Dan AKA Dandadan S01E10 1080p CR WEB-DL AAC 2.0 x264-SubsPlease input: Dan Da Dan AKA Dandadan S01E10 1080p CR WEB-DL AAC 2.0 x264-SubsPlease
lastRun: '2024-12-07T00:22:39.865345' lastRun: '2025-02-08T23:38:43.613169'
matchSpan: matchSpan:
end: 59 end: 70
start: 0 start: 0
matchedContent: Dan Da Dan AKA Dandadan S01E10 1080p CR WEB-DL AAC 2.0 x264 matchedContent: Dan Da Dan AKA Dandadan S01E10 1080p CR WEB-DL AAC 2.0 x264-SubsPlease
matchedGroups: matchedGroups: []
- x264
- '264'
passes: true passes: true
- expected: true - expected: true
id: 2 id: 2
input: Life of Pi 2012 1080p BluRay x264-SPARKS input: Life of Pi 2012 1080p BluRay x264-SPARKS
lastRun: '2024-12-07T00:22:39.865345' lastRun: '2025-02-08T23:38:43.613169'
matchSpan: matchSpan:
end: 33 end: 40
start: 0 start: 0
matchedContent: Life of Pi 2012 1080p BluRay x264 matchedContent: Life of Pi 2012 1080p BluRay x264-SPARKS
matchedGroups: matchedGroups: []
- x264
- '264'
passes: true passes: true
- expected: false - expected: true
id: 3 id: 3
input: Scrubs (2001) S04 REPACK (1080p AIUS DVDRip x265 10bit AC3 5 1 English - input: Movie.Title.2023.1080p.BluRay.REMUX.h.264.DTS-HD.MA.5.1-GRP
JBENT)[TAoE] lastRun: '2025-02-08T23:38:43.613169'
lastRun: '2024-12-07T00:22:39.865345'
matchSpan: matchSpan:
end: 43 end: 59
start: 0 start: 0
matchedContent: Scrubs (2001) S04 REPACK (1080p AIUS DVDRip matchedContent: Movie.Title.2023.1080p.BluRay.REMUX.h.264.DTS-HD.MA.5.1-GRP
matchedGroups: matchedGroups: []
- DVDRip passes: true
- null - expected: true
passes: false
- expected: false
id: 4 id: 4
input: Wallander UK S01-S04 DVDRip XviD BDRip x264-Scene (2008-2016) input: Wallander UK S01-S04 DVDRip XviD BDRip x264-Scene (2008-2016)
lastRun: '2024-12-07T00:22:39.865345' lastRun: '2025-02-08T23:38:43.613169'
matchSpan: matchSpan:
end: 43 end: 61
start: 0 start: 0
matchedContent: Wallander UK S01-S04 DVDRip XviD BDRip x264 matchedContent: Wallander UK S01-S04 DVDRip XviD BDRip x264-Scene (2008-2016)
matchedGroups: matchedGroups: []
- x264 passes: true
- '264'
passes: false
- expected: false - expected: false
id: 5 id: 5
input: Rugrats S05 480p DVDRip Opus 2.0 AV1-Jenkins input: Scrubs (2001) S04 REPACK (1080p AIUS DVDRip x265 10bit AC3 5 1 English -
lastRun: '2024-12-07T00:22:39.865345' JBENT)[TAoE]
matchSpan: lastRun: '2025-02-08T23:38:43.613169'
end: 23 matchSpan: null
start: 0 matchedContent: null
matchedContent: Rugrats S05 480p DVDRip matchedGroups: []
matchedGroups: passes: true
- DVDRip - expected: false
- null id: 6
passes: false input: Rugrats S05 480p DVDRip Opus 2.0 AV1-Jenkins
- expected: true lastRun: '2025-02-08T23:38:43.613169'
id: 6 matchSpan: null
input: _Summer S00 JAPANESE 480p DVDRip DD 2.0 x264-Tsundere matchedContent: null
lastRun: '2024-12-07T00:22:39.865345' matchedGroups: []
matchSpan: passes: true
end: 44 - expected: false
start: 0 id: 7
matchedContent: _Summer S00 JAPANESE 480p DVDRip DD 2.0 x264 input: Movie.Title.2023.1080p.BluRay.REMUX.h265.DTS-HD.MA.5.1-GRP
matchedGroups: lastRun: '2025-02-08T23:38:43.613169'
- x264 matchSpan: null
- '264' matchedContent: null
matchedGroups: []
passes: true passes: true