|
|
@ -23,7 +23,6 @@ using MediaBrowser.Controller.Library;
|
|
|
|
using MediaBrowser.Controller.MediaEncoding;
|
|
|
|
using MediaBrowser.Controller.MediaEncoding;
|
|
|
|
using MediaBrowser.Controller.Plugins;
|
|
|
|
using MediaBrowser.Controller.Plugins;
|
|
|
|
using MediaBrowser.Controller.Session;
|
|
|
|
using MediaBrowser.Controller.Session;
|
|
|
|
using MediaBrowser.Controller.TV;
|
|
|
|
|
|
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
using MediaBrowser.Model.Globalization;
|
|
|
|
using MediaBrowser.Model.Globalization;
|
|
|
|
using MediaBrowser.Model.Net;
|
|
|
|
using MediaBrowser.Model.Net;
|
|
|
@ -76,9 +75,7 @@ namespace Emby.Dlna.Main
|
|
|
|
IDeviceDiscovery deviceDiscovery,
|
|
|
|
IDeviceDiscovery deviceDiscovery,
|
|
|
|
IMediaEncoder mediaEncoder,
|
|
|
|
IMediaEncoder mediaEncoder,
|
|
|
|
ISocketFactory socketFactory,
|
|
|
|
ISocketFactory socketFactory,
|
|
|
|
INetworkManager networkManager,
|
|
|
|
INetworkManager networkManager)
|
|
|
|
IUserViewManager userViewManager,
|
|
|
|
|
|
|
|
ITVSeriesManager tvSeriesManager)
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_config = config;
|
|
|
|
_config = config;
|
|
|
|
_appHost = appHost;
|
|
|
|
_appHost = appHost;
|
|
|
@ -97,21 +94,6 @@ namespace Emby.Dlna.Main
|
|
|
|
_networkManager = networkManager;
|
|
|
|
_networkManager = networkManager;
|
|
|
|
_logger = loggerFactory.CreateLogger<DlnaEntryPoint>();
|
|
|
|
_logger = loggerFactory.CreateLogger<DlnaEntryPoint>();
|
|
|
|
|
|
|
|
|
|
|
|
ContentDirectory = new ContentDirectory.ContentDirectoryService(
|
|
|
|
|
|
|
|
dlnaManager,
|
|
|
|
|
|
|
|
userDataManager,
|
|
|
|
|
|
|
|
imageProcessor,
|
|
|
|
|
|
|
|
libraryManager,
|
|
|
|
|
|
|
|
config,
|
|
|
|
|
|
|
|
userManager,
|
|
|
|
|
|
|
|
loggerFactory.CreateLogger<ContentDirectory.ContentDirectoryService>(),
|
|
|
|
|
|
|
|
httpClientFactory,
|
|
|
|
|
|
|
|
localizationManager,
|
|
|
|
|
|
|
|
mediaSourceManager,
|
|
|
|
|
|
|
|
userViewManager,
|
|
|
|
|
|
|
|
mediaEncoder,
|
|
|
|
|
|
|
|
tvSeriesManager);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ConnectionManager = new ConnectionManager.ConnectionManagerService(
|
|
|
|
ConnectionManager = new ConnectionManager.ConnectionManagerService(
|
|
|
|
dlnaManager,
|
|
|
|
dlnaManager,
|
|
|
|
config,
|
|
|
|
config,
|
|
|
@ -140,8 +122,6 @@ namespace Emby.Dlna.Main
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public static bool Enabled { get; private set; }
|
|
|
|
public static bool Enabled { get; private set; }
|
|
|
|
|
|
|
|
|
|
|
|
public IContentDirectory ContentDirectory { get; private set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public IConnectionManager ConnectionManager { get; private set; }
|
|
|
|
public IConnectionManager ConnectionManager { get; private set; }
|
|
|
|
|
|
|
|
|
|
|
|
public IMediaReceiverRegistrar MediaReceiverRegistrar { get; private set; }
|
|
|
|
public IMediaReceiverRegistrar MediaReceiverRegistrar { get; private set; }
|
|
|
@ -453,7 +433,6 @@ namespace Emby.Dlna.Main
|
|
|
|
_communicationsServer = null;
|
|
|
|
_communicationsServer = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ContentDirectory = null;
|
|
|
|
|
|
|
|
ConnectionManager = null;
|
|
|
|
ConnectionManager = null;
|
|
|
|
MediaReceiverRegistrar = null;
|
|
|
|
MediaReceiverRegistrar = null;
|
|
|
|
Current = null;
|
|
|
|
Current = null;
|
|
|
|