* OP-8090 - added fallback for ffprobe issue
Customer provided .exr returned width and height equal to 0 which caused error in extract_thumbnail. This tries to use oiiotool to get metadata about file, in our case it read it correctly.
* OP-8090 - extract logic
`get_rescaled_command_arguments` is long enough right now, new method is better testable too.
* Update openpype/lib/transcoding.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* EventCallback object have order
* callbacks are processed by the callback order
* safer approach to get function information
* modified docstring a little
* added tests for ordered calbacks
* fix python 2 support
* added support for partial methods
* removed unused '_get_func_info'
* formatting fix
* change test functions docstring
* added test for removement of source function when partial is used
* Allow order 'None'
* implemented 'weakref_partial' to allow partial callbacks
* minor tweaks
* added support to pass additional arguments to 'wearkref_partial'
* modify docstring
* added 'weakref_partial' to tests
* move public method before prive methods
* added required order back but use '100' as default order
* fix typo
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
---------
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
- 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.
The code change fixes an issue in the transcoding.py file where the sample aspect ratio was not being parsed correctly. The fix involves modifying the way the sample aspect ratio is accessed from the stream object.
* added helper classes to utils
* implemented base of ayon utils
* initial commit for launcher tool
* use image for extender
* actions are shown and can be triggered
* fix actions on finished refresh
* refresh automatically
* fix re-refreshing of projects model
* added page slide animation
* updated abstrack classes
* change how icon is prepared
* fix actions sorting
* show messages like in launcher tool
* do not clear items on refresh
* stop refresh timer only on close event
* use Ynput/AYON for local settings json
* register default actions in launcher action module
* change register naming
* move 'SquareButton' to utils widgets
* removed duplicated method
* removed unused variable
* removed unused import
* don't use lambda
* swap default name for 'OpenPypeSettingsRegistry'
* Change support version
* added function to extract more information about channels
* specify layer name which should be used for ffmpeg
* changed 'get_channels_info_by_layer_name' to 'get_review_info_by_layer_name'
* modify docstring
* fix dosctring again
* ApplicationManager can have more granular way how applications are launched
* executable is optional to be able create ApplicationLaunchContext
* launch context can run prelaunch hooks without launching application
* 'get_app_environments_for_context' is using launch context to prepare environments
* added 'launch_type' as one of filtering options for LaunchHook
* added 'local' launch type filter to existing launch hooks
* define 'automated' launch type in remote publish function
* modified publish and extract environments cli commands
* launch types are only for local by default
* fix import
* fix launch types of global host data
* change order or kwargs
* change unreal filter attribute
* use proper start script
* implemented ayon variants of execute functions
* more suitable names of functions
* use 'PACKAGE_DIR' instead of 'OPENPYPE_REPOS_ROOT' environment variable
* use suitable enviornment variables in ayon mode
* keep sync server in openpype
* Better comment
* apply project environemnts after context environments are set
* make asset and task environments optional
* added more conditions for host environemnts
* validate context for host
* fix double negative
* implemented helper functions to get ffmpeg and oiio tool arguments
* modified validation functions to be able to handle list of arguments
* path getters can return a path in AYON mode if one argument is returned
* removed test exception
* modified docstrings
* is_oiio_supported is using new functions to get launch arguments
* new functions are in lib public =
* use new functions all over the place
* renamed 'ffmpeg_path' to 'ffmpeg_args'
* raise 'ToolNotFoundError' if tool argument could not be found
* reraise 'KnownPublishError' in publish plugins
* fix comment
* simplify args start
* ffmpeg and oiio function require tool name and support additional arguments
* renamed 'get_oiio_tools_args' to 'get_oiio_tool_args'
* fix variable name