fixed live tv endpoints

This commit is contained in:
Luke Pulverenti 2013-09-26 12:17:36 -04:00
parent aa2d2a88bd
commit b8c4056522
2 changed files with 3 additions and 4 deletions

View File

@ -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);
}

View File

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