mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
flame: fix multiple video files in list of repre files
This commit is contained in:
parent
a6fb84f3e1
commit
8adc26c278
1 changed files with 10 additions and 3 deletions
|
|
@ -218,9 +218,16 @@ class ExtractSubsetResources(openpype.api.Extractor):
|
|||
# imagesequence as list
|
||||
if (
|
||||
# first check if path in files is not mov extension
|
||||
next([
|
||||
f for f in files if ".mov" in os.path.splitext(f)[-1]
|
||||
], None)
|
||||
next(
|
||||
# iter all paths in files
|
||||
# return only .mov positive test
|
||||
iter([
|
||||
f for f in files
|
||||
if ".mov" in os.path.splitext(f)[-1]
|
||||
]),
|
||||
# if nothing return default
|
||||
None
|
||||
)
|
||||
# then try if thumbnail is not in unique name
|
||||
or unique_name == "thumbnail"
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue