mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
New: Better interface for creating custom formats
This commit is contained in:
@@ -73,34 +73,5 @@ namespace NzbDrone.Core.CustomFormats
|
||||
_formatRepository.Delete(id);
|
||||
_cache.Clear();
|
||||
}
|
||||
|
||||
public static Dictionary<string, List<CustomFormat>> Templates => new Dictionary<string, List<CustomFormat>>
|
||||
{
|
||||
{
|
||||
"Easy", new List<CustomFormat>
|
||||
{
|
||||
new CustomFormat("x264", @"C_RX_(x|h)\.?264"),
|
||||
new CustomFormat("x265", @"C_RX_(((x|h)\.?265)|(HEVC))"),
|
||||
new CustomFormat("Simple Hardcoded Subs", "C_RX_subs?"),
|
||||
new CustomFormat("Multi Language", "L_English", "L_French")
|
||||
}
|
||||
},
|
||||
{
|
||||
"Intermediate", new List<CustomFormat>
|
||||
{
|
||||
new CustomFormat("Hardcoded Subs", @"C_RX_\b(?<hcsub>(\w+SUBS?)\b)|(?<hc>(HC|SUBBED))\b"),
|
||||
new CustomFormat("Surround", @"C_RX_\b((7|5).1)\b"),
|
||||
new CustomFormat("Preferred Words", @"C_RX_\b(SPARKS|Framestor)\b"),
|
||||
new CustomFormat("Scene", @"I_G_Scene"),
|
||||
new CustomFormat("Internal Releases", @"I_HDB_Internal", @"I_AHD_Internal")
|
||||
}
|
||||
},
|
||||
{
|
||||
"Advanced", new List<CustomFormat>
|
||||
{
|
||||
new CustomFormat("Custom")
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user