aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-06-02 23:16:15 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-06-02 23:16:15 -0400
commit92ce7c0fa84055dd90d33fe2fa5c1b78274047a8 (patch)
tree14bb55d70727e3ce4060a3b00723f1b96e563b71 /MediaBrowser.Controller
parent972866875182d3b6d19119a0886aac84e2f46df2 (diff)
fix tv recording retrieval
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/LiveTv/LiveTvAudioRecording.cs8
-rw-r--r--MediaBrowser.Controller/LiveTv/LiveTvVideoRecording.cs8
2 files changed, 6 insertions, 10 deletions
diff --git a/MediaBrowser.Controller/LiveTv/LiveTvAudioRecording.cs b/MediaBrowser.Controller/LiveTv/LiveTvAudioRecording.cs
index 20bde7483..3da12cd80 100644
--- a/MediaBrowser.Controller/LiveTv/LiveTvAudioRecording.cs
+++ b/MediaBrowser.Controller/LiveTv/LiveTvAudioRecording.cs
@@ -43,16 +43,14 @@ namespace MediaBrowser.Controller.LiveTv
{
var name = GetClientTypeName();
- if (!string.IsNullOrEmpty(RecordingInfo.ProgramId))
+ if (!string.IsNullOrEmpty(ProgramId))
{
- return name + "-" + RecordingInfo.ProgramId;
+ return name + "-" + ProgramId;
}
- return name + "-" + RecordingInfo.Name + (RecordingInfo.EpisodeTitle ?? string.Empty);
+ return name + "-" + Name + (EpisodeTitle ?? string.Empty);
}
- public RecordingInfo RecordingInfo { get; set; }
-
public string ServiceName { get; set; }
/// <summary>
diff --git a/MediaBrowser.Controller/LiveTv/LiveTvVideoRecording.cs b/MediaBrowser.Controller/LiveTv/LiveTvVideoRecording.cs
index a9028989f..179c33d09 100644
--- a/MediaBrowser.Controller/LiveTv/LiveTvVideoRecording.cs
+++ b/MediaBrowser.Controller/LiveTv/LiveTvVideoRecording.cs
@@ -42,16 +42,14 @@ namespace MediaBrowser.Controller.LiveTv
{
var name = GetClientTypeName();
- if (!string.IsNullOrEmpty(RecordingInfo.ProgramId))
+ if (!string.IsNullOrEmpty(ProgramId))
{
- return name + "-" + RecordingInfo.ProgramId;
+ return name + "-" + ProgramId;
}
- return name + "-" + RecordingInfo.Name + (RecordingInfo.EpisodeTitle ?? string.Empty);
+ return name + "-" + Name + (EpisodeTitle ?? string.Empty);
}
- public RecordingInfo RecordingInfo { get; set; }
-
public string ServiceName { get; set; }
[IgnoreDataMember]