diff options
| author | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-21 17:49:28 -0400 |
|---|---|---|
| committer | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-21 17:49:28 -0400 |
| commit | 35399ce8fef0559f65bee4f519c582d192a04e52 (patch) | |
| tree | e2dd15a87977acdee268b9eff396e7574f13dfe7 /MediaBrowser.Controller/Lyrics | |
| parent | b1771f07e92dd47f8e49c7f96f61b731d4a6065c (diff) | |
Update summaries, Use spans
Diffstat (limited to 'MediaBrowser.Controller/Lyrics')
| -rw-r--r-- | MediaBrowser.Controller/Lyrics/LyricLine.cs | 10 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Lyrics/LyricMetadata.cs | 18 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Lyrics/LyricResponse.cs | 4 |
3 files changed, 16 insertions, 16 deletions
diff --git a/MediaBrowser.Controller/Lyrics/LyricLine.cs b/MediaBrowser.Controller/Lyrics/LyricLine.cs index eb5ff9972..c406f92fc 100644 --- a/MediaBrowser.Controller/Lyrics/LyricLine.cs +++ b/MediaBrowser.Controller/Lyrics/LyricLine.cs @@ -12,17 +12,17 @@ public class LyricLine /// <param name="start">The lyric start time in ticks.</param> public LyricLine(string text, long? start = null) { - Start = start; Text = text; + Start = start; } /// <summary> - /// Gets the start time in ticks. + /// Gets the text of this lyric line. /// </summary> - public long? Start { get; } + public string Text { get; } /// <summary> - /// Gets the text. + /// Gets the start time in ticks. /// </summary> - public string Text { get; } + public long? Start { get; } } diff --git a/MediaBrowser.Controller/Lyrics/LyricMetadata.cs b/MediaBrowser.Controller/Lyrics/LyricMetadata.cs index 0ba777975..6091ede52 100644 --- a/MediaBrowser.Controller/Lyrics/LyricMetadata.cs +++ b/MediaBrowser.Controller/Lyrics/LyricMetadata.cs @@ -8,47 +8,47 @@ namespace MediaBrowser.Controller.Lyrics; public class LyricMetadata { /// <summary> - /// Gets or sets Artist - The song artist. + /// Gets or sets the song artist. /// </summary> public string? Artist { get; set; } /// <summary> - /// Gets or sets Album - The album this song is on. + /// Gets or sets the album this song is on. /// </summary> public string? Album { get; set; } /// <summary> - /// Gets or sets Title - The title of the song. + /// Gets or sets the title of the song. /// </summary> public string? Title { get; set; } /// <summary> - /// Gets or sets Author - Creator of the lyric data. + /// Gets or sets the author of the lyric data. /// </summary> public string? Author { get; set; } /// <summary> - /// Gets or sets Length - How long the song is. + /// Gets or sets the length of the song in ticks. /// </summary> public long? Length { get; set; } /// <summary> - /// Gets or sets By - Creator of the LRC file. + /// Gets or sets who the LRC file was created by. /// </summary> public string? By { get; set; } /// <summary> - /// Gets or sets Offset - Offset:+/- Timestamp adjustment in milliseconds. + /// Gets or sets the lyric offset compared to audio in ticks. /// </summary> public long? Offset { get; set; } /// <summary> - /// Gets or sets Creator - The Software used to create the LRC file. + /// Gets or sets the software used to create the LRC file. /// </summary> public string? Creator { get; set; } /// <summary> - /// Gets or sets Version - The version of the Creator used. + /// Gets or sets the version of the creator used. /// </summary> public string? Version { get; set; } } diff --git a/MediaBrowser.Controller/Lyrics/LyricResponse.cs b/MediaBrowser.Controller/Lyrics/LyricResponse.cs index 56a569645..0d52b5ec5 100644 --- a/MediaBrowser.Controller/Lyrics/LyricResponse.cs +++ b/MediaBrowser.Controller/Lyrics/LyricResponse.cs @@ -9,12 +9,12 @@ namespace MediaBrowser.Controller.Lyrics; public class LyricResponse { /// <summary> - /// Gets or sets Metadata. + /// Gets or sets Metadata for the lyrics. /// </summary> public LyricMetadata Metadata { get; set; } = new(); /// <summary> - /// Gets or sets Lyrics. + /// Gets or sets a collection of individual lyric lines. /// </summary> public IReadOnlyList<LyricLine> Lyrics { get; set; } = Array.Empty<LyricLine>(); } |
