summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-11-25 23:48:07 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-11-25 23:48:07 (GMT)
commit158e1d1005ef35017b4fdacbbd276a765d7af9f6 (patch)
treeabea04783dc8ba86f431dfac9c52c8cd4634c01d
parent7f611570d53dd483d7d8083ecae477bc87f12094 (diff)
handle show type for export
-rwxr-xr-xrh-bin/showlist.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/rh-bin/showlist.json b/rh-bin/showlist.json
index 6839842..3d38da2 100755
--- a/rh-bin/showlist.json
+++ b/rh-bin/showlist.json
@@ -53,6 +53,9 @@ if(defined $ctx) {
my %mshow;
$mshow{'id'} = int($href->{'ID'});
$mshow{'title'} = $href->{'TITLE'};
+ if($href->{'TYPE'} eq 'r') {
+ $mshow{'title'} .= ' (Wiederholung)';
+ }
$mshow{'weeks'} = $href->{'SHOWS'};
my %parts = %{$href->{'SHOWS'}};
@@ -70,6 +73,9 @@ if(defined $ctx) {
my %show;
$show{'id'} = int($href->{'ID'});
$show{'title'} = $href->{'TITLE'};
+ if($href->{'TYPE'} eq 'r') {
+ $show{'title'} .= ' (Wiederholung)';
+ }
if(exists($multirefs{$href->{'ID'}})) {
$show{'multi'} = $multirefs{$href->{'ID'}};
}