ayon_third_party
 ThirdPartyDistAddon 
  Bases: AYONAddon, ITrayAddon
Addon to deploy 3rd party binary dependencies.
Addon can also skip distribution of binaries from server and can use path/arguments defined by server.
Cares about supplying ffmpeg and oiiotool executables.
Source code in client/ayon_third_party/addon.py
 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |  | 
 download_ffmpeg(progress=None) 
 Download ffmpeg from server.
Todos
Add safeguard to avoid downloading of the file from multiple processes at once.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| progress | TransferProgress | Keep track about download. | None | 
Source code in client/ayon_third_party/utils.py
 | 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 |  | 
 get_ffmpeg_arguments(tool_name='ffmpeg') 
 Get arguments to run one of ffmpeg tools.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| tool_name | FFmpegToolname | Name of tool for which arguments should be returned. | 'ffmpeg' | 
Returns:
| Type | Description | 
|---|---|
| Optional[list[str]] | list[str]: Path to OpenImageIO directory. | 
Source code in client/ayon_third_party/utils.py
 | 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 |  | 
 get_oiio_arguments(tool_name='oiiotool') 
 Get arguments to run one of OpenImageIO tools.
Possible OIIO tools
oiiotool, maketx, iv, iinfo, igrep, idiff, iconvert
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| tool_name | OIIOToolName | Name of OIIO tool. | 'oiiotool' | 
Returns:
| Name | Type | Description | 
|---|---|---|
| str | Optional[list[str]] | Path to zip info file. | 
Source code in client/ayon_third_party/utils.py
 | 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 |  | 
 is_ffmpeg_download_needed(addon_settings=None) 
 Check if is download needed.
Returns:
| Name | Type | Description | 
|---|---|---|
| bool | bool | Should be config downloaded. | 
Source code in client/ayon_third_party/utils.py
 | 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 |  | 
 is_oiio_download_needed(addon_settings=None) 
 Check if is download needed.
Returns:
| Name | Type | Description | 
|---|---|---|
| bool | bool | Should be config downloaded. | 
Source code in client/ayon_third_party/utils.py
 | 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 |  |