Skip to content

Instantly share code, notes, and snippets.

@agneevX
Last active February 5, 2023 08:48
Show Gist options
  • Save agneevX/243bbe462870bdfc761639f57b0b5509 to your computer and use it in GitHub Desktop.
Save agneevX/243bbe462870bdfc761639f57b0b5509 to your computer and use it in GitHub Desktop.
DV MP4/MKV release profiles for sonarr, based on TRASH Guides
{
"name": "DV (MKV)",
"includeCustomFormatWhenRenaming": false,
"specifications": [
{
"name": "DV",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": true,
"fields": {
"value": "\\b(dv|dovi|dolby[ .]?vision)\\b"
}
},
{
"name": "Not DV HDR10",
"implementation": "ReleaseTitleSpecification",
"negate": true,
"required": true,
"fields": {
"value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)"
}
},
{
"name": "Not DV HLG",
"implementation": "ReleaseTitleSpecification",
"negate": true,
"required": true,
"fields": {
"value": "\\b(DV[ .]HLG)\\b"
}
},
{
"name": "Not DV SDR",
"implementation": "ReleaseTitleSpecification",
"negate": true,
"required": true,
"fields": {
"value": "\\b(DV[ .]SDR)\\b"
}
},
{
"name": "DV MKV",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": true,
"fields": {
"value": "\\b(mkv)\\b"
}
},
{
"name": "Not DV MP4",
"implementation": "ReleaseTitleSpecification",
"negate": true,
"required": true,
"fields": {
"value": "\\b(mp4)\\b"
}
}
]
}
{
"name": "DV (MP4)",
"includeCustomFormatWhenRenaming": false,
"specifications": [
{
"name": "DV",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": true,
"fields": {
"value": "\\b(dv|dovi|dolby[ .]?vision)\\b"
}
},
{
"name": "Not DV HDR10",
"implementation": "ReleaseTitleSpecification",
"negate": true,
"required": true,
"fields": {
"value": "^(?=.*\\b(HDR(10)?(?!\\+))\\b)(?=.*\\b(DV|DoVi)\\b)"
}
},
{
"name": "Not DV HLG",
"implementation": "ReleaseTitleSpecification",
"negate": true,
"required": true,
"fields": {
"value": "\\b(DV[ .]HLG)\\b"
}
},
{
"name": "Not DV SDR",
"implementation": "ReleaseTitleSpecification",
"negate": true,
"required": true,
"fields": {
"value": "\\b(DV[ .]SDR)\\b"
}
},
{
"name": "Not DV MKV",
"implementation": "ReleaseTitleSpecification",
"negate": true,
"required": true,
"fields": {
"value": "\\b(mkv)\\b"
}
},
{
"name": "DV MP4",
"implementation": "ReleaseTitleSpecification",
"negate": false,
"required": true,
"fields": {
"value": "\\b(mp4)\\b"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment