mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-06 23:35:36 +01:00
Update LiveTvService (Channels and Recording)
This commit is contained in:
parent
1f0fc33a86
commit
e4564ac860
3 changed files with 8 additions and 1 deletions
|
|
@ -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