mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
Update LiveTvService (Channels and Recording)
This commit is contained in:
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…
Reference in a new issue