mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-02 13:58:29 +01:00
fix tv recording retrieval
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user