aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
author1hitsong <3330318+1hitsong@users.noreply.github.com>2022-09-18 16:17:26 -0400
committer1hitsong <3330318+1hitsong@users.noreply.github.com>2022-09-18 16:17:26 -0400
commit552b6aceae94bd8079a027407d15acf6d46f9b6e (patch)
tree4c166e0fa329cbc142b8b82bdba70625155492d0 /MediaBrowser.Controller
parent7e923e268865d8c0933a22247424d205429a474b (diff)
Add default values to LyricResponse
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Lyrics/LyricResponse.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Lyrics/LyricResponse.cs b/MediaBrowser.Controller/Lyrics/LyricResponse.cs
index b3c65ac8c..ded3ca10e 100644
--- a/MediaBrowser.Controller/Lyrics/LyricResponse.cs
+++ b/MediaBrowser.Controller/Lyrics/LyricResponse.cs
@@ -10,10 +10,10 @@ public class LyricResponse
/// <summary>
/// Gets or sets Metadata.
/// </summary>
- public LyricMetadata Metadata { get; set; }
+ public LyricMetadata Metadata { get; set; } = new LyricMetadata();
/// <summary>
/// Gets or sets Lyrics.
/// </summary>
- public IEnumerable<LyricLine> Lyrics { get; set; }
+ public IReadOnlyCollection<LyricLine> Lyrics { get; set; } = new List<LyricLine>();
}