Loading lib/Travel/Status/DE/IRIS.pm +6 −3 Original line number Diff line number Diff line Loading @@ -446,8 +446,11 @@ sub get_realtime { my $ts = $e_m->getAttribute('ts'); # 0 and 1 (with key "f") are related to canceled trains and # do not appear to hold information if ( defined $value and $value > 1 ) { # do not appear to hold information (or at least none we can access). # All observed cases of message ID 900 were related to bus # connections ("Anschlussbus wartet"). We can't access which bus # it refers to, so we don't show that either. if ( defined $value and $value > 1 and $value != 900 ) { $messages{$msgid} = [ $ts, $type, $value ]; } } Loading lib/Travel/Status/DE/IRIS/Result.pm +3 −1 Original line number Diff line number Diff line Loading @@ -99,7 +99,9 @@ my %translation = ( 98 => 'Sonstige Qualitätsmängel', 99 => 'Verzögerungen im Betriebsablauf', #900 => 'Anschlussbus wartet(?)', # Occasionally, there's a message with ID 900. In all cases observed so far, # it was used for "Anschlussbus wartet". However, as we don't know which bus # it refers to, we don't show it to users. ); Travel::Status::DE::IRIS::Result->mk_ro_accessors( Loading Loading
lib/Travel/Status/DE/IRIS.pm +6 −3 Original line number Diff line number Diff line Loading @@ -446,8 +446,11 @@ sub get_realtime { my $ts = $e_m->getAttribute('ts'); # 0 and 1 (with key "f") are related to canceled trains and # do not appear to hold information if ( defined $value and $value > 1 ) { # do not appear to hold information (or at least none we can access). # All observed cases of message ID 900 were related to bus # connections ("Anschlussbus wartet"). We can't access which bus # it refers to, so we don't show that either. if ( defined $value and $value > 1 and $value != 900 ) { $messages{$msgid} = [ $ts, $type, $value ]; } } Loading
lib/Travel/Status/DE/IRIS/Result.pm +3 −1 Original line number Diff line number Diff line Loading @@ -99,7 +99,9 @@ my %translation = ( 98 => 'Sonstige Qualitätsmängel', 99 => 'Verzögerungen im Betriebsablauf', #900 => 'Anschlussbus wartet(?)', # Occasionally, there's a message with ID 900. In all cases observed so far, # it was used for "Anschlussbus wartet". However, as we don't know which bus # it refers to, we don't show it to users. ); Travel::Status::DE::IRIS::Result->mk_ro_accessors( Loading