fixes #341 - Session does not support remote control

pull/702/head
Luke Pulverenti 12 years ago
parent a6db120ef6
commit 71f026723b

@ -136,7 +136,7 @@ namespace MediaBrowser.Api
if (request.SupportsRemoteControl.HasValue) if (request.SupportsRemoteControl.HasValue)
{ {
result = result.Where(i => i.IsActive == request.SupportsRemoteControl.Value); result = result.Where(i => i.SupportsRemoteControl == request.SupportsRemoteControl.Value);
} }
return ToOptimizedResult(result.Select(SessionInfoDtoBuilder.GetSessionInfoDto).ToList()); return ToOptimizedResult(result.Select(SessionInfoDtoBuilder.GetSessionInfoDto).ToList());

Loading…
Cancel
Save