From 76d3f60f0664529bb80a24fb225f6091619c3564 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Sun, 30 Dec 2018 15:25:08 +0100 Subject: [PATCH] Fix NullRefException --- Emby.Dlna/DlnaManager.cs | 5 +++-- Emby.Server.Implementations/LiveTv/LiveTvManager.cs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Emby.Dlna/DlnaManager.cs b/Emby.Dlna/DlnaManager.cs index 4c0f9415bc..042a19d650 100644 --- a/Emby.Dlna/DlnaManager.cs +++ b/Emby.Dlna/DlnaManager.cs @@ -530,7 +530,7 @@ namespace Emby.Dlna }; } } - + /* class DlnaProfileEntryPoint : IServerEntryPoint { private readonly IApplicationPaths _appPaths; @@ -596,5 +596,6 @@ namespace Emby.Dlna public void Dispose() { } - } + }*/ } + diff --git a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs index 4e3cfe5df7..d57f7e8cc3 100644 --- a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs +++ b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs @@ -2400,7 +2400,7 @@ namespace Emby.Server.Implementations.LiveTv if (provider == null) { throw new ResourceNotFoundException( - string.Format("Couldn't find provider with name: '{0}' of type: '{1}'", provider.Name, provider.Type) + string.Format("Couldn't find provider of type: '{0}'", info.Type) ); }