mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-12 10:40:24 +01:00
make more classes portable
This commit is contained in:
@@ -4,10 +4,12 @@ using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using Emby.Server.Connect;
|
||||
using Emby.Server.Core;
|
||||
using Emby.Server.Implementations;
|
||||
using Emby.Server.Implementations.EntryPoints;
|
||||
using Emby.Server.Implementations.FFMpeg;
|
||||
using MediaBrowser.Controller.Connect;
|
||||
using MediaBrowser.Model.IO;
|
||||
using MediaBrowser.Model.Logging;
|
||||
using MediaBrowser.Model.System;
|
||||
@@ -27,6 +29,11 @@ namespace MediaBrowser.ServerApplication
|
||||
get { return MainStartup.IsRunningAsService; }
|
||||
}
|
||||
|
||||
protected override IConnectManager CreateConnectManager()
|
||||
{
|
||||
return new ConnectManager();
|
||||
}
|
||||
|
||||
protected override void RestartInternal()
|
||||
{
|
||||
MainStartup.Restart();
|
||||
@@ -41,6 +48,7 @@ namespace MediaBrowser.ServerApplication
|
||||
//list.Add(typeof(PismoIsoManager).Assembly);
|
||||
}
|
||||
|
||||
list.Add(typeof(ConnectManager).Assembly);
|
||||
list.Add(GetType().Assembly);
|
||||
|
||||
return list;
|
||||
|
||||
Reference in New Issue
Block a user