fixed live tv endpoints
This commit is contained in:
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…
Reference in New Issue
Block a user