aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Lyrics/LyricFile.cs
diff options
context:
space:
mode:
authorNiels van Velzen <git@ndat.nl>2023-06-20 16:51:07 +0200
committerNiels van Velzen <git@ndat.nl>2023-06-23 21:13:20 +0200
commit6de56f05186b77042a611112d82208b8fa8675fb (patch)
treefc240188be55246860d6b091cccbb4a81813fd66 /MediaBrowser.Controller/Lyrics/LyricFile.cs
parenta1eb2f6ea8cd78d527f1ae395378419f016208ab (diff)
Add support for lyric provider plugins
Diffstat (limited to 'MediaBrowser.Controller/Lyrics/LyricFile.cs')
-rw-r--r--MediaBrowser.Controller/Lyrics/LyricFile.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Lyrics/LyricFile.cs b/MediaBrowser.Controller/Lyrics/LyricFile.cs
new file mode 100644
index 000000000..21096797a
--- /dev/null
+++ b/MediaBrowser.Controller/Lyrics/LyricFile.cs
@@ -0,0 +1,28 @@
+namespace MediaBrowser.Providers.Lyric;
+
+/// <summary>
+/// The information for a raw lyrics file before parsing.
+/// </summary>
+public class LyricFile
+{
+ /// <summary>
+ /// Initializes a new instance of the <see cref="LyricFile"/> class.
+ /// </summary>
+ /// <param name="name">The name.</param>
+ /// <param name="content">The content.</param>
+ public LyricFile(string name, string content)
+ {
+ Name = name;
+ Content = content;
+ }
+
+ /// <summary>
+ /// Gets or sets the name of the lyrics file. This must include the file extension.
+ /// </summary>
+ public string Name { get; set; }
+
+ /// <summary>
+ /// Gets or sets the contents of the file.
+ /// </summary>
+ public string Content { get; set; }
+}