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/MediainfoOGVPlugin.pm

    r22656 r22663  
    145145    $doc_obj->add_utf8_metadata ($section, $assoc_field, $doc_obj->get_source()); # Source metadata is already in utf8
    146146
    147     $doc_obj->add_metadata ($section, "srclink_file", "[SourceFile]");
     147    $doc_obj->add_metadata ($section, "srclink_file", $doc_obj->get_sourcefile());
    148148    $doc_obj->add_metadata ($section, "srcicon", "_iconogg_");
    149149
Note: See TracChangeset for help on using the changeset viewer.