prepare player
This commit is contained in:
parent
cb740dd48c
commit
5567aa5560
2 changed files with 41 additions and 41 deletions
|
|
@ -1135,7 +1135,7 @@ def add_tag(item, tag):
|
|||
item.data['tags'].append(tag)
|
||||
item.save()
|
||||
|
||||
def process_motion_firstframe():
|
||||
def process_motion_firstframe(character="P1", keep=False):
|
||||
l = itemlist.models.List.objects.get(name='Motion-Firstframe')
|
||||
for i in l.items.all():
|
||||
ai = Item.objects.filter(data__type__icontains='ai').filter(data__title=i.data['title'])
|
||||
|
|
@ -1144,7 +1144,7 @@ def process_motion_firstframe():
|
|||
continue
|
||||
print(i)
|
||||
try:
|
||||
reshoot_item_segments(i, 'P1', keep=True)
|
||||
replace_character_motion_control(i, character, keep=keep)
|
||||
except:
|
||||
add_tag(i, 'ai-failed')
|
||||
print('>> failed', i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue