config menu is back
This commit is contained in:
parent
89ee319025
commit
300fe4df28
|
|
@ -5,7 +5,6 @@
|
|||
<RootNamespace>Jellyfin.Plugin.Webdav</RootNamespace>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<Nullable>enable</Nullable>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
@ -15,6 +14,10 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Manually include the WebDav.Client.dll in the output directory -->
|
||||
<None Include="$(NuGetPackageRoot)webdav.client/2.9.0/lib/netstandard2.0/WebDav.Client.dll">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
@ -23,7 +26,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="plugin.json">
|
||||
<None Include="meta.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace Jellyfin.Plugin.Webdav
|
|||
/// <summary>
|
||||
/// Gets the plugin instance.
|
||||
/// </summary>
|
||||
public static WebdavPlugin? Instance { get; private set; }
|
||||
public static WebdavPlugin Instance { get; private set; }
|
||||
|
||||
/// <inheritdoc/>
|
||||
public IEnumerable<PluginPageInfo> GetPages()
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ namespace Jellyfin.Plugin.Webdav
|
|||
/// <inheritdoc/>
|
||||
public void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHost)
|
||||
{
|
||||
serviceCollection.AddSingleton(sp => WebdavPlugin.Instance.Configuration);
|
||||
serviceCollection.AddSingleton<WebDavClientService>();
|
||||
serviceCollection.AddHostedService<WebDavSyncService>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue