Răsfoiți Sursa

Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
1hitsong 2 ani în urmă
părinte
comite
10b07ed9a5
1 a modificat fișierele cu 1 adăugiri și 7 ștergeri
  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";
     public string Name => "LrcLyricProvider";
 
 
     /// <inheritdoc />
     /// <inheritdoc />
-    public IEnumerable<string> SupportedMediaTypes
-    {
-        get => new Collection<string>
-            {
-                "lrc"
-            };
-    }
+    public IEnumerable<string> SupportedMediaTypes { get; } = new[] { "lrc" };
 
 
     /// <summary>
     /// <summary>
     /// Opens lyric file for the requested item, and processes it for API return.
     /// Opens lyric file for the requested item, and processes it for API return.