diff --git a/pandora/archive/models.py b/pandora/archive/models.py index 945197a73..4dedd0641 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -677,7 +677,7 @@ class Stream(models.Model): def encode(self): media = self.source.media.path if self.source else self.file.data.path ffmpeg = ox.file.cmd('ffmpeg') - if self.source or ffmpeg == 'ffmpeg': + if self.source or ffmpeg == 'ffmpeg' or self.format != 'webm': ffmpeg = None if not self.media: