mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
make channel access opt-in rather than opt out
This commit is contained in:
parent
f552174069
commit
d8d5dd4873
72 changed files with 399 additions and 241 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue