Skip to content

The Free Software Media System - Server Backend & API

Update MediaBrowser.Providers/Lyric/TxtLyricProvider.cs

1hitsongdb662eeb333e
diff --git a/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs b/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs
index d417c85981..e48bc6963e 100644
--- a/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs
+++ b/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs
@@ -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.