From dce51305ce81a0a757a066be364162ebfaf40948 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 5 Aug 2016 15:24:54 +0200 Subject: [PATCH] update poster after extracting stream --- pandora/archive/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora/archive/tasks.py b/pandora/archive/tasks.py index 8c61726f5..46040455d 100644 --- a/pandora/archive/tasks.py +++ b/pandora/archive/tasks.py @@ -8,6 +8,7 @@ from django.conf import settings from django.db.models import Q from item.models import Item +from item.tasks import update_poster import models import extract import external @@ -138,6 +139,7 @@ def extract_stream(fileId): # get current version from db file = models.File.objects.get(id=fileId) file.item.update_timeline() + update_poster(file.item.public_id) file.extract_tracks() models.File.objects.filter(id=fileId).update(encoding=False)