Update MediaBrowser.Providers/Lyric/TxtLyricProvider.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
1hitsong 2022-09-18 12:38:01 -04:00 committed by GitHub
parent a52d108af6
commit db662eeb33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,13 +16,7 @@ public class TxtLyricProvider : ILyricProvider
public string Name { get; } = "TxtLyricProvider";
/// <inheritdoc />
public IEnumerable<string> SupportedMediaTypes
{
get => new Collection<string>
{
"lrc", "txt"
};
}
public IEnumerable<string> SupportedMediaTypes { get; } = new[] { "lrc", "txt" };
/// <summary>
/// Opens lyric file for the requested item, and processes it for API return.