* do not use 'IntegrateAssetNew' settings which are not available anymore
* don't use 'IntegrateHeroVersion' settings to get hero version template name
* remove 'template_name_profiles' from 'IntegrateHeroVersion'
* remove unused attribute
* OP-1645 - explicitly add thumbnail path to be integrated to Ayon
Thumbnail representation is set to 'delete', eg wont be integrated, another source of thumbnail must be used. This will effectively limit option of NOT pushing thumbnail to Ayon, which use case I am actuall not seeing.
* OP-1645 - added more description
* Remove comment
It works even for OP.
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Update openpype/plugins/publish/integrate_thumbnail_ayon.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Updates to docstring
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Update openpype/plugins/publish/integrate_thumbnail_ayon.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* OP-1645 - fix formatting
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
The code change modifies the `ExtractThumbnail` class in `extract_thumbnail.py`. It updates the loop that iterates over representations to handle cases where the "representations" key is missing from the instance data. This change ensures that cleanup occurs for representations with both "delete" and "need_thumbnail" tags.
- Removed the check for `newAssetPublishing` in `CollectResourcesPath.process()`
- This change allows instances to be processed even if they are creating new assets
- Added code to add the thumbnail path to the instance data.
- Modified code to retrieve the thumbnail path from the instance data in Ayon plugin.
- Updated code to handle cases where the thumbnail source is not available or specified.
- Improved logic for finding the thumbnail representation in published representations.
- Removed the unused `additional_input_args` parameter from the `convert_colorspace` function in `transcoding.py`
- Renamed the `additional_input_args` parameter to `additional_command_args` in the `ExtractThumbnail` class in `extract_thumbnail.py`
These changes improve code clarity and remove unnecessary parameters.