mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +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
|
# imagesequence as list
|
||||||
if (
|
if (
|
||||||
# first check if path in files is not mov extension
|
# first check if path in files is not mov extension
|
||||||
next([
|
next(
|
||||||
f for f in files if ".mov" in os.path.splitext(f)[-1]
|
# iter all paths in files
|
||||||
], None)
|
# 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
|
# then try if thumbnail is not in unique name
|
||||||
or unique_name == "thumbnail"
|
or unique_name == "thumbnail"
|
||||||
):
|
):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue