mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
added timer properties for pre/post padding seconds
This commit is contained in:
parent
7ef1816b34
commit
9b9e5fc4e4
@ -57,5 +57,17 @@ namespace MediaBrowser.Controller.LiveTv
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value>
|
/// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value>
|
||||||
public bool IsRecurring { get; set; }
|
public bool IsRecurring { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the pre padding seconds.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The pre padding seconds.</value>
|
||||||
|
public int PrePaddingSeconds { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the post padding seconds.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The post padding seconds.</value>
|
||||||
|
public int PostPaddingSeconds { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,5 +62,17 @@ namespace MediaBrowser.Model.LiveTv
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value>
|
/// <value><c>true</c> if this instance is recurring; otherwise, <c>false</c>.</value>
|
||||||
public bool IsRecurring { get; set; }
|
public bool IsRecurring { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the pre padding seconds.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The pre padding seconds.</value>
|
||||||
|
public int PrePaddingSeconds { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the post padding seconds.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The post padding seconds.</value>
|
||||||
|
public int PostPaddingSeconds { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -514,7 +514,9 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
|||||||
ExternalId = info.Id,
|
ExternalId = info.Id,
|
||||||
ChannelId = GetInternalChannelId(service.Name, info.ChannelId, info.ChannelName).ToString("N"),
|
ChannelId = GetInternalChannelId(service.Name, info.ChannelId, info.ChannelName).ToString("N"),
|
||||||
Status = info.Status,
|
Status = info.Status,
|
||||||
IsRecurring = info.IsRecurring
|
IsRecurring = info.IsRecurring,
|
||||||
|
PrePaddingSeconds = info.PrePaddingSeconds,
|
||||||
|
PostPaddingSeconds = info.PostPaddingSeconds
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(info.ProgramId))
|
if (!string.IsNullOrEmpty(info.ProgramId))
|
||||||
|
Loading…
Reference in New Issue
Block a user