diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-09-21 21:00:05 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-09-21 21:00:05 +0000 |
commit | f7c3003fdf5add1d871a9532d0988d300f8ce7a6 (patch) | |
tree | f94deb1f50816e0e5f6ea5b853406eb623f8c958 | |
parent | a5f8f8f21ebbae6e7c43906772a41582ddd6b7fd (diff) |
Do not show both organizer and introduction in the end if both are
identical. Only show organizer.
-rwxr-xr-x | tools/gen_frikanalen_video.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gen_frikanalen_video.pl b/tools/gen_frikanalen_video.pl index f65d350..bb4382f 100755 --- a/tools/gen_frikanalen_video.pl +++ b/tools/gen_frikanalen_video.pl @@ -178,6 +178,10 @@ sub create_endposter_png { my @endnote_tags = ("introduction","organizer","camera","sound","videomixer","editor","email" ); foreach my $n ( @endnote_tags ) { if ($meta->{$n} ) { + + # Only show organizer if introduction and organizer are identical. + next if ("introduction" eq $n && $meta->{$n} eq $meta->{'organizer'}); + push(@endnotes,"$keyword_map{$n}: $meta->{$n}"); } } |