Ver Fonte

Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
1hitsong há 2 anos atrás
pai
commit
10b07ed9a5
1 ficheiros alterados com 1 adições e 7 exclusões
  1. 1 7
      MediaBrowser.Providers/Lyric/LrcLyricProvider.cs

+ 1 - 7
MediaBrowser.Providers/Lyric/LrcLyricProvider.cs

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