Ignore:
Timestamp:
2010-08-18T10:50:18+12:00 (14 years ago)
Author:
mdewsnip
Message:

Changed "srclink_file" metadata to always contain the filename, instead of referencing another metadata element. This is so the C++ code can escape underscores in the filename values correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/OggVorbisPlugin.pm

    r22655 r22663  
    137137
    138138    $doc_obj->add_metadata ($top_section, "FileFormat", "OggVorbis");
    139     $doc_obj->add_metadata ($top_section, "srclink_file", "[SourceFile]");
     139    $doc_obj->add_metadata ($top_section, "srclink_file", $doc_obj->get_sourcefile());
    140140    $doc_obj->add_metadata ($top_section, "srcicon", "_iconogg_");
    141141
Note: See TracChangeset for help on using the changeset viewer.