diff options
| author | Niels van Velzen <git@ndat.nl> | 2023-06-20 16:51:07 +0200 |
|---|---|---|
| committer | Niels van Velzen <git@ndat.nl> | 2023-06-23 21:13:20 +0200 |
| commit | 6de56f05186b77042a611112d82208b8fa8675fb (patch) | |
| tree | fc240188be55246860d6b091cccbb4a81813fd66 /MediaBrowser.Controller/Lyrics/LyricFile.cs | |
| parent | a1eb2f6ea8cd78d527f1ae395378419f016208ab (diff) | |
Add support for lyric provider plugins
Diffstat (limited to 'MediaBrowser.Controller/Lyrics/LyricFile.cs')
| -rw-r--r-- | MediaBrowser.Controller/Lyrics/LyricFile.cs | 28 |
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; } +} |
