Explorar el Código

fix 3.5 build error

Luke Pulverenti hace 9 años
padre
commit
67642b6f57
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      MediaBrowser.Model/Dlna/StreamInfo.cs

+ 1 - 1
MediaBrowser.Model/Dlna/StreamInfo.cs

@@ -345,7 +345,7 @@ namespace MediaBrowser.Model.Dlna
                         StringHelper.ToStringCultureInvariant(startPositionTicks),
                         subtitleProfile.Format);
 
-                    if (!string.IsNullOrWhiteSpace(accessToken))
+                    if (!string.IsNullOrEmpty(accessToken))
                     {
                         info.Url += "?api_key=" + accessToken;
                     }