aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/FileOrganization
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-02-06 22:24:18 -0500
committerLuke <luke.pulverenti@gmail.com>2016-02-06 22:24:18 -0500
commitb398b4eaabad357027dbcf2a210edcada8a984fd (patch)
tree9dad1e9409b6c1eb0f4110d4795ee276546aba6d /MediaBrowser.Model/FileOrganization
parentbc6c0bd0b7ec6f57651c21726f66f9cf7a69cba3 (diff)
parentc02635c2569b0dfe2144c337cc0f8591e55c528c (diff)
Merge pull request #1432 from softworkz/SeriesDetectionV2
Supersedes #1192: Auto-Organize - Added feature to remember/persist series matching in manual organization dialog
Diffstat (limited to 'MediaBrowser.Model/FileOrganization')
-rw-r--r--MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs8
-rw-r--r--MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs19
2 files changed, 27 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>();
}
}
}
diff --git a/MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs b/MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs
new file mode 100644
index 000000000..808c0b006
--- /dev/null
+++ b/MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs
@@ -0,0 +1,19 @@
+
+using System;
+using System.Collections.Generic;
+
+namespace MediaBrowser.Model.FileOrganization
+{
+ public class SmartMatchInfo
+ {
+ public Guid Id { get; set; }
+ public string Name { get; set; }
+ public FileOrganizerType OrganizerType { get; set; }
+ public List<string> MatchStrings { get; set; }
+
+ public SmartMatchInfo()
+ {
+ MatchStrings = new List<string>();
+ }
+ }
+}