dont set task_id, only create poster if timeline exists, do not update poster in update_imdb
This commit is contained in:
parent
af3625617d
commit
1f4d6e546f
5 changed files with 30 additions and 24 deletions
|
|
@ -17,10 +17,9 @@ def update_poster(itemId):
|
|||
item.make_poster(True)
|
||||
|
||||
@task(ignore_resulsts=True, queue='default')
|
||||
def update_imdb(imdbId):
|
||||
item = models.Item.objects.get(itemId=imdbId)
|
||||
def update_imdb(itemId):
|
||||
item = models.Item.objects.get(itemId=itemId)
|
||||
item.update_imdb()
|
||||
update_poster(itemId)
|
||||
|
||||
@task(queue="encoding")
|
||||
def update_streams(itemId):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue