forked from 0x2620/pandora
stream is available after reuse
This commit is contained in:
parent
4c415c6b5d
commit
95485f3e4b
1 changed files with 2 additions and 0 deletions
|
@ -816,6 +816,8 @@ class Stream(models.Model):
|
||||||
shutil.move(self.file.data.path, target)
|
shutil.move(self.file.data.path, target)
|
||||||
self.file.data.name = ''
|
self.file.data.name = ''
|
||||||
self.file.save()
|
self.file.save()
|
||||||
|
self.available = True
|
||||||
|
self.save()
|
||||||
elif self.file.can_remux():
|
elif self.file.can_remux():
|
||||||
ok, error = extract.remux_stream(media, target)
|
ok, error = extract.remux_stream(media, target)
|
||||||
done = True
|
done = True
|
||||||
|
|
Loading…
Reference in a new issue