diff options
| author | crobibero <cody@robibe.ro> | 2020-06-06 08:26:34 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-06 08:26:34 -0600 |
| commit | 0982b73c117cc7ee66cde3a3a1bba80a659cfd57 (patch) | |
| tree | 84622abf0acd9152e56267ccb0c4c4ccbd02e386 /MediaBrowser.Providers/Plugins/Omdb/Plugin.cs | |
| parent | 57d1dbfe7b3bc4ad8cc4cc1c89313ad394db4f50 (diff) | |
| parent | 6d4f3c42a215e25d6c2afe21d03bf93b208a0565 (diff) | |
Merge remote-tracking branch 'upstream/master' into ilogger
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" + }; + } + } +} |
