Merge branch 'master' into dependabot/pip/mkdocs-redirects-1.0.5

pull/693/head
TRaSH 2 years ago committed by GitHub
commit 8569e6925a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,7 @@
# EditorConfig is awesome: https://EditorConfig.org # EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file # top-most EditorConfig file
root = false root = true
[*.json] [*.json]
indent_style = space indent_style = space

@ -5,21 +5,12 @@
"includeCustomFormatWhenRenaming": false, "includeCustomFormatWhenRenaming": false,
"specifications": [ "specifications": [
{ {
"name": "DOES NOT INCLUDE ANY OF THESE WORDS", "name": "BR-DISK",
"implementation": "ReleaseTitleSpecification", "implementation": "ReleaseTitleSpecification",
"negate": false, "negate": false,
"required": true, "required": true,
"fields": { "fields": {
"value": "^(?!.*\\b((?<!HD[._ -]|HD)DVD|BDRip|720p|MKV|XviD|WMV|d3g|REMUX|[xh][-_. ]?26[45]|German[-_. ]?DL)\\b).*" "value": "^(?!.*\\b((?<!HD[._ -]|HD)DVD|BDRip|720p|MKV|XviD|WMV|d3g|REMUX|[xh][-_. ]?26[45]|German.*DL|((?<=\\d{4}).*German.*(DL)?)(?=.*\\b(AVC|HEVC|VC[-_. ]?1|MVC|MPEG[-_. ]?2)\\b))\\b)(((?=.*(Blu[-_. ]?ray|BD|HD[-_. ]?DVD)\\b)(?=.*\\b(AVC|HEVC|VC[-_. ]?1|MVC|MPEG[-_. ]?2|BDMV|ISO)\\b))|^((?=.*\\b(^((?=.*\\b((.*_)?COMPLETE.*|Dis[ck])\\b)(?=.*(Blu[-_. ]?ray|HD[-_. ]?DVD)))|3D[-_. ]?BD|BR[-_. ]?DISK|Full[-_. ]?Blu[-_. ]?ray|^((?=.*((BD|UHD)[-_. ]?(25|50|66|100|ISO)))))))).*"
}
},
{
"name": "BUNCH OF COMBINATIONS",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": true,
"fields": {
"value": "^(((?=.*(Blu[-_. ]?ray|BD|HD[-_. ]?DVD)\\b)(?=.*\\b(AVC|HEVC|VC[-_. ]?1|MVC|MPEG[-_. ]?2|BDMV)\\b))|^((?=.*\\b(^((?=.*\\b(COMPLETE|Dis[ck])\\b)(?=.*(Blu[-_. ]?ray|HD[-_. ]?DVD)))|3D[-_. ]?BD|BR[-_. ]?DISK|Full[-_. ]?Blu[-_. ]?ray|^((?=.*((BD|UHD)[-_. ]?(25|50|66|100)))(?=.*ISO)?))))).*"
} }
} }
] ]

@ -10,7 +10,7 @@
"negate": false, "negate": false,
"required": true, "required": true,
"fields": { "fields": {
"value": "dts[ .-]?(ma\\b|hd[ .-]?ma|hd)(?!china|r)" "value": "dts[ .-]?(ma\\b|hd[ .-]?ma\\b|hd)(?!china|r|maniacs)"
} }
}, },
{ {

@ -18,7 +18,7 @@
"negate": true, "negate": true,
"required": true, "required": true,
"fields": { "fields": {
"value": "dts[ .-]?(ma\\b|hd[ .-]?ma|hd)(?!china|r)" "value": "dts[ .-]?(ma\\b|hd[ .-]?ma\\b|hd)(?!china|r|maniacs)"
} }
}, },
{ {

@ -10,7 +10,7 @@
"negate": false, "negate": false,
"required": true, "required": true,
"fields": { "fields": {
"value": "\\bFraMeSToR$" "value": "FraMeSToR\\b"
} }
} }
] ]

@ -19,7 +19,7 @@
"negate": false, "negate": false,
"required": false, "required": false,
"fields": { "fields": {
"value": "FraMeSToR$" "value": "FraMeSToR\\b"
} }
}, },
{ {

@ -0,0 +1,11 @@
{
"$schema": "metadata.schema.json",
"json_paths": {
"radarr": {
"custom_formats": ["docs/json/radarr"]
},
"sonarr": {
"release_profiles": ["docs/json/sonarr"]
}
}
}

@ -0,0 +1,41 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/TRaSH-/Guides/master/metadata.schema.json",
"type": "object",
"additionalProperties": false,
"properties": {
"$schema": { "type": "string" },
"json_paths": {
"type": "object",
"additionalProperties": false,
"properties": {
"radarr": "#/$defs/radarr",
"sonarr": "#/$defs/sonarr"
}
}
},
"$defs": {
"release_profiles": {
"type": "array",
"items": { "type": "string" }
},
"custom_formats": {
"type": "array",
"items": { "type": "string" }
},
"radarr": {
"type": "object",
"additionalProperties": false,
"properties": {
"custom_formats": "#/$defs/custom_formats"
}
},
"sonarr": {
"type": "object",
"additionalProperties": false,
"properties": {
"release_profiles": "#/$defs/release_profiles"
}
}
}
}
Loading…
Cancel
Save