mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Make performer regex static
This commit is contained in:
parent
d82c2e4237
commit
7f52cda03c
@ -28,7 +28,7 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
|
||||
private readonly char[] _nameDelimiters = { '/', '|', ';', '\\' };
|
||||
|
||||
private readonly Regex _performerPattern = new (@"(?<name>.*) \((?<instrument>.*)\)");
|
||||
private static readonly Regex _performerPattern = new (@"(?<name>.*) \((?<instrument>.*)\)");
|
||||
|
||||
private readonly CultureInfo _usCulture = new ("en-US");
|
||||
private readonly ILogger _logger;
|
||||
|
Loading…
Reference in New Issue
Block a user