Commit graph

88 commits

Author SHA1 Message Date
iLLiCiTiT
116a16eb4c get_workfile_build_presets method implemented to load workfile variants per host and current task 2020-03-04 17:34:48 +01:00
iLLiCiTiT
cf43bbb18e moved imports to top of lib 2020-03-04 17:34:12 +01:00
iLLiCiTiT
71c71057ec Merge branch 'develop' into draft/ffmpeg_with_multiple_paths 2020-02-17 17:33:57 +01:00
iLLiCiTiT
6a5d43a479 get_path_to_ffmpeg replaced with get_paths_from_environ and get_ffmpeg_tool_path 2020-02-15 11:06:49 +01:00
Jakub Jezek
256cc85d86
fix(nk): removing deprecating code 2020-02-12 16:41:31 +01:00
iLLiCiTiT
62b3f852f1 use get_path_to_ffmpeg which checks if any of filled ffmpeg paths in FFMPEG_PATH exists 2020-02-11 14:01:56 +01:00
iLLiCiTiT
8891f9e360 Merge branch 'develop' into feature/dict_indentation 2020-01-20 17:25:00 +01:00
Ondřej Samohel
ce64e6fa07 fixing environment filtering 2020-01-10 00:30:20 +00:00
Ondřej Samohel
8159b029d5 (genera) fixing subprocess function to allow pass through Popen.subprocess arguments. Also adding better output for running subprocess 2019-12-10 12:25:24 +00:00
Jakub Trllo
d0132a1fa0 lib.py edited online with Bitbucket 2019-12-07 11:29:07 +00:00
iLLiCiTiT
eea4df6b51 changes to keep indentation consistent 2019-12-06 18:34:00 +01:00
Jakub Trllo
432d98b668 Merged in feature/import_adjustments (pull request #395)
cleanup or imports

Approved-by: Milan Kolar <milan@orbi.tools>
2019-12-06 17:14:33 +00:00
iLLiCiTiT
8b02fcebf7 another indentation change 2019-12-05 12:20:08 +01:00
iLLiCiTiT
ec39b9f1d1 cleanup or imports 2019-12-05 11:59:23 +01:00
Ondrej Samohel
8ed99e5759
fixed environment passing to subprocess 2019-12-03 19:02:16 +01:00
Jakub Trllo
799991d77f Merged in hotfix/rest_api_minor_fixes (pull request #382)
Hotfix/rest api minor fixes

Approved-by: Milan Kolar <milan@orbi.tools>
2019-11-26 10:30:36 +00:00
iLLiCiTiT
9a167bec7f CustomNone moved to pype's lib 2019-11-25 10:50:46 +01:00
Milan Kolar
6e2fdb880c remove all but ftrack old api packages and change imports 2019-11-22 17:46:19 +01:00
iLLiCiTiT
0af320f9f7 $or queries replaced with $in which is much easier to read in code and prepare 2019-11-05 10:33:17 +01:00
Ondřej Samohel
2a25a9ce44 Merged in feature/PYPE-425-global-context-plugin-with-loaded-presets (pull request #293)
Feature/PYPE-425 global context plugin with loaded presets

Approved-by: Milan Kolar <milan@orbi.tools>
2019-09-06 16:47:16 +00:00
Ondrej Samohel
04919acaeb
fixed getting source path 2019-09-06 15:59:35 +02:00
Ondrej Samohel
dca53a183c
added support for presets on global plugins 2019-09-06 15:41:00 +02:00
iLLiCiTiT
2f09bfee87 pype subprocess returns output and log out error when subprocess crashed 2019-09-04 11:10:52 +02:00
Jakub Jezek
731b34acdc Merge branch 'feature/PYPE-488-nk-loading-nks-lut-soft-effects' into feature/PYPE-331-nks-lut-workflow_altered 2019-08-30 15:49:39 +02:00
Toke Jepsen
0ddc260455 The version pattern needs to find at least 1 digit.
Previous behaviour with "*" meant any "v" would return, so couldn't have any "v" in the path.
2019-08-21 14:04:31 +01:00
Jakub Jezek
c87dca6f9d fix(nk, nks): version is better if None then "last" 2019-08-15 17:09:34 +02:00
Jakub Jezek
5a8b4a7188 Merge branch 'develop' into feature/PYPE-481-nuke-load-last-versions-of-subs
# Conflicts:
#	pype/lib.py
#	pype/nuke/lib.py
2019-08-15 12:31:53 +02:00
Jakub Jezek
814e7cd204 feat(global): adding get_subsets() for quering all last versions of representations for subsets of given asset 2019-08-13 16:15:41 +02:00
iLLiCiTiT
3de2141b16 remove already processed plugins from presets dict 2019-08-12 12:32:24 +02:00
iLLiCiTiT
c32be3c197 skip processing if presets dict is empty 2019-08-12 12:32:07 +02:00
iLLiCiTiT
1968dc465e presets are loaded only once instead of loading for each plugin 2019-08-12 12:31:21 +02:00
Jakub Jezek
885aee74ef fix(global): entity error problem 2019-08-06 12:11:12 +02:00
iLLiCiTiT
57318adc3e store found hierarchy items as parents to entity 2019-08-05 12:30:40 +02:00
iLLiCiTiT
1592a1488e first check if entity have parents in data 2019-08-05 12:30:23 +02:00
Jakub Jezek
aa2efc7bf3 Merge branch 'hotfix/nuke_publish_create_load' into hotfix/nuke_new_attr_changes 2019-08-04 14:13:45 +02:00
Milan Kolar
20f053a067 change handles to handeStart and handleEnd 2019-08-02 19:42:40 +02:00
Jakub Jezek
8a638d1bf6 fix(global): fixing regex string to raw 2019-08-02 18:49:52 +02:00
Jakub Jezek
98552c1cb9 fix: cleaning remainings of merge 2019-08-01 17:25:48 +02:00
Jakub Jezek
850aae8700 Merge remote-tracking branch 'origin/feature/PYPE-456_pypelib_cleanup' into mergeTest 2019-08-01 16:01:43 +02:00
Jakub Jezek
4150f157ad Merge remote-tracking branch 'origin/feature/PYPE-401-unify-asset-attributes' into mergeTest 2019-08-01 15:51:52 +02:00
Jakub Jezek
b40e1f5511 fix(all): rename attributes
- `frameRate` to `fps`
- `startFrame` to `frameStart`
- `endFrame` to `frameEnd`
- `fstart` to `frameStart`
- `fend` to `frameEnd`
- `handle_start` to `handleStart`
- `handle_end` to `handleEnd`
- `resolution_width` to `resolutionWidth`
- `resolution_height` to `resolutionHeight`
- `pixel_aspect` to `pixelAspect`
2019-07-31 12:38:14 +02:00
Toke Jepsen
fe62979c97 Use lib subprocess.
- Unifies all subprocess calls.
- Validates ffmpeg process.
- Feedback the errored subprocess output.
2019-07-31 10:34:25 +01:00
iLLiCiT
9d2c48e4e2 removed get_project/asset_data methods 2019-07-31 06:04:50 +02:00
iLLiCiT
76c9adf016 removed get_asset_fps 2019-07-31 06:03:47 +02:00
iLLiCiT
4fb18d6db1 added possibility to defaults 2019-07-31 05:45:38 +02:00
iLLiCiT
cf42ea29c7 improved get_hierarchy method 2019-07-31 05:42:16 +02:00
iLLiCiT
aa35963514 moved few templates to aport lib and get_hierarchy 2019-07-31 05:32:04 +02:00
iLLiCiT
0fdece342b implemented get_asset which is returnes entity updated data with project values if not set on asset 2019-07-31 04:30:05 +02:00
iLLiCiT
014b089b40 removed get_project_code method 2019-07-31 04:21:26 +02:00
iLLiCiT
b9dfa5c5ac get version from path moved to lib 2019-07-31 03:54:31 +02:00