summaryrefslogtreecommitdiff
path: root/rhimport
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2010-04-22 16:51:07 (GMT)
committerChristian Pointner <equinox@helsinki.at>2010-04-22 16:51:07 (GMT)
commit51b829cdb8e028a2d0ae71db9b1635116746c018 (patch)
tree0df01564b885c32df782fe3720e642de39a2a9b9 /rhimport
parent02f3f3b70ac57283fc6a19c1ccd57d1c948a7b7e (diff)
temporary import now in seperate folder for each user
Diffstat (limited to 'rhimport')
-rwxr-xr-xrhimport8
1 files changed, 4 insertions, 4 deletions
diff --git a/rhimport b/rhimport
index 64694f4..8b2b3f0 100755
--- a/rhimport
+++ b/rhimport
@@ -267,12 +267,12 @@ sub start_import_gui()
$log = rhimport::clear_carts($dbh, $group, $to_cart, $gui_progress_cb);
}
my $import_log;
- ($ret, $import_log) = rhimport::import_playlist($file, $dropbox, $gui_progress_cb, $gui_error_cb);
+ ($ret, $import_log) = rhimport::import_playlist($file, $dropbox, $user, $gui_progress_cb, $gui_error_cb);
$log .= $import_log;
} else {
$log = rhimport::clear_carts($dbh, $group, $to_cart, $gui_progress_cb);
my $import_log;
- ($ret, $import_log) = rhimport::import_single($file, $dropbox, $gui_progress_cb, $gui_error_cb);
+ ($ret, $import_log) = rhimport::import_single($file, $dropbox, $user, $gui_progress_cb, $gui_error_cb);
$log .= $import_log;
}
@@ -443,12 +443,12 @@ if($POOL) {
}
my $import_log;
- ($ret, $import_log) = rhimport::import_playlist($FILE, $DROPBOX, 0, $cl_error_cb);
+ ($ret, $import_log) = rhimport::import_playlist($FILE, $DROPBOX, $user, 0, $cl_error_cb);
$log .= $import_log;
} else {
$log = rhimport::clear_carts($dbh, $group, $to_cart);
my $import_log;
- ($ret, $import_log) = rhimport::import_single($FILE, $DROPBOX, 0);
+ ($ret, $import_log) = rhimport::import_single($FILE, $DROPBOX, $user, 0, $cl_error_cb);
$log .= $import_log;
}