update post after stream update
This commit is contained in:
parent
dbde1770f3
commit
c55cdf3a73
3 changed files with 6 additions and 4 deletions
|
|
@ -15,7 +15,7 @@ def cronjob(**kwargs):
|
|||
@task(ignore_resulsts=True, queue='default')
|
||||
def update_poster(itemId):
|
||||
item = models.Item.objects.get(itemId=itemId)
|
||||
item.download_poster(True)
|
||||
item.make_poster(True)
|
||||
|
||||
@task(ignore_resulsts=True, queue='default')
|
||||
def update_imdb(imdbId):
|
||||
|
|
@ -36,3 +36,4 @@ def update_streams(itemId):
|
|||
if item.files.filter(is_main=True, is_video=True, available=False).count() == 0:
|
||||
item.update_streams()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue