summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-06-18 15:52:16 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-06-18 15:52:16 +0200
commit920477d9a0a0b5d5178208fe3da342e5b925640f (patch)
tree6f620a093eb063e1c35d3049a78735e37ed49397 /bin/efa
parentf0b539d7c6619eb3c05a57bdc1b0f7d06e8f0bd5 (diff)
parse most info and make it available properly
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/efa b/bin/efa
index 38248c8..df945d6 100755
--- a/bin/efa
+++ b/bin/efa
@@ -145,13 +145,16 @@ sub display_connection {
$c->delay, $c->departure_stime, $c->arrival_stime );
}
- for my $extra ( $c->extra ) {
-
+ for my $extra ( $c->sched_info ) {
if ( not( length $ignore_info and $extra =~ /$ignore_info/i ) ) {
say "# $extra";
}
}
+ for my $notice ( $c->current_info ) {
+ printf( "# %s - %s\n", $notice->{subtitle}, $notice->{subject} );
+ }
+
if ( $opt->{maps} ) {
for my $m ( $c->departure_routemaps, $c->departure_stationmaps ) {
say "# $m";