mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-31 20:24:21 -04: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 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 CultureInfo _usCulture = new ("en-US");
|
||||||
private readonly ILogger _logger;
|
private readonly ILogger _logger;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user