Browse Source

Update MediaBrowser.Providers/Lyric/TxtLyricProvider.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
1hitsong 2 years ago
parent
commit
db662eeb33
1 changed files with 1 additions and 7 deletions
  1. 1 7
      MediaBrowser.Providers/Lyric/TxtLyricProvider.cs

+ 1 - 7
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.