Skip to content

Commit

Permalink
Allow up to 31 days to display in the EPG
Browse files Browse the repository at this point in the history
Public German TV channels offer up to 28 days of EPG.
  • Loading branch information
bkuhls committed Jan 8, 2015
1 parent dc4d753 commit 2652444
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/settings/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@
<constraints>
<minimum>1</minimum>
<step>1</step>
<maximum>14</maximum>
<maximum>31</maximum>
</constraints>
<control type="spinner" format="string">
<formatlabel>17999</formatlabel>
Expand Down
2 changes: 1 addition & 1 deletion xbmc/epg/GUIEPGGridContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
namespace EPG
{
#define MAXCHANNELS 20
#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)
#define MAXBLOCKS (33 * 24 * 60 / 5) //! 33 days of 5 minute blocks (31 days for upcoming data + 1 day for past data + 1 day for fillers)

struct GridItemsPtr
{
Expand Down

0 comments on commit 2652444

Please sign in to comment.