1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

Fixed: Templates for custom format using wrong modifiers.

This commit is contained in:
Leonardo Galli 2018-09-12 16:44:38 +02:00
parent 617c7bae83
commit df6f32f6c3
2 changed files with 7 additions and 7 deletions

View File

@ -191,18 +191,18 @@ public static Dictionary<string, List<CustomFormat>> Templates
{ {
"Easy", new List<CustomFormat> "Easy", new List<CustomFormat>
{ {
new CustomFormat("x264", "C_R_(x|h)264"), new CustomFormat("x264", "C_RX_(x|h)264"),
new CustomFormat("x265", "C_R_(((x|h)265)|(HEVC))"), new CustomFormat("x265", "C_RX_(((x|h)265)|(HEVC))"),
new CustomFormat("Simple Hardcoded Subs", "C_R_subs?"), new CustomFormat("Simple Hardcoded Subs", "C_RX_subs?"),
new CustomFormat("Multi Language", "L_English", "L_French") new CustomFormat("Multi Language", "L_English", "L_French")
} }
}, },
{ {
"Intermediate", new List<CustomFormat> "Intermediate", new List<CustomFormat>
{ {
new CustomFormat("Hardcoded Subs", @"C_R_\b(?<hcsub>(\w+SUBS?)\b)|(?<hc>(HC|SUBBED))\b"), new CustomFormat("Hardcoded Subs", @"C_RX_\b(?<hcsub>(\w+SUBS?)\b)|(?<hc>(HC|SUBBED))\b"),
new CustomFormat("Surround", @"C_R_\b((7|5).1)\b"), new CustomFormat("Surround", @"C_RX_\b((7|5).1)\b"),
new CustomFormat("Preferred Words", @"C_R_\b(SPARKS|Framestor)\b"), new CustomFormat("Preferred Words", @"C_RX_\b(SPARKS|Framestor)\b"),
new CustomFormat("Scene", @"I_G_Scene"), new CustomFormat("Scene", @"I_G_Scene"),
new CustomFormat("Internal Releases", @"I_HDB_Internal", @"I_AHD_Internal") new CustomFormat("Internal Releases", @"I_HDB_Internal", @"I_AHD_Internal")
} }

View File

@ -106,7 +106,7 @@ module.exports = Marionette.Layout.extend({
_showGrid : function() { _showGrid : function() {
if (this.filesCollection.length === 0) { if (this.filesCollection.length === 0) {
this.grid.show(new NoResultsView()); this.regionManager.get('grid').show(new NoResultsView());
} }
else { else {
this.regionManager.get('grid').show(new Backgrid.Grid({ this.regionManager.get('grid').show(new Backgrid.Grid({