summaryrefslogtreecommitdiff
path: root/rh-bin/showlist.json
diff options
context:
space:
mode:
Diffstat (limited to 'rh-bin/showlist.json')
-rwxr-xr-xrh-bin/showlist.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/rh-bin/showlist.json b/rh-bin/showlist.json
index c7a3b5e..d82e8e0 100755
--- a/rh-bin/showlist.json
+++ b/rh-bin/showlist.json
@@ -52,10 +52,10 @@ if(defined $ctx) {
for my $href (@sorted) {
my %mshow;
$mshow{'id'} = int($href->{'ID'});
+ $mshow{'type'} = $href->{'TYPE'};
$mshow{'title'} = $href->{'TITLE'};
- if($href->{'TYPE'} eq 'r') {
- $mshow{'title'} .= ' (Wiederholung)';
- }
+ $mshow{'title'} .= ' (Wiederholung)' if($href->{'TYPE'} eq 'r');
+ $mshow{'title'} .= ' (Sondersendung)' if($href->{'TYPE'} eq 's');
$mshow{'weeks'} = $href->{'SHOWS'};
my %parts = %{$href->{'SHOWS'}};
@@ -72,10 +72,10 @@ if(defined $ctx) {
for my $href (@sorted) {
my %show;
$show{'id'} = int($href->{'ID'});
+ $show{'type'} = $href->{'TYPE'};
$show{'title'} = $href->{'TITLE'};
- if($href->{'TYPE'} eq 'r') {
- $show{'title'} .= ' (Wiederholung)';
- }
+ $show{'title'} .= ' (Wiederholung)' if($href->{'TYPE'} eq 'r');
+ $show{'title'} .= ' (Sondersendung)' if($href->{'TYPE'} eq 's');
if(exists($multirefs{$href->{'ID'}})) {
$show{'multi'} = $multirefs{$href->{'ID'}};
}