it builds again
This commit is contained in:
parent
7a89d08fc3
commit
d551480b5d
|
|
@ -11,7 +11,7 @@ namespace Jellyfin.Plugin.Webdav
|
|||
using System.Net;
|
||||
using System.Threading.Tasks;
|
||||
using Jellyfin.Plugin.Webdav.Configuration;
|
||||
using WebDav.Client;
|
||||
using WebDav;
|
||||
|
||||
/// <summary>
|
||||
/// Service for interacting with WebDAV endpoints.
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ namespace Jellyfin.Plugin.Webdav
|
|||
using MediaBrowser.Controller.Library;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using MediaBrowser.Model.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// Hosted service that synchronizes WebDAV content into the local cache directory
|
||||
|
|
@ -58,8 +59,9 @@ namespace Jellyfin.Plugin.Webdav
|
|||
|
||||
var options = new LibraryOptions();
|
||||
await libraryManager
|
||||
.AddVirtualFolder("WebDAV", new[] { localRoot }, options, true)
|
||||
.AddVirtualFolder("WebDAV", null, options, true)
|
||||
.ConfigureAwait(false);
|
||||
libraryManager.AddMediaPath("WebDAV", new MediaPathInfo { Path = localRoot });
|
||||
}
|
||||
|
||||
private async Task SyncDirectoryAsync(string remotePath, string localPath, CancellationToken token)
|
||||
|
|
|
|||
Loading…
Reference in a new issue