Browse Source

limit guide date picker to actual guide days

Luke Pulverenti 8 years ago
parent
commit
e4ceec749d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/LiveTv/LiveTvManager.cs

+ 1 - 1
Emby.Server.Implementations/LiveTv/LiveTvManager.cs

@@ -2647,7 +2647,7 @@ namespace Emby.Server.Implementations.LiveTv
         public GuideInfo GetGuideInfo()
         public GuideInfo GetGuideInfo()
         {
         {
             var startDate = DateTime.UtcNow;
             var startDate = DateTime.UtcNow;
-            var endDate = startDate.AddDays(14);
+            var endDate = startDate.AddDays(GetGuideDays());
 
 
             return new GuideInfo
             return new GuideInfo
             {
             {