Update LiveTvService (Channels and Recording)

pull/702/head
Sven Van den brande 11 years ago
parent 1f0fc33a86
commit e4564ac860

@ -97,7 +97,7 @@ namespace MediaBrowser.Api.LiveTv
var recordings = await Task.WhenAll(tasks).ConfigureAwait(false);
return recordings.SelectMany(i => i);
return recordings.SelectMany(i => i).Select(_liveTvManager.GetRecordingInfo);
}
public object Get(GetEpg request)

@ -27,5 +27,7 @@ namespace MediaBrowser.Controller.LiveTv
/// <param name="info">The info.</param>
/// <returns>ChannelInfoDto.</returns>
ChannelInfoDto GetChannelInfoDto(ChannelInfo info);
RecordingInfo GetRecordingInfo(RecordingInfo info);
}
}

@ -43,5 +43,10 @@ namespace MediaBrowser.Server.Implementations.LiveTv
Id = info.Id
};
}
public RecordingInfo GetRecordingInfo(RecordingInfo info)
{
return info;
}
}
}

Loading…
Cancel
Save