forked from 0x2620/pandora
only extract sequences if rendered
This commit is contained in:
parent
5529ee0498
commit
2c01974625
1 changed files with 5 additions and 4 deletions
|
@ -1144,6 +1144,7 @@ class Item(models.Model):
|
||||||
self.make_torrent()
|
self.make_torrent()
|
||||||
self.rendered = streams.count() > 0
|
self.rendered = streams.count() > 0
|
||||||
self.save()
|
self.save()
|
||||||
|
if self.rendered:
|
||||||
if async:
|
if async:
|
||||||
get_sequences.delay(self.itemId)
|
get_sequences.delay(self.itemId)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue