fixed live tv endpoints

pull/702/head
Luke Pulverenti 11 years ago
parent aa2d2a88bd
commit b8c4056522

@ -42,10 +42,7 @@ namespace MediaBrowser.Api.LiveTv
public object Get(GetChannels request)
{
var services = _liveTvManager.Services;
var result = services.Select(GetServiceInfo)
.ToList();
var result = GetChannelsAsync(request).Result;
return ToOptimizedResult(result);
}

@ -455,6 +455,8 @@ namespace MediaBrowser.ServerApplication
SessionManager.AddParts(GetExports<ISessionRemoteController>());
ImageProcessor.AddParts(GetExports<IImageEnhancer>());
LiveTvManager.AddParts(GetExports<ILiveTvService>());
}
/// <summary>

Loading…
Cancel
Save