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