fixes #341 - Session does not support remote control
This commit is contained in:
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…
Reference in New Issue
Block a user