should store file as webm_audio instead of medium
authorRodney Ewing <ewing.rj@gmail.com>
Tue, 13 Aug 2013 17:36:30 +0000 (10:36 -0700)
committerRodney Ewing <ewing.rj@gmail.com>
Fri, 16 Aug 2013 22:30:18 +0000 (15:30 -0700)
mediagoblin/media_types/audio/processing.py

index 67bf63b4141606672678dc9cb941da6de104e205..74167acea4dbab1294c942e0e2fa2a1e2915c394 100644 (file)
@@ -216,8 +216,8 @@ class CommonAudioProcessor(MediaProcessor):
         self.transcoder.discover(webm_audio_tmp)
 
         _log.debug('Saving medium...')
-        store_public(self.entry, 'medium', webm_audio_tmp,
-                     self.name_builder.fill('{basename}.medium{ext}'))
+        store_public(self.entry, 'webm_audio', webm_audio_tmp,
+                     self.name_builder.fill('{basename}.medium.webm'))
 
     def create_spectrogram(self, quality=None, max_width=None, fft_size=None):
         if not quality: