aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author1hitsong <3330318+1hitsong@users.noreply.github.com>2022-09-19 17:46:29 -0400
committerGitHub <noreply@github.com>2022-09-19 17:46:29 -0400
commitdf85b2fe651ce060cf3b7c4a20c5254c9c80f3aa (patch)
treea3276ce52f0335bb6a15eced9dd4760e04219234
parent838334b322e7d8781c1514bcbf33df85e94b797c (diff)
Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
-rw-r--r--MediaBrowser.Providers/Lyric/LrcLyricProvider.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/MediaBrowser.Providers/Lyric/LrcLyricProvider.cs b/MediaBrowser.Providers/Lyric/LrcLyricProvider.cs
index 0422549ff..debf982cb 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.