jellyfin-server/MediaBrowser.Controller/Lyrics/LyricMetadata.cs

55 lines
1.3 KiB
C#
Raw Normal View History

2022-09-18 20:05:50 +00:00
using System;
2022-09-18 15:47:57 +00:00
namespace MediaBrowser.Controller.Lyrics;
/// <summary>
/// LyricMetadata model.
/// </summary>
public class LyricMetadata
{
/// <summary>
2022-09-21 21:49:28 +00:00
/// Gets or sets the song artist.
2022-09-18 15:47:57 +00:00
/// </summary>
public string? Artist { get; set; }
/// <summary>
2022-09-21 21:49:28 +00:00
/// Gets or sets the album this song is on.
2022-09-18 15:47:57 +00:00
/// </summary>
public string? Album { get; set; }
/// <summary>
2022-09-21 21:49:28 +00:00
/// Gets or sets the title of the song.
2022-09-18 15:47:57 +00:00
/// </summary>
public string? Title { get; set; }
/// <summary>
2022-09-21 21:49:28 +00:00
/// Gets or sets the author of the lyric data.
2022-09-18 15:47:57 +00:00
/// </summary>
public string? Author { get; set; }
/// <summary>
2022-09-21 21:49:28 +00:00
/// Gets or sets the length of the song in ticks.
2022-09-18 15:47:57 +00:00
/// </summary>
2022-09-18 20:05:50 +00:00
public long? Length { get; set; }
2022-09-18 15:47:57 +00:00
/// <summary>
2022-09-21 21:49:28 +00:00
/// Gets or sets who the LRC file was created by.
2022-09-18 15:47:57 +00:00
/// </summary>
public string? By { get; set; }
/// <summary>
2022-09-21 21:49:28 +00:00
/// Gets or sets the lyric offset compared to audio in ticks.
2022-09-18 15:47:57 +00:00
/// </summary>
2022-09-18 20:05:50 +00:00
public long? Offset { get; set; }
2022-09-18 15:47:57 +00:00
/// <summary>
2022-09-21 21:49:28 +00:00
/// Gets or sets the software used to create the LRC file.
2022-09-18 15:47:57 +00:00
/// </summary>
public string? Creator { get; set; }
/// <summary>
2022-09-21 21:49:28 +00:00
/// Gets or sets the version of the creator used.
2022-09-18 15:47:57 +00:00
/// </summary>
public string? Version { get; set; }
}