summaryrefslogtreecommitdiff
path: root/utils/rd-show
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-10-06 01:47:19 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2015-10-06 01:47:19 (GMT)
commit650ef4a8dec7e627a7767882086ca1a462b69785 (patch)
treefc7248471bc9dbc9fefe2c093ac8be47123cb851 /utils/rd-show
parenta7b6abe6afb412f1a3f9efb07d51c71ed3127bae (diff)
show dropbox is now also added
Diffstat (limited to 'utils/rd-show')
-rwxr-xr-xutils/rd-show8
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/rd-show b/utils/rd-show
index 0a0bc1e..3d54630 100755
--- a/utils/rd-show
+++ b/utils/rd-show
@@ -244,8 +244,12 @@ sub add
}
print " * created macro cart -> new show-id = " . $show_id . "\n";
- # TODO:
- # create dropbox for: groupname, show-id, rhythm, dow, starttime, len
+ ($result, $status, $errorstring) = RHRD::rddb::create_show_dropbox($ctx, $groupname, $show_id, $rhythm, $dow, $starttime, $len);
+ unless(defined $result) {
+ print STDERR $status . ": " . $errorstring . "\n";
+ return 1;
+ }
+ print " * created dropbox for show .. " . $result . " rows affected\n";
print " * finished\n";