aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs
diff options
context:
space:
mode:
authorsoftworkz <softworkz@hotmail.com>2015-09-23 06:12:46 +0200
committersoftworkz <softworkz@hotmail.com>2016-02-05 05:21:25 +0100
commit3a868e28b3e3d9f0a13fc38c680047010d627b0f (patch)
tree4b9f71b825e4c0222b7becc4bee5c0cf2d2871ab /MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs
parentd28ef71d93ea7fe50343f82f575637307b4d74bf (diff)
Auto-Organize: Added feature to remember/persist series matching in manual organization dialog #2
When a filename cannot be auto-matched to an existing series name, the organization must be performed manually. Unfortunately not just once, but again and again for each episode coming in. This change proposes a simple but solid method to optionally persist the matching condition from within the manual organization dialog. This approach will make Emby "learn" how to organize files in the future without user interaction.
Diffstat (limited to 'MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs')
-rw-r--r--MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs b/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs
index ae701ea68..071897b51 100644
--- a/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs
+++ b/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs
@@ -1,4 +1,5 @@

+using System.Collections.Generic;
namespace MediaBrowser.Model.FileOrganization
{
public class AutoOrganizeOptions
@@ -9,9 +10,16 @@ namespace MediaBrowser.Model.FileOrganization
/// <value>The tv options.</value>
public TvFileOrganizationOptions TvOptions { get; set; }
+ /// <summary>
+ /// Gets or sets a list of smart match entries.
+ /// </summary>
+ /// <value>The smart match entries.</value>
+ public List<SmartMatchInfo> SmartMatchInfos { get; set; }
+
public AutoOrganizeOptions()
{
TvOptions = new TvFileOrganizationOptions();
+ SmartMatchInfos = new List<SmartMatchInfo>();
}
}
}