mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Store lyrics in the database as media streams (#9951)
This commit is contained in:
17
MediaBrowser.Model/Providers/LyricProviderInfo.cs
Normal file
17
MediaBrowser.Model/Providers/LyricProviderInfo.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace MediaBrowser.Model.Providers;
|
||||
|
||||
/// <summary>
|
||||
/// Lyric provider info.
|
||||
/// </summary>
|
||||
public class LyricProviderInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the provider name.
|
||||
/// </summary>
|
||||
public required string Name { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the provider id.
|
||||
/// </summary>
|
||||
public required string Id { get; init; }
|
||||
}
|
||||
29
MediaBrowser.Model/Providers/RemoteLyricInfo.cs
Normal file
29
MediaBrowser.Model/Providers/RemoteLyricInfo.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using MediaBrowser.Model.Lyrics;
|
||||
|
||||
namespace MediaBrowser.Model.Providers;
|
||||
|
||||
/// <summary>
|
||||
/// The remote lyric info.
|
||||
/// </summary>
|
||||
public class RemoteLyricInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the id for the lyric.
|
||||
/// </summary>
|
||||
public required string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the provider name.
|
||||
/// </summary>
|
||||
public required string ProviderName { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the lyric metadata.
|
||||
/// </summary>
|
||||
public required LyricMetadata Metadata { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the lyrics.
|
||||
/// </summary>
|
||||
public required LyricResponse Lyrics { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user