diff options
| author | Bond_009 <bond.009@outlook.com> | 2018-12-30 15:25:08 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2018-12-30 15:27:31 +0100 |
| commit | 76d3f60f0664529bb80a24fb225f6091619c3564 (patch) | |
| tree | 94a13d2d2a942e29967b4d7a8fd2ff24ca1298e1 | |
| parent | 69cf9e8fc4bc7b20a3d2df15877bc214ce726579 (diff) | |
Fix NullRefException
| -rw-r--r-- | Emby.Dlna/DlnaManager.cs | 5 | ||||
| -rw-r--r-- | 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 4c0f9415b..042a19d65 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 4e3cfe5df..d57f7e8cc 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) ); } |
