mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-28 21:06:32 +01:00
update smart match feature
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
namespace MediaBrowser.Model.FileOrganization
|
||||
{
|
||||
public class AutoOrganizeOptions
|
||||
@@ -14,12 +13,12 @@ namespace MediaBrowser.Model.FileOrganization
|
||||
/// Gets or sets a list of smart match entries.
|
||||
/// </summary>
|
||||
/// <value>The smart match entries.</value>
|
||||
public List<SmartMatchInfo> SmartMatchInfos { get; set; }
|
||||
public SmartMatchInfo[] SmartMatchInfos { get; set; }
|
||||
|
||||
public AutoOrganizeOptions()
|
||||
{
|
||||
TvOptions = new TvFileOrganizationOptions();
|
||||
SmartMatchInfos = new List<SmartMatchInfo>();
|
||||
SmartMatchInfos = new SmartMatchInfo[]{};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,19 +1,16 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.FileOrganization
|
||||
{
|
||||
public class SmartMatchInfo
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public FileOrganizerType OrganizerType { get; set; }
|
||||
public List<string> MatchStrings { get; set; }
|
||||
public string[] MatchStrings { get; set; }
|
||||
|
||||
public SmartMatchInfo()
|
||||
{
|
||||
MatchStrings = new List<string>();
|
||||
MatchStrings = new string[] { };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user