mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
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.
19 lines
441 B
C#
19 lines
441 B
C#
|
|
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>();
|
|
}
|
|
}
|
|
}
|