Changeset 29656

Show
Ignore:
Timestamp:
19.12.2014 12:04:25 (5 years ago)
Author:
jmt12
Message:

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

Files:
1 modified

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);