mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 12:05:04 +01:00
Merge pull request #1432 from softworkz/SeriesDetectionV2
Supersedes #1192: Auto-Organize - Added feature to remember/persist series matching in manual organization dialog
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
19
MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs
Normal file
19
MediaBrowser.Model/FileOrganization/SmartMatchInfo.cs
Normal file
@@ -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>();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user