mirror of
https://github.com/jellyfin/jellyfin-plugin-bookshelf.git
synced 2024-11-23 21:59:53 +00:00
Minor fix to boolean logic
Minor fix to boolean logic in test code
This commit is contained in:
parent
309e8daf1e
commit
a3a61b9cc4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user