From c6a88ca7a2c639a4659f204e075e6d95b2c0ceee Mon Sep 17 00:00:00 2001 From: Christian Pointner <equinox@helsinki.at> Date: Wed, 22 Jul 2015 18:45:36 +0200 Subject: cleanup diff --git a/TODO b/TODO deleted file mode 100644 index 6c34f23..0000000 --- a/TODO +++ /dev/null @@ -1,4 +0,0 @@ -* multi-cart-show - upload a single file.. -* add "show log" button after import -* secure storage for db username and password??? - diff --git a/rhimport b/rhimport index 5f35199..3a29733 100755 --- a/rhimport +++ b/rhimport @@ -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 ); -- cgit v0.10.2