mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 06:18:28 +01:00
Remove automapper tool
This commit is contained in:
52
MediaBrowser.Controller/Lyrics/LyricMetadata.cs
Normal file
52
MediaBrowser.Controller/Lyrics/LyricMetadata.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
namespace MediaBrowser.Controller.Lyrics;
|
||||
|
||||
/// <summary>
|
||||
/// LyricMetadata model.
|
||||
/// </summary>
|
||||
public class LyricMetadata
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets Artist - The song artist.
|
||||
/// </summary>
|
||||
public string? Artist { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Album - The album this song is on.
|
||||
/// </summary>
|
||||
public string? Album { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Title - The title of the song.
|
||||
/// </summary>
|
||||
public string? Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Author - Creator of the lyric data.
|
||||
/// </summary>
|
||||
public string? Author { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Length - How long the song is.
|
||||
/// </summary>
|
||||
public string? Length { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets By - Creator of the LRC file.
|
||||
/// </summary>
|
||||
public string? By { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Offset - Offset:+/- Timestamp adjustment in milliseconds.
|
||||
/// </summary>
|
||||
public string? Offset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Creator - 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.
|
||||
/// </summary>
|
||||
public string? Version { get; set; }
|
||||
}
|
||||
@@ -10,7 +10,7 @@ public class LyricResponse
|
||||
/// <summary>
|
||||
/// Gets or sets Metadata.
|
||||
/// </summary>
|
||||
public Metadata? Metadata { get; set; }
|
||||
public LyricMetadata? Metadata { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Lyrics.
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Controller.Lyrics;
|
||||
|
||||
/// <summary>
|
||||
/// Metadata model.
|
||||
/// </summary>
|
||||
public class Metadata
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets Artist - [ar:The song artist].
|
||||
/// </summary>
|
||||
public string? Ar { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Album - [al:The album this song is on].
|
||||
/// </summary>
|
||||
public string? Al { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Title - [ti:The title of the song].
|
||||
/// </summary>
|
||||
public string? Ti { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Author - [au:Creator of the lyric data].
|
||||
/// </summary>
|
||||
public string? Au { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Length - [length:How long the song is].
|
||||
/// </summary>
|
||||
public string? Length { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets By - [by:Creator of the LRC file].
|
||||
/// </summary>
|
||||
public string? By { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Offset - [offsec:+/- Timestamp adjustment in milliseconds].
|
||||
/// </summary>
|
||||
public string? Offset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Creator - [re:The Software used to create the LRC file].
|
||||
/// </summary>
|
||||
public string? Re { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets Version - [ve:The version of the Creator used].
|
||||
/// </summary>
|
||||
public string? Ve { get; set; }
|
||||
}
|
||||
@@ -18,7 +18,6 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="AutoMapper" Version="11.0.1" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
|
||||
|
||||
Reference in New Issue
Block a user