Changeset 29656 for gs2-extensions


Ignore:
Timestamp:
12/19/14 12:04:25 (6 years ago)
Author:
jmt12
Message:

Using the path to the jmir_directory when running the jSongMiner.jar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/music-ir-src/trunk/perllib/plugins/jSongMinerExtractor.pm

    r28549 r29656  
    380380    my $jmir_directory = $self->{'jmir_directory'};
    381381
    382 
    383382    my $store_cwd = cwd();
    384383
     
    405404    }
    406405
    407     my $jsongminer_cmd = "java -Xmx1024M -jar jSongMiner.jar $convert_options";
     406
     407    my $jsongminer_cmd = "java -Xmx1024M -jar \"" . $jmir_directory . "/jSongMiner.jar\" $convert_options";
    408408    $jsongminer_cmd .= " -title \"$id3_title\"" if defined $id3_title;
    409409    $jsongminer_cmd .= " -artist \"$id3_artist\"" if defined $id3_artist;
     
    419419    my $print_info = { 'message_prefix' => "jSongMiner",
    420420               'message' => "jSongMinerExtractor: Retrieving audio metadata for $source_file_no_path" };
    421    
     421
    422422    my ($regenerated,$result,$had_error)
    423423        = $self->autorun_general_cmd($jsongminer_cmd,$source_file_path,$target_txt_file_path,$print_info);
Note: See TracChangeset for help on using the changeset viewer.