Minor fix to boolean logic

Minor fix to boolean logic in test code
This commit is contained in:
ScottRapsey 2013-03-18 13:44:00 +11:00
parent 309e8daf1e
commit a3a61b9cc4

View File

@ -1607,7 +1607,7 @@ namespace MediaBrowser.Plugins.Dlna.Model
// }
//this is temporary code so that testers can try various combinations with their devices without needing a recompile all the time
if (!string.IsNullOrWhiteSpace(MimeType) & !string.IsNullOrWhiteSpace(UriFormatString))
if (!string.IsNullOrWhiteSpace(MimeType) && !string.IsNullOrWhiteSpace(UriFormatString))
{
var userSpecifiedResource = GetBasicMediaResource((BaseItem)item.MBItem);
userSpecifiedResource.ProtoInfo = Platinum.ProtocolInfo.GetProtocolInfoFromMimeType(MimeType, true, context);