aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/Lyric
diff options
context:
space:
mode:
author1hitsong <3330318+1hitsong@users.noreply.github.com>2022-09-18 12:38:01 -0400
committerGitHub <noreply@github.com>2022-09-18 12:38:01 -0400
commitdb662eeb333ea4e5c7764c4738e8e88a5efc0e8c (patch)
tree63683bd97e4e2e3c7c0730088c5e52c779018f20 /MediaBrowser.Providers/Lyric
parenta52d108af6b8519715bc7005e7db3f1a116760bc (diff)
Update MediaBrowser.Providers/Lyric/TxtLyricProvider.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'MediaBrowser.Providers/Lyric')
-rw-r--r--MediaBrowser.Providers/Lyric/TxtLyricProvider.cs8
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.