Browse Source

update schedules direct

Luke Pulverenti 10 years ago
parent
commit
d685925bbb

+ 0 - 6
MediaBrowser.Api/ApiEntryPoint.cs

@@ -336,12 +336,6 @@ namespace MediaBrowser.Api
             if (job.Type != TranscodingJobType.Progressive)
             {
                 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;

+ 2 - 1
MediaBrowser.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs

@@ -337,7 +337,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.Listings
                     (details.showType ?? "No ShowType") == "TV Movie" ||
                     (details.showType ?? "No ShowType") == "Short Film",
                 IsPremiere = false,
-                ShowId = programInfo.programID
+                ShowId = programInfo.programID,
+                SeriesId = programInfo.programID.Substring(0, 10)
             };
 
             if (!string.IsNullOrWhiteSpace(details.originalAirDate))