Browse Source

added mappings for mkv and wmv files

pull/147/merge
Alan Stanley 13 years ago committed by jonathangreen
parent
commit
ad60a1cf25
  1. 2
      MimeClass.inc
  2. 2
      fedora_repository.module

2
MimeClass.inc

@ -175,6 +175,8 @@ class MimeClass {
"movie" => "video/x-sgi-movie",
"flv" => "video/x-flv",
"swf" => "application/x-shockwave-flash",
'mkv' => "video/x-matroska",
'wmv' => 'video/x-ms-wmv',
// audio:
"mp3" => "audio/mpeg",
"mp4a" => "audio/mp4",

2
fedora_repository.module

@ -125,7 +125,7 @@ function fedora_repository_ingest_form_submit(array $form, array &$form_state) {
module_load_include('inc', 'fedora_repository', 'CollectionClass');
module_load_include('inc', 'fedora_repository', 'CollectionPolicy');
module_load_include('inc', 'fedora_repository', 'ContentModel');
var_dump($form_state);
$contentModelPid = ContentModel::getPidFromIdentifier($form_state['values']['models']);
$contentModelDsid = ContentModel::getDSIDFromIdentifier($form_state['values']['models']);
$err = TRUE;

Loading…
Cancel
Save