summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-07-22 16:45:36 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-07-22 17:07:54 (GMT)
commitc6a88ca7a2c639a4659f204e075e6d95b2c0ceee (patch)
tree7ad0b3485e6be9928ff34c6e44a7fc565faa4e88
parent0e6f3a9a18a52c2a2138ab989cbf26eb4deecf10 (diff)
cleanup
-rw-r--r--TODO4
-rwxr-xr-xrhimport2
-rw-r--r--rhimport.pm2
3 files changed, 2 insertions, 6 deletions
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 );