From 71f026723b9fa9f0df130d95e5e9e1ade7b9e560 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 12 Jun 2013 11:53:29 -0400 Subject: [PATCH] fixes #341 - Session does not support remote control --- MediaBrowser.Api/SessionsService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Api/SessionsService.cs b/MediaBrowser.Api/SessionsService.cs index 1ab18a022..a682d670d 100644 --- a/MediaBrowser.Api/SessionsService.cs +++ b/MediaBrowser.Api/SessionsService.cs @@ -136,7 +136,7 @@ namespace MediaBrowser.Api 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());