diff options
| author | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-18 12:38:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-18 12:38:01 -0400 |
| commit | db662eeb333ea4e5c7764c4738e8e88a5efc0e8c (patch) | |
| tree | 63683bd97e4e2e3c7c0730088c5e52c779018f20 | |
| parent | a52d108af6b8519715bc7005e7db3f1a116760bc (diff) | |
Update MediaBrowser.Providers/Lyric/TxtLyricProvider.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
| -rw-r--r-- | MediaBrowser.Providers/Lyric/TxtLyricProvider.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs b/MediaBrowser.Providers/Lyric/TxtLyricProvider.cs index d417c8598..e48bc6963 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. |
