forked from 0x2620/pandora
fix path
This commit is contained in:
parent
cfa7628551
commit
fec6258f71
1 changed files with 1 additions and 1 deletions
|
@ -652,7 +652,7 @@ class Stream(models.Model):
|
|||
return True
|
||||
|
||||
def encode(self):
|
||||
media = self.source.media.path if self.source else self.file.data
|
||||
media = self.source.media.path if self.source else self.file.data.path
|
||||
ffmpeg = ox.file.cmd('ffmpeg')
|
||||
if self.source or ffmpeg == 'ffmpeg':
|
||||
ffmpeg = None
|
||||
|
|
Loading…
Reference in a new issue