aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/FileOrganization/SmartMatchInfo.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/SmartMatchInfo.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/SmartMatchInfo.cs')
-rw-r--r--MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs19
1 files changed, 19 insertions, 0 deletions
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>();
+ }
+ }
+}