- Timestamp:
- 2011-08-12T16:40:33+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/audioDB/trunk/src/perllib/plugins/AudioDBPlugin.pm
r24338 r24399 141 141 $wav_filename = $filename_full_path; 142 142 } 143 $doc_obj->associate_file($wav_filename, " audio.wav", "audio/wav", $top_section);143 $doc_obj->associate_file($wav_filename, "doc.wav", "audio/wav", $top_section); 144 144 145 145 if ($self->{'enable_streaming'} ne "disabled") { 146 146 147 147 my $streamable_ext = lc($self->{'enable_streaming'}); 148 my $streamable_filename; 148 149 149 150 if ($input_ext ne $streamable_ext) { 150 151 # make streamable version 151 my$streamable_filename152 $streamable_filename 152 153 = $self->convert_audio_format($filename_full_path,$streamable_ext); 154 } 155 else { 156 $streamable_filename = $filename_full_path; 157 } 153 158 154 155 "streamable.$streamable_ext",156 157 158 } 159 $doc_obj->associate_file($streamable_filename, 160 "doc.$streamable_ext", 161 $streaming_mime_types->{$streamable_ext}, 162 $top_section); 163 159 164 } 160 165
Note:
See TracChangeset
for help on using the changeset viewer.