summaryrefslogtreecommitdiff
path: root/utils/rd-show
diff options
context:
space:
mode:
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";