diff options
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs | 7 | ||||
| -rw-r--r-- | MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs | 16 | ||||
| -rw-r--r-- | MediaBrowser.Model/MediaBrowser.Model.csproj | 1 |
3 files changed, 24 insertions, 0 deletions
diff --git a/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs b/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs index ae701ea68d..830d55bf54 100644 --- a/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs +++ b/MediaBrowser.Model/FileOrganization/AutoOrganizeOptions.cs @@ -9,9 +9,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 SmartMatchInfo[] SmartMatchInfos { get; set; } + public AutoOrganizeOptions() { TvOptions = new TvFileOrganizationOptions(); + SmartMatchInfos = new SmartMatchInfo[]{}; } } } diff --git a/MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs b/MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs new file mode 100644 index 0000000000..a6bc66e499 --- /dev/null +++ b/MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs @@ -0,0 +1,16 @@ + +namespace MediaBrowser.Model.FileOrganization +{ + public class SmartMatchInfo + { + public string Id { get; set; } + public string Name { get; set; } + public FileOrganizerType OrganizerType { get; set; } + public string[] MatchStrings { get; set; } + + public SmartMatchInfo() + { + MatchStrings = new string[] { }; + } + } +} diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index db278baa14..a5191192c4 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" /> |
