Bläddra i källkod

Fix NullRefException

Bond_009 6 år sedan
förälder
incheckning
76d3f60f06
2 ändrade filer med 4 tillägg och 3 borttagningar
  1. 3 2
      Emby.Dlna/DlnaManager.cs
  2. 1 1
      Emby.Server.Implementations/LiveTv/LiveTvManager.cs

+ 3 - 2
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()
         {
         }
-    }
+    }*/
 }
+

+ 1 - 1
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)
                 );
             }