The Free Software Media System - Server Backend & API
Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs
1hitsongdf85b2fe651c
diff --git a/MediaBrowser.Providers/Lyric/LrcLyricProvider.cs b/MediaBrowser.Providers/Lyric/LrcLyricProvider.csindex 0422549ff4..debf982cba 100644--- a/MediaBrowser.Providers/Lyric/LrcLyricProvider.cs+++ b/MediaBrowser.Providers/Lyric/LrcLyricProvider.cs@@ -39,11 +39,7 @@ public class LrcLyricProvider : ILyricProvider/// <inheritdoc />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>/// Opens lyric file for the requested item, and processes it for API return.