mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-06 18:26:33 +00:00
make channel access opt-in rather than opt out
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.Common.IO;
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.IsoMounter;
|
||||
using MediaBrowser.Model.Logging;
|
||||
using MediaBrowser.Server.Startup.Common;
|
||||
@@ -10,6 +11,13 @@ namespace MediaBrowser.ServerApplication.Native
|
||||
{
|
||||
public class WindowsApp : INativeApp
|
||||
{
|
||||
private readonly IFileSystem _fileSystem;
|
||||
|
||||
public WindowsApp(IFileSystem fileSystem)
|
||||
{
|
||||
_fileSystem = fileSystem;
|
||||
}
|
||||
|
||||
public List<Assembly> GetAssembliesWithParts()
|
||||
{
|
||||
var list = new List<Assembly>();
|
||||
@@ -89,7 +97,7 @@ namespace MediaBrowser.ServerApplication.Native
|
||||
|
||||
public void ConfigureAutoRun(bool autorun)
|
||||
{
|
||||
Autorun.Configure(autorun);
|
||||
Autorun.Configure(autorun, _fileSystem);
|
||||
}
|
||||
|
||||
public INetworkManager CreateNetworkManager(ILogger logger)
|
||||
|
||||
Reference in New Issue
Block a user