mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-25 11:34:43 +01:00
3.2.36.7
This commit is contained in:
@@ -799,7 +799,7 @@ namespace Emby.Server.Implementations
|
||||
|
||||
protected abstract IConnectManager CreateConnectManager();
|
||||
protected abstract ISyncManager CreateSyncManager();
|
||||
|
||||
|
||||
protected virtual IHttpClient CreateHttpClient()
|
||||
{
|
||||
return new HttpClientManager.HttpClientManager(ApplicationPaths, LogManager.GetLogger("HttpClient"), FileSystemManager, MemoryStreamFactory, GetDefaultUserAgent);
|
||||
@@ -953,6 +953,7 @@ namespace Emby.Server.Implementations
|
||||
var deviceRepo = new SqliteDeviceRepository(LogManager.GetLogger("DeviceManager"), ServerConfigurationManager, FileSystemManager, JsonSerializer);
|
||||
deviceRepo.Initialize();
|
||||
DeviceManager = new DeviceManager(deviceRepo, UserManager, FileSystemManager, LibraryMonitor, ServerConfigurationManager, LogManager.GetLogger("DeviceManager"), NetworkManager);
|
||||
RegisterSingleInstance<IDeviceRepository>(deviceRepo);
|
||||
RegisterSingleInstance(DeviceManager);
|
||||
|
||||
var newsService = new Emby.Server.Implementations.News.NewsService(ApplicationPaths, JsonSerializer);
|
||||
|
||||
Reference in New Issue
Block a user