From 7a11b1366d4748b8708d52f09ec3d3dfb650168a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 4 Oct 2019 23:39:24 +0200 Subject: stationboard: request all traininfo.exe data with rt cache This fixes outdated (missing) data for additional stops --- lib/DBInfoscreen/Controller/Stationboard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/DBInfoscreen') diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 9c8248c..d7c0bd7 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -253,7 +253,7 @@ sub get_route_timestamps { $base = 'https://reiseauskunft.bahn.de/bin/traininfo.exe/dn'; - my $traininfo = hafas_json_req( $ua, $cache_main, + my $traininfo = hafas_json_req( $ua, $cache_rt, "${base}/${trainlink}?rt=1&date=${date_yy}&L=vs_json" ); if ( not $traininfo or $traininfo->{error} ) { -- cgit v1.2.3