aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Lyrics
diff options
context:
space:
mode:
author1hitsong <3330318+1hitsong@users.noreply.github.com>2022-09-18 11:47:57 -0400
committer1hitsong <3330318+1hitsong@users.noreply.github.com>2022-09-18 11:47:57 -0400
commita52d108af6b8519715bc7005e7db3f1a116760bc (patch)
tree000f0713cdf86eba6a51f53afb1bd03cabac7e7a /MediaBrowser.Controller/Lyrics
parent0b86630be7737e28555f0132322ecd02915284c5 (diff)
Remove automapper tool
Diffstat (limited to 'MediaBrowser.Controller/Lyrics')
-rw-r--r--MediaBrowser.Controller/Lyrics/LyricMetadata.cs52
-rw-r--r--MediaBrowser.Controller/Lyrics/LyricResponse.cs2
-rw-r--r--MediaBrowser.Controller/Lyrics/Metadata.cs54
3 files changed, 53 insertions, 55 deletions
diff --git a/MediaBrowser.Controller/Lyrics/LyricMetadata.cs b/MediaBrowser.Controller/Lyrics/LyricMetadata.cs
new file mode 100644
index 000000000..36a833f85
--- /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 adc13050e..989248388 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 114b56777..000000000
--- 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; }
-}