mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Move GetCustomTagDelimiters to Extension
This commit is contained in:
@@ -149,19 +149,5 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public char[] GetCustomTagDelimiters()
|
||||
{
|
||||
return CustomTagDelimiters.Select<string, char?>(x =>
|
||||
{
|
||||
var isChar = char.TryParse(x, out var c);
|
||||
if (isChar)
|
||||
{
|
||||
return c;
|
||||
}
|
||||
|
||||
return null;
|
||||
}).Where(x => x is not null).Select(x => x!.Value).ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user