diff options
Diffstat (limited to 'utils/rd-show')
-rwxr-xr-x | utils/rd-show | 8 |
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"; |