Compare commits
1 commit
main
...
issue-2-pl
| Author | SHA1 | Date | |
|---|---|---|---|
| 88b5de7aee |
3 changed files with 39 additions and 0 deletions
7
plugin/Configuration/PluginConfiguration.cs
Normal file
7
plugin/Configuration/PluginConfiguration.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
using MediaBrowser.Model.Plugins;
|
||||||
|
|
||||||
|
namespace Jellyfin.Plugin.Lessons.Configuration;
|
||||||
|
|
||||||
|
public class PluginConfiguration : BasePluginConfiguration
|
||||||
|
{
|
||||||
|
}
|
||||||
21
plugin/Plugin.cs
Normal file
21
plugin/Plugin.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
using MediaBrowser.Common.Plugins;
|
||||||
|
using MediaBrowser.Model.Plugins;
|
||||||
|
using MediaBrowser.Model.Serialization;
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
using Jellyfin.Plugin.Lessons.Configuration;
|
||||||
|
|
||||||
|
namespace Jellyfin.Plugin.Lessons;
|
||||||
|
|
||||||
|
public class Plugin : BasePlugin<PluginConfiguration>
|
||||||
|
{
|
||||||
|
public Plugin(IApplicationPaths appPaths, IXmlSerializer xmlSerializer)
|
||||||
|
: base(appPaths, xmlSerializer)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Name => "Lessons";
|
||||||
|
|
||||||
|
public override Guid Id => Guid.Parse("a1b2c3d4-e5f6-7890-abcd-ef1234567890");
|
||||||
|
|
||||||
|
public override string Description => "Homeschool lesson plans with embedded media";
|
||||||
|
}
|
||||||
11
plugin/ServiceRegistrator.cs
Normal file
11
plugin/ServiceRegistrator.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
using MediaBrowser.Common.Plugins;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
|
namespace Jellyfin.Plugin.Lessons;
|
||||||
|
|
||||||
|
public class ServiceRegistrator : IPluginServiceRegistrator
|
||||||
|
{
|
||||||
|
public void RegisterServices(IServiceCollection services)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue