25 lines
521 B
C#
25 lines
521 B
C#
namespace EmbyToolbox.ViewModels;
|
|
|
|
public static class ConversionProfileNames
|
|
{
|
|
public static readonly string[] BuiltInOrder = ["Emby", "Web", "Archive"];
|
|
|
|
public static bool IsBuiltIn(string? name)
|
|
{
|
|
if (string.IsNullOrWhiteSpace(name))
|
|
{
|
|
return false;
|
|
}
|
|
|
|
foreach (var n in BuiltInOrder)
|
|
{
|
|
if (name.Equals(n, StringComparison.OrdinalIgnoreCase))
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
|
|
return false;
|
|
}
|
|
}
|