summaryrefslogtreecommitdiff
path: root/utils/rd-show
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-10-06 01:28:21 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2015-10-06 01:28:21 (GMT)
commita7b6abe6afb412f1a3f9efb07d51c71ed3127bae (patch)
tree1e96a983a83c21c0302c9b07fec958997b97f286 /utils/rd-show
parent00e77d7b60e850a6f1df2e3fcd6a3c795f9663de (diff)
creation of show macro cart is working now as well
Diffstat (limited to 'utils/rd-show')
-rwxr-xr-xutils/rd-show8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/rd-show b/utils/rd-show
index 0ec08da..0a0bc1e 100755
--- a/utils/rd-show
+++ b/utils/rd-show
@@ -237,8 +237,14 @@ sub add
}
print " * created log with name: " . $name . "\n";
+ (my $show_id, $status, $errorstring) = RHRD::rddb::create_show_macro_cart($ctx, $name, $title);
+ unless(defined $result) {
+ print STDERR $status . ": " . $errorstring . "\n";
+ return 1;
+ }
+ print " * created macro cart -> new show-id = " . $show_id . "\n";
+
# TODO:
- # create macro cart referencing log -> show-id
# create dropbox for: groupname, show-id, rhythm, dow, starttime, len
print " * finished\n";