diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-25 01:24:35 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-25 01:24:35 +0100 |
commit | 6c2ebcb388c3ee99522b2afd9e83dcabe8eb4b61 (patch) | |
tree | ce23ffb66140656942efa81b8afcc6082636f392 | |
parent | c272713bdd663582c7942a88e9bf3a9cef3b15ce (diff) |
hafas-m: journey: filter out 'from X as Y towards Z' messages
The stop list already provides that information
-rwxr-xr-x | bin/hafas-m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/hafas-m b/bin/hafas-m index 2626eca..7df631f 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -390,6 +390,11 @@ elsif ( $opt{journey} ) { } for my $msg ( $result->messages ) { + if ( $msg->code eq + 'text.journeystop.product.or.direction.changes.journey.message' ) + { + next; + } say ''; if ( $msg->short ) { printf( "%s\n", $msg->short ); |