aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Lyrics/LyricMetadata.cs52
-rw-r--r--MediaBrowser.Controller/Lyrics/LyricResponse.cs2
-rw-r--r--MediaBrowser.Controller/Lyrics/Metadata.cs54
-rw-r--r--MediaBrowser.Controller/MediaBrowser.Controller.csproj1
4 files changed, 53 insertions, 56 deletions
diff --git a/MediaBrowser.Controller/Lyrics/LyricMetadata.cs b/MediaBrowser.Controller/Lyrics/LyricMetadata.cs
new file mode 100644
index 0000000000..36a833f85c
--- /dev/null
+++ b/MediaBrowser.Controller/Lyrics/LyricMetadata.cs
@@ -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; }
+}
diff --git a/MediaBrowser.Controller/Lyrics/LyricResponse.cs b/MediaBrowser.Controller/Lyrics/LyricResponse.cs
index adc13050ee..9892483889 100644
--- a/MediaBrowser.Controller/Lyrics/LyricResponse.cs
+++ b/MediaBrowser.Controller/Lyrics/LyricResponse.cs
@@ -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.
diff --git a/MediaBrowser.Controller/Lyrics/Metadata.cs b/MediaBrowser.Controller/Lyrics/Metadata.cs
deleted file mode 100644
index 114b56777a..0000000000
--- a/MediaBrowser.Controller/Lyrics/Metadata.cs
+++ /dev/null
@@ -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; }
-}
diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
index c08e276dcf..d4e025a43e 100644
--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj
+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
@@ -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" />