mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 02:49:05 -07:00
3a868e28b3
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.
26 lines
724 B
C#
26 lines
724 B
C#
|
|
using System.Collections.Generic;
|
|
namespace MediaBrowser.Model.FileOrganization
|
|
{
|
|
public class AutoOrganizeOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the tv options.
|
|
/// </summary>
|
|
/// <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>();
|
|
}
|
|
}
|
|
}
|