mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
update schedules direct
This commit is contained in:
parent
ebd2f7b63d
commit
d685925bbb
|
@ -336,12 +336,6 @@ namespace MediaBrowser.Api
|
||||||
if (job.Type != TranscodingJobType.Progressive)
|
if (job.Type != TranscodingJobType.Progressive)
|
||||||
{
|
{
|
||||||
timerDuration = 1800000;
|
timerDuration = 1800000;
|
||||||
|
|
||||||
// We can really reduce the timeout for apps that are using the newer api
|
|
||||||
if (!string.IsNullOrWhiteSpace(job.PlaySessionId))
|
|
||||||
{
|
|
||||||
timerDuration = 300000;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
job.PingTimeout = timerDuration;
|
job.PingTimeout = timerDuration;
|
||||||
|
|
|
@ -337,7 +337,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
|
||||||
(details.showType ?? "No ShowType") == "TV Movie" ||
|
(details.showType ?? "No ShowType") == "TV Movie" ||
|
||||||
(details.showType ?? "No ShowType") == "Short Film",
|
(details.showType ?? "No ShowType") == "Short Film",
|
||||||
IsPremiere = false,
|
IsPremiere = false,
|
||||||
ShowId = programInfo.programID
|
ShowId = programInfo.programID,
|
||||||
|
SeriesId = programInfo.programID.Substring(0, 10)
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(details.originalAirDate))
|
if (!string.IsNullOrWhiteSpace(details.originalAirDate))
|
||||||
|
|
Loading…
Reference in a new issue