summaryrefslogtreecommitdiff
path: root/rh-bin/listdropboxes.cgi
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-07-08 15:44:34 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-07-08 15:44:43 (GMT)
commit661bf8aea88508ee89c08ee6ede2220f4e035176 (patch)
treeff4972806b09c23677810a8ea97480c8a4010ab2 /rh-bin/listdropboxes.cgi
parentf67ca98e8c4acbe11398d802a15c3c76a4b8f95c (diff)
added support for jingle dropboxes
Diffstat (limited to 'rh-bin/listdropboxes.cgi')
-rwxr-xr-xrh-bin/listdropboxes.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/rh-bin/listdropboxes.cgi b/rh-bin/listdropboxes.cgi
index 189e6cf..bfdc925 100755
--- a/rh-bin/listdropboxes.cgi
+++ b/rh-bin/listdropboxes.cgi
@@ -83,6 +83,10 @@ if($responsecode != 200) {
print " <show-dayofweek>" . $href->{'SHOWDOW'} . "</show-dayofweek>\n";
print " <show-starttime>" . $href->{'SHOWSTARTTIME'} . "</show-starttime>\n";
print " <show-length>" . $href->{'SHOWLEN'} . "</show-length>\n";
+ } elsif($href->{'TYPE'} eq "jingle") {
+ print " <jingle-title>" . $href->{'JINGLETITLE'} . "</jingle-title>\n";
+ print " <jingle-cart>" . $href->{'JINGLECART'} . "</jingle-cart>\n";
+ print " <jingle-cartdisabled>" . $href->{'JINGLECARTDISABLED'} . "</jingle-cartdisabled>\n";
}
print " </dropbox>\n";
}