Permalink
Browse files

Merge pull request #3974 from xhaggi/epg-max-blocks

[pvr] fix: epg data limited to 8 days although 14 days are supported
  • Loading branch information...
2 parents 5586749 + 1c8a4dd commit 2a5b27adcc131d4d1583b9a9e4be8299272e12a3 @xhaggi xhaggi committed Jan 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/epg/GUIEPGGridContainer.h
@@ -34,7 +34,7 @@ namespace PVR
namespace EPG
{
#define MAXCHANNELS 20
- #define MAXBLOCKS 2304 //! !!_EIGHT_!! days of 5 minute blocks
+ #define MAXBLOCKS (16 * 24 * 60 / 5) //! 16 days of 5 minute blocks (14 days for upcoming data + 1 day for past data + 1 day for fillers)
struct GridItemsPtr
{

0 comments on commit 2a5b27a

Please sign in to comment.