Changeset 12270 for trunk/gsdl/perllib/plugins/MP3Plug.pm
- Timestamp:
- 2006-07-20T16:02:07+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/MP3Plug.pm
r12169 r12270 322 322 $mp3_doc_count++; 323 323 324 ## $doc_obj->set_OIDtype ($processor->{'OIDtype'}); 325 $doc_obj->set_OIDtype ("incremental"); # this is done to avoid hashing content of file 324 ## $doc_obj->set_OIDtype ($processor->{'OIDtype'}); 325 if ($processor->{'OIDtype'} =~ /^(assigned|dirname)$/) { 326 $doc_obj->set_OIDtype ($processor->{'OIDtype'}, $processor->{'OIDmetadata'}); 327 } 328 else { 329 $doc_obj->set_OIDtype ("incremental"); # this is done to avoid hashing content of file 330 } 326 331 $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "Plugin", "$self->{'plugin_type'}"); 327 332 $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "FileSize", (-s $filename));
Note:
See TracChangeset
for help on using the changeset viewer.