diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-07-22 16:45:36 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-07-22 17:07:54 (GMT) |
commit | c6a88ca7a2c639a4659f204e075e6d95b2c0ceee (patch) | |
tree | 7ad0b3485e6be9928ff34c6e44a7fc565faa4e88 | |
parent | 0e6f3a9a18a52c2a2138ab989cbf26eb4deecf10 (diff) |
cleanup
-rw-r--r-- | TODO | 4 | ||||
-rwxr-xr-x | rhimport | 2 | ||||
-rw-r--r-- | rhimport.pm | 2 |
3 files changed, 2 insertions, 6 deletions
@@ -1,4 +0,0 @@ -* multi-cart-show - upload a single file.. -* add "show log" button after import -* secure storage for db username and password??? - @@ -44,7 +44,7 @@ GetOptions ("help!" => \$HELP, if($HELP) { print << "EOF"; -usage: $0 --file <audio or playlist file> --dropbox <path to dropbox> --list-allowed +usage: $0 --file <audio file> --dropbox <path to dropbox> --list-allowed options: -f | --file the media file or playlist to import diff --git a/rhimport.pm b/rhimport.pm index 223aeef..3451bcd 100644 --- a/rhimport.pm +++ b/rhimport.pm @@ -357,7 +357,7 @@ sub delete_file sub pv_add_note { my ( $title, $text, $id, $date, $type, $index ) = @_; - my @script = ('/usr/bin/ssh', 'pv@rdimport', 'addnote', $id, $date, $type); + my @script = ('python', '/srv/pv/pv/manage.py', 'addnote', $id, $date, $type); push(@script , $index) unless (!defined $index); my ($reader, $writer, $error ) = ( new IO::Handle, new IO::Handle, new IO::Handle ); |