From 76c9e0f54ac8e37af3156a43a871a8202548c995 Mon Sep 17 00:00:00 2001 From: "hieda_kyuko@hpr" <ugo58956@protonmail.com> Date: Fri, 9 May 2025 11:26:12 +0200 Subject: [PATCH] Use correct station IDs --- src/oud2_parser.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/oud2_parser.pl b/src/oud2_parser.pl index 947056b..cb39b81 100644 --- a/src/oud2_parser.pl +++ b/src/oud2_parser.pl @@ -300,11 +300,15 @@ foreach my $frame (values %{ $master{'rosen'} }) my $old_ref = MasterUtils::sta_from_id \%master, $old; if ($old_ref->{'ekimei'} eq $ekimei) { - Log::i "Found $ekimei in the existing index (first found in " . $old_ref->{'found_in'} . ')'; + Log::i "Found $ekimei in the existing index (first found in " . $old_ref->{'found_in'} . " with id $old)"; Log::i "Assuming this is the same station as the one processed earlier."; + push @new_ekis, $old; + $restart = 1; last; } } + + if ($restart) { next; } my $id = $frame->{'id'} . "_$index"; print "Adding station $ekimei to master frame with id $id\n"; -- GitLab