mirror of
https://github.com/jellyfin/jellyfin-plugin-tmdbboxsets.git
synced 2024-11-23 14:09:53 +00:00
44 lines
1.3 KiB
C#
44 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Jellyfin.Plugin.TMDbBoxSets.Configuration;
|
|
using MediaBrowser.Common.Configuration;
|
|
using MediaBrowser.Common.Plugins;
|
|
using MediaBrowser.Model.Plugins;
|
|
using MediaBrowser.Model.Serialization;
|
|
|
|
namespace Jellyfin.Plugin.TMDbBoxSets
|
|
{
|
|
public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
|
{
|
|
public Plugin(IApplicationPaths appPaths, IXmlSerializer xmlSerializer)
|
|
: base(appPaths, xmlSerializer)
|
|
{
|
|
Instance = this;
|
|
}
|
|
|
|
public override string Name => "TMDb Box Sets";
|
|
|
|
public static Plugin Instance { get; private set; }
|
|
|
|
public override string Description
|
|
=> "Automatically create movie box sets based on TMDb collections";
|
|
|
|
public PluginConfiguration PluginConfiguration => Configuration;
|
|
|
|
private readonly Guid _id = new Guid("bc4aad2e-d3d0-4725-a5e2-fd07949e5b42");
|
|
public override Guid Id => _id;
|
|
|
|
public IEnumerable<PluginPageInfo> GetPages()
|
|
{
|
|
return new[]
|
|
{
|
|
new PluginPageInfo
|
|
{
|
|
Name = "TMDb Box Sets",
|
|
EmbeddedResourcePath = GetType().Namespace + ".Configuration.configurationpage.html"
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|