forked from 0x2620/pandora
enabled sequence extraction by default
This commit is contained in:
parent
1e88e6697f
commit
be6abcc4b7
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,7 @@ import archive.models
|
||||||
|
|
||||||
from person.models import get_name_sort
|
from person.models import get_name_sort
|
||||||
from title.models import get_title_sort
|
from title.models import get_title_sort
|
||||||
|
from sequence.task import get_sequences, update_sequence_ids
|
||||||
|
|
||||||
def get_id(info):
|
def get_id(info):
|
||||||
q = Item.objects.all()
|
q = Item.objects.all()
|
||||||
|
@ -368,6 +369,7 @@ class Item(models.Model):
|
||||||
public_id = a.public_id.split('/')[1]
|
public_id = a.public_id.split('/')[1]
|
||||||
a.public_id = "%s/%s" % ( self.itemId, public_id)
|
a.public_id = "%s/%s" % ( self.itemId, public_id)
|
||||||
a.save()
|
a.save()
|
||||||
|
update_sequence_ids.delay(self.itemId)
|
||||||
if update_poster:
|
if update_poster:
|
||||||
return tasks.update_poster.delay(self.itemId)
|
return tasks.update_poster.delay(self.itemId)
|
||||||
|
|
||||||
|
@ -1049,6 +1051,7 @@ class Item(models.Model):
|
||||||
if settings.CONFIG['video']['download']:
|
if settings.CONFIG['video']['download']:
|
||||||
self.make_torrent()
|
self.make_torrent()
|
||||||
tasks.load_subtitles.delay(self.itemId)
|
tasks.load_subtitles.delay(self.itemId)
|
||||||
|
get_sequences.delay(self.itemId)
|
||||||
self.rendered = streams.count() > 0
|
self.rendered = streams.count() > 0
|
||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue