aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/FileOrganization/IFileOrganizationService.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.Controller/FileOrganization/IFileOrganizationService.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.Controller/FileOrganization/IFileOrganizationService.cs')
-rw-r--r--MediaBrowser.Controller/FileOrganization/IFileOrganizationService.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/FileOrganization/IFileOrganizationService.cs b/MediaBrowser.Controller/FileOrganization/IFileOrganizationService.cs
index ff22b0cdc..8d7f4e117 100644
--- a/MediaBrowser.Controller/FileOrganization/IFileOrganizationService.cs
+++ b/MediaBrowser.Controller/FileOrganization/IFileOrganizationService.cs
@@ -67,5 +67,19 @@ namespace MediaBrowser.Controller.FileOrganization
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task.</returns>
Task SaveResult(FileOrganizationResult result, CancellationToken cancellationToken);
+
+ /// <summary>
+ /// Returns a list of smart match entries
+ /// </summary>
+ /// <param name="query">The query.</param>
+ /// <returns>IEnumerable{SmartMatchInfo}.</returns>
+ QueryResult<SmartMatchInfo> GetSmartMatchInfos(FileOrganizationResultQuery query);
+
+ /// <summary>
+ /// Deletes a smart match entry.
+ /// </summary>
+ /// <param name="Id">Item Id.</param>
+ /// <param name="matchString">The match string to delete.</param>
+ void DeleteSmartMatchEntry(string Id, string matchString);
}
}