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.
- Set read_raw switch to False
- Set viewer_process_override to an empty string
- Set bake_viewer_process to True
- Set bake_viewer_input_process to True
- Set extension to `mov` by default
The commit fixes a typo in the code where "expectied" was changed to "expected". It also improves the handling of expected file paths by correctly adding them to the instance data. Additionally, it adds support for hashed sequence expressions and shifts the start frame by 1 if a slate is present.
- Updated Ayon settings to fix issues with the ExtractThumbnail plugin.
- Fixed display and view at oiio defaults in the ExtractThumbnail plugin.
- Fixed target size in the ExtractThumbnail plugin.
- Fixed background color in the ExtractThumbnail plugin.
Also, updated server version to 0.1.4.
* dump_databases flag
* Remove wrongly placed code.
* Turn flag into format and support json export.
* Added new argument to readme
---------
Co-authored-by: kalisp <petr.kalis@gmail.com>