aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MediaBrowser.Api/LiveTv/LiveTvService.cs2
-rw-r--r--MediaBrowser.Controller/LiveTv/ILiveTvManager.cs2
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs5
3 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.Api/LiveTv/LiveTvService.cs b/MediaBrowser.Api/LiveTv/LiveTvService.cs
index 6a8457ecb..6a914a35f 100644
--- a/MediaBrowser.Api/LiveTv/LiveTvService.cs
+++ b/MediaBrowser.Api/LiveTv/LiveTvService.cs
@@ -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)
diff --git a/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs b/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs
index 62bfdf3e5..a48a6a551 100644
--- a/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs
+++ b/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs
@@ -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);
}
}
diff --git a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
index 20beb551d..0b36c8023 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs
@@ -43,5 +43,10 @@ namespace MediaBrowser.Server.Implementations.LiveTv
Id = info.Id
};
}
+
+ public RecordingInfo GetRecordingInfo(RecordingInfo info)
+ {
+ return info;
+ }
}
}