diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-05-31 15:15:34 +0900 |
|---|---|---|
| committer | dkanada <dkanada@users.noreply.github.com> | 2020-05-31 15:15:34 +0900 |
| commit | 24f7f848284562221e80c863ba2758815bc6965b (patch) | |
| tree | d7f52639f5dc97f1b1e3f99046ea5f287ea3db19 /MediaBrowser.Providers/Plugins/Omdb/Plugin.cs | |
| parent | 777c9c7bc974fafb09e6a5a6b23bd29cf8529af9 (diff) | |
add plugin configurations for tvdb and omdb
Diffstat (limited to 'MediaBrowser.Providers/Plugins/Omdb/Plugin.cs')
| -rw-r--r-- | MediaBrowser.Providers/Plugins/Omdb/Plugin.cs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/MediaBrowser.Providers/Plugins/Omdb/Plugin.cs b/MediaBrowser.Providers/Plugins/Omdb/Plugin.cs new file mode 100644 index 000000000..6ce2333e0 --- /dev/null +++ b/MediaBrowser.Providers/Plugins/Omdb/Plugin.cs @@ -0,0 +1,35 @@ +using System; +using System.Collections.Generic; +using MediaBrowser.Common.Configuration; +using MediaBrowser.Common.Plugins; +using MediaBrowser.Model.Plugins; +using MediaBrowser.Model.Serialization; + +namespace MediaBrowser.Providers.Plugins.Omdb +{ + public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages + { + public static Plugin Instance { get; private set; } + + public override Guid Id => new Guid("a628c0da-fac5-4c7e-9d1a-7134223f14c8"); + + public override string Name => "OMDb"; + + public override string Description => "Get metadata for movies and other video content from OMDb."; + + public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer) + : base(applicationPaths, xmlSerializer) + { + Instance = this; + } + + public IEnumerable<PluginPageInfo> GetPages() + { + yield return new PluginPageInfo + { + Name = Name, + EmbeddedResourcePath = GetType().Namespace + ".Configuration.config.html" + }; + } + } +} |
