瀏覽代碼

Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
1hitsong 3 年之前
父節點
當前提交
10b07ed9a5
共有 1 個文件被更改,包括 1 次插入7 次删除
  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.