From 352d32f044dbeb7b275a8f3cffc787e341792342 Mon Sep 17 00:00:00 2001 From: ces92 Date: Thu, 12 Feb 2015 01:07:53 +0100 Subject: Removed constraint excluding departures Before departures that were further afar than 5 minutes or exceeded a limit of 7 were excluded from the infobeamer display Thanks ces92 for the patch. --- scripts/info-beamer/node.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/info-beamer/node.lua b/scripts/info-beamer/node.lua index ef27c0b..26f7eb5 100644 --- a/scripts/info-beamer/node.lua +++ b/scripts/info-beamer/node.lua @@ -35,7 +35,7 @@ function node.render() j = 0 for k, departures in pairs(stations[2]) do local remaining = math.floor(departures['remaining']/60) - if remaining >= 5 and j < 8 then + if j < 9 then j = j + 1 local timeString = string.format('%2d min', remaining) font:write(WIDTH-440 + alignRight(remaining), i, -- cgit v1.2.3