stream is available after reuse

This commit is contained in:
j 2023-11-18 12:03:33 +01:00
parent 4c415c6b5d
commit 95485f3e4b

View file

@ -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