From a9d5268457783df67c77b3bce67d9f750ba14df1 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 28 Oct 2022 08:24:27 +0200 Subject: station board: parse load (tcocX) as well --- bin/hafas-m | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin/hafas-m') diff --git a/bin/hafas-m b/bin/hafas-m index 0e9c8b4..f0d7968 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -293,6 +293,13 @@ for my $d ( $status->results ) { } } + if ( $d->load ) { + $info_line + = display_occupancy( $d->load->{FIRST} ) + . display_occupancy( $d->load->{SECOND} ) . ' ' + . $info_line; + } + push( @output, [ -- cgit v1.2.3