Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
pull/8381/head
1hitsong 2 years ago committed by GitHub
parent 838334b322
commit df85b2fe65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.

Loading…
Cancel
Save