diff options
| author | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-18 16:17:26 -0400 |
|---|---|---|
| committer | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-18 16:17:26 -0400 |
| commit | 552b6aceae94bd8079a027407d15acf6d46f9b6e (patch) | |
| tree | 4c166e0fa329cbc142b8b82bdba70625155492d0 /MediaBrowser.Controller/Lyrics | |
| parent | 7e923e268865d8c0933a22247424d205429a474b (diff) | |
Add default values to LyricResponse
Diffstat (limited to 'MediaBrowser.Controller/Lyrics')
| -rw-r--r-- | MediaBrowser.Controller/Lyrics/LyricResponse.cs | 4 |
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>(); } |
