diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-11-25 23:48:07 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-11-25 23:48:07 (GMT) |
commit | 158e1d1005ef35017b4fdacbbd276a765d7af9f6 (patch) | |
tree | abea04783dc8ba86f431dfac9c52c8cd4634c01d /rh-bin | |
parent | 7f611570d53dd483d7d8083ecae477bc87f12094 (diff) |
handle show type for export
Diffstat (limited to 'rh-bin')
-rwxr-xr-x | rh-bin/showlist.json | 6 |
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'}}; } |