diff options
| author | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-19 16:59:16 -0400 |
|---|---|---|
| committer | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-19 16:59:16 -0400 |
| commit | 5d2364f0646ba4f4b6866115ad82fd8fac0733de (patch) | |
| tree | 2864afa8b3a8bd7f24d364ecf6c7ea9436bf22b4 /MediaBrowser.Controller/Lyrics | |
| parent | d7fedf35128a4400dfd4c4e72bbfee3f362d565d (diff) | |
Move AcceptedTimeFormats to class level variable
Diffstat (limited to 'MediaBrowser.Controller/Lyrics')
| -rw-r--r-- | MediaBrowser.Controller/Lyrics/LyricResponse.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Lyrics/LyricResponse.cs b/MediaBrowser.Controller/Lyrics/LyricResponse.cs index 64c3b3c28..56a569645 100644 --- a/MediaBrowser.Controller/Lyrics/LyricResponse.cs +++ b/MediaBrowser.Controller/Lyrics/LyricResponse.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; namespace MediaBrowser.Controller.Lyrics; @@ -15,5 +16,5 @@ public class LyricResponse /// <summary> /// Gets or sets Lyrics. /// </summary> - public IReadOnlyList<LyricLine> Lyrics { get; set; } = new List<LyricLine>(); + public IReadOnlyList<LyricLine> Lyrics { get; set; } = Array.Empty<LyricLine>(); } |
