Commit graph

4532 commits

Author SHA1 Message Date
Kayla Man
c32cdba660
Update client/ayon_core/plugins/publish/extract_thumbnail.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-04-29 20:40:50 +08:00
Kayla Man
4bb0e14106
Update client/ayon_core/plugins/publish/extract_thumbnail.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2025-04-29 19:10:01 +08:00
Kayla Man
c0db02f7b5 improve the check on the valid representations for thumbnail creation 2025-04-29 17:14:14 +08:00
Kayla Man
625e782d7e improve the docstring 2025-04-29 16:32:17 +08:00
Kayla Man
637b157fd3 rename self._is_valid_media_repre to self._is_valid_image_repre 2025-04-29 16:24:28 +08:00
Kayla Man
59e986dde2 add debug message into self._is_valid_media_repre 2025-04-29 16:23:27 +08:00
Kayla Man
f47c0b4027 If there is no valid review representation for thumbnail creation, make sure the representation is with the image content so that it can create thumbnail 2025-04-29 16:21:40 +08:00
Roy Nieterau
a6831d1553
Merge branch 'develop' into bugfix/extract_oiio_transcode_fix_holes_check 2025-04-24 14:06:21 +02:00
Roy Nieterau
80e0fa6b17 Correctly check whether sequence has any frames in the returned holes collection.
As per [`clique.Collection.holes` documentation](https://clique.readthedocs.io/en/stable/api_reference/collection.html#clique.collection.Collection.holes):
> Return Collection of missing indexes.
2025-04-23 20:05:59 +02:00
Roy Nieterau
2fb258c0d1
Merge branch 'develop' into enhancement/remove_deprecated_stdout_broker_import 2025-04-23 10:02:15 +02:00
Jakub Trllo
922d19137c change order of filters 2025-04-22 15:19:48 +02:00
Jakub Trllo
a394624974 don't skip other validations for string match 2025-04-22 14:28:51 +02:00
Roy Nieterau
599ed3ab04
Merge branch 'develop' into chore/remove_duplicate_code_get_legacy_product_name 2025-04-17 12:04:07 +02:00
Roy Nieterau
644765cb85 Remove redundant duplicate lines of code 2025-04-16 22:03:02 +02:00
Roy Nieterau
8d25303333
Revert defaults so removal of rendered files is disabled by default 2025-04-16 21:53:17 +02:00
Roy Nieterau
1845556612
Merge branch 'develop' into enhancement/allow_disabling_removal_of_rendereed_files_on_farm 2025-04-16 16:05:11 +02:00
Jakub Trllo
fb8ee108b5
Merge branch 'develop' into enhancement/ruff-add-preview 2025-04-16 12:37:23 +02:00
Jakub Trllo
4f9f7724ac fix original intnetion of thumbnail created logging 2025-04-16 10:35:41 +02:00
Mustafa Jafar
a3d3865e78
Merge branch 'develop' into enhancement/allow_disabling_removal_of_rendereed_files_on_farm 2025-04-15 18:07:50 +02:00
Jakub Ježek
602a17999d
Merge branch 'develop' into bugfix/AY-7717_nuke-multiple-intermediate-fails-thumbnail-in-integrator_1241 2025-04-15 15:50:47 +02:00
Jakub Jezek
d5f599b811
Fixes thumbnail creation logic for multiple reps
Resets the `repre_thumb_created` flag for each representation to ensure that thumbnails are correctly generated for all reviewable representations when multiple are present.
This prevents the logic from skipping subsequent representations after the first one successfully creates a thumbnail.
2025-04-15 14:45:36 +02:00
Jakub Trllo
b0ac87b7b1 handle unused variables 2025-04-14 17:56:21 +02:00
Jakub Trllo
486be39faa fix whitespaces 2025-04-14 17:55:48 +02:00
Jakub Trllo
b403fccf05 fix new line chars 2025-04-14 17:54:45 +02:00
Ynbot
400774d438 [Automated] Update version in package.py for develop 2025-04-14 14:32:11 +00:00
Ynbot
122a4a9f09 [Automated] Add generated package files from main 2025-04-14 14:31:37 +00:00
Jakub Jezek
f770a35d54
Fixes thumbnail creation logic
Moves the `thumbnail_created` flag initialization inside the loop.

This ensures that the flag is reset for each representation, preventing it from being incorrectly skipped if a previous representation failed to create a thumbnail.
2025-04-14 15:42:12 +02:00
Jakub Ježek
d12632e000
Merge branch 'develop' into bugfix/inplace-integration 2025-04-14 14:00:28 +02:00
Jakub Ježek
97bfd0459d
Update client/ayon_core/plugins/publish/integrate.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-04-14 14:00:18 +02:00
Jakub Ježek
46f7fa4cc1
Update client/ayon_core/plugins/publish/integrate.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2025-04-14 14:00:11 +02:00
Jakub Trllo
ac7084dc68
Merge branch 'develop' into bugfix/fix-jpeg-thumbnail 2025-04-14 12:24:31 +02:00
Jakub Trllo
047b77e501 return the same output all the time 2025-04-12 01:06:29 +02:00
Jakub Jezek
402e98b443
Fixes issue with original directory lookup
Fixes a bug where the instance staging directory was being incorrectly used
when looking up the original directory for publish in place workflows,
instead of the staging directory from representation.

Adds debug logging to inspect instance data during integration.
2025-04-11 15:55:05 +02:00
Jakub Trllo
8cefce5887
Merge branch 'develop' into bugfix/fix-jpeg-thumbnail 2025-04-11 15:38:43 +02:00
Jakub Trllo
7ec8494b1a fix thumbnail upload 2025-04-11 15:34:11 +02:00
Jakub Trllo
3dc1eb49b1 don't use deprecated commands 2025-04-10 17:49:42 +02:00
Jakub Trllo
12fff22ea8
Merge branch 'develop' into bugfix/1139-version_up_current_workfile-doesnt-return-the-first-workfile-name-if-there-are-no-workfiles 2025-04-08 10:35:14 +02:00
Ynbot
abbc9ffc37 [Automated] Update version in package.py for develop 2025-04-07 20:56:09 +00:00
Ynbot
76734fbbd2 [Automated] Add generated package files from main 2025-04-07 20:55:32 +00:00
Roy Nieterau
87a25da86c
Merge branch 'develop' into enhancement/set-publish-attributes-values 2025-04-07 22:24:12 +02:00
Jakub Trllo
d548ebd448
Merge branch 'develop' into bugfix/1227-tools-thumbnails-not-available-for-artists 2025-04-07 17:36:59 +02:00
Jakub Trllo
abfb0aedee changed how thumbnails are received 2025-04-07 16:18:49 +02:00
Jakub Trllo
2ff6c7a674
Merge branch 'develop' into enhancement/set-publish-attributes-values 2025-04-07 15:39:35 +02:00
Jakub Trllo
f450942ccd
Merge branch 'develop' into feature/envs-in-roots 2025-04-07 15:13:11 +02:00
Jakub Trllo
a810be6506 handle popped plugin values 2025-04-07 14:59:07 +02:00
Jakub Trllo
108326b9e9
Merge branch 'develop' into enhancement/set-publish-attributes-values 2025-04-07 14:53:49 +02:00
Ondřej Samohel
b8a90c4336
♻️ add future annotation
because type hints are using `list`, it breaks on Python 3.7
2025-04-03 16:40:22 +02:00
Jakub Trllo
9ebd2bbc64 fix typehints for older pythons 2025-04-02 14:20:53 +02:00
Jakub Trllo
d2f03815b1
Merge branch 'develop' into enhancement/899-ay-6316_launcher-show-only-assigned-tasks 2025-04-02 14:04:00 +02:00
Jakub Trllo
009348bca9 move widgets around 2025-04-02 14:01:07 +02:00