diff options
author | Christian Pointner <equinox@helsinki.at> | 2010-04-22 16:51:07 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2010-04-22 16:51:07 (GMT) |
commit | 51b829cdb8e028a2d0ae71db9b1635116746c018 (patch) | |
tree | 0df01564b885c32df782fe3720e642de39a2a9b9 /rhimport | |
parent | 02f3f3b70ac57283fc6a19c1ccd57d1c948a7b7e (diff) |
temporary import now in seperate folder for each user
Diffstat (limited to 'rhimport')
-rwxr-xr-x | rhimport | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; } |