From be6abcc4b73b46a1b1c11a0aa66335e00086b035 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 16 Jun 2012 00:08:52 +0200 Subject: [PATCH] enabled sequence extraction by default --- pandora/item/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora/item/models.py b/pandora/item/models.py index 215ffa370..ba8e67777 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -40,6 +40,7 @@ import archive.models from person.models import get_name_sort from title.models import get_title_sort +from sequence.task import get_sequences, update_sequence_ids def get_id(info): q = Item.objects.all() @@ -368,6 +369,7 @@ class Item(models.Model): public_id = a.public_id.split('/')[1] a.public_id = "%s/%s" % ( self.itemId, public_id) a.save() + update_sequence_ids.delay(self.itemId) if update_poster: return tasks.update_poster.delay(self.itemId) @@ -1049,6 +1051,7 @@ class Item(models.Model): if settings.CONFIG['video']['download']: self.make_torrent() tasks.load_subtitles.delay(self.itemId) + get_sequences.delay(self.itemId) self.rendered = streams.count() > 0 self.save()