aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs8
-rw-r--r--MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs19
-rw-r--r--MediaBrowser.Model/MediaBrowser.Model.csproj1
3 files changed, 28 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>();
+ }
+ }
+}
diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj
index db278baa1..a5191192c 100644
--- a/MediaBrowser.Model/MediaBrowser.Model.csproj
+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj
@@ -137,6 +137,7 @@
<Compile Include="Dto\MetadataEditorInfo.cs" />
<Compile Include="Dto\NameIdPair.cs" />
<Compile Include="Dto\NameValuePair.cs" />
+ <Compile Include="FileOrganization\SmartMatchInfo.cs" />
<Compile Include="MediaInfo\LiveStreamRequest.cs" />
<Compile Include="MediaInfo\LiveStreamResponse.cs" />
<Compile Include="MediaInfo\PlaybackInfoRequest.cs" />