Browse Source

Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
1hitsong 2 years ago
parent
commit
df85b2fe65
1 changed files with 1 additions and 5 deletions
  1. 1 5
      MediaBrowser.Providers/Lyric/LrcLyricProvider.cs

+ 1 - 5
MediaBrowser.Providers/Lyric/LrcLyricProvider.cs

@@ -39,11 +39,7 @@ public class LrcLyricProvider : ILyricProvider
     /// <inheritdoc />
     /// <inheritdoc />
     public IReadOnlyCollection<string> SupportedMediaTypes { get; } = new[] { "lrc", "elrc" };
     public IReadOnlyCollection<string> SupportedMediaTypes { get; } = new[] { "lrc", "elrc" };
 
 
-    /// <summary>
-    /// Gets the Accepted Time Formats for the metadata numeric values.
-    /// </summary>
-    /// <value>The AcceptedTimeFormats.</value>
-    private static string[] AcceptedTimeFormats => new[] { "HH:mm:ss", "H:mm:ss", "mm:ss", "m:ss" };
+    private static readonly IReadOnlyList<string> _acceptedTimeFormats = new string[] { "HH:mm:ss", "H:mm:ss", "mm:ss", "m:ss" };
 
 
     /// <summary>
     /// <summary>
     /// Opens lyric file for the requested item, and processes it for API return.
     /// Opens lyric file for the requested item, and processes it for API return.