Commit Graph

48 Commits

Author SHA1 Message Date
Brett Williams
9791715b25 Fix issue where jobs would get stuck waiting for subjobs to finish 2023-06-16 01:42:54 -05:00
76e413c18d Assign frame ranges to servers based on their CPU count (#19)
* Expose renderer availability in status api

* Remove redundant is_available_for_job API call

* New server split logic by cpu and moved to server_helper.py

* Remove old dead code

* Add RenderStatus.WAITING to proxy categories
2023-06-16 00:04:02 -05:00
Brett Williams
0080cdb371 Use local_paths when submitting jobs to localhost 2023-06-15 20:45:46 -05:00
54ec5f0e9c Subjob Zip Files (#18)
* Transfer any uploaded zip files to subjobs instead of extracted zips

* Fix Blender naming scheme
2023-06-15 19:21:10 -05:00
Brett Williams
78a51ffea0 Hotfix: Make sure start and end frames are always ints 2023-06-15 19:09:11 -05:00
Brett Williams
46e65699cc Hotfix: Disable SSL for now 2023-06-15 17:47:20 -05:00
e6eb344d19 Wait for subjob completion and download render files to host (#17)
* Fix Blender image sequence -> video conversion and change video to use ProRes

* Wait for child jobs to complete

* Download and extract render files from subjobs

* Fix issue where zip was not removed

* Update client to use new method names in server proxy

* Fix minor download issue
2023-06-15 17:44:34 -05:00
69715e8afa Multi client jobs (#15)
* Add API to expose if RenderQueue is available to take new jobs for a given renderer and priority

* Fix issue with calculating Blender percent complete when not starting at 1

* Rename owner / client properties to parent / children

* Add make_ready method to API

* Create and submit subjobs to other servers

* Update make_ready to update children jobs and some misc fixes

* Misc GUI cleanup
2023-06-15 02:01:50 -05:00
78a389080c Ability to set custom start / end frames (#14)
* Accept start / end frames in job submissions. Start / end frame support for Blender

* Remove old render_all_frames variables and misc cleanup

* Client work - Client determines frame count for FFMPEG and shows frame picker UI
2023-06-11 20:45:16 -05:00
94bb1e4362 Remove Old Multi-Client Code / Refactoring (#13)
* Remove a lot of old code from render_queue regarding clients

* More code cleanup

* More code cleanup

* Move everything around

* Minor log change
2023-06-11 14:50:20 -05:00
86a1dae5b6 Submit URLs in new jobs - Also add_job cleanup. (#12)
* Add ability to submit render jobs as URLs

* Considated add_job and add_job_handler

* Cleaned up code flow and added back in support for local file path submissions

* Misc cleanup
2023-06-10 22:55:08 -05:00
Brett Williams
2763a0c97f Fix hostname issue on machines without ".local" in hostname and handle missed TimeOut exception 2023-06-10 16:07:58 -05:00
38936d40ab Async Server Status Fetch (#11)
* Add background fetching to server_proxy

* Update UI to use server_proxy fetched jobs

* Fix issue getting status with empty jobs_cache

* Fix issue with jobs not appearing after switching servers

* Remove job_cache from dashboard_window and utilize server_proxy caches

* Remove jobs from table that shouldn't be there

* Streamline how we're handling offline tracking and handle connection error when fetching thumbnail

* Add ability to remove any manually added servers
2023-06-09 18:38:58 -05:00
05c8ac506c Manually add servers (#9)
* Add ability to manually add servers to client

* Misc client cleanup

* Add availability check before adding server to client UI
2023-06-08 08:19:37 -05:00
Brett Williams
9ec7ef48c2 See progress of uploads in client 2023-06-05 19:30:47 -05:00
Brett Williams
30bd679de8 Process and unzip uploaded zip files 2023-06-05 15:52:49 -05:00
Brett Williams
0ba89553ab Fix issue where deleting jobs with a shared project would erase all project files 2023-06-04 12:19:47 -05:00
Brett Williams
54ec4e7838 Misc small bug fixes 2023-06-04 12:06:01 -05:00
Brett Williams
43a1698ab8 Code cleanup 2023-06-03 17:06:09 -05:00
Brett Williams
a9257a6bf5 Improve performance of job status updates through caching hashes 2023-06-03 16:59:01 -05:00
Brett Williams
c4280d95da Fix issue with dashboard_window not showing thumbs 2023-06-03 14:30:07 -05:00
Brett Williams
eb8b8d0b90 More client cleanup work 2023-06-03 13:15:13 -05:00
Brett Williams
af24bc6beb Created start_client.py and moved server_proxy.py to server directory 2023-06-03 12:49:04 -05:00
Brett Williams
cf79555653 Unregister from zeroconf on script end 2023-06-02 16:36:33 -05:00
Brett Williams
02884c77bc More logging 2023-06-02 16:05:54 -05:00
Brett Williams
4331d81a97 Update jobs on background thread 2023-06-02 12:10:49 -05:00
Brett Williams
23abbd836c Fix import issue 2023-06-01 20:31:23 -05:00
Brett Williams
1dca7d8029 Add zeroconf to job_server and listener to client 2023-06-01 20:02:15 -05:00
Brett Williams
997feb74cc Add zeroconf to client 2023-06-01 18:09:26 -05:00
Brett Williams
7040812e71 Fix issue with client not showing up when no jobs available 2023-06-01 14:37:26 -05:00
Brett Williams
8c19a50d60 Get big thumbnails now 2023-05-31 23:11:37 -05:00
Brett Williams
f039bfae35 Misc UI work. Colored jobs. Error handling. 2023-05-31 22:17:47 -05:00
Brett Williams
6533481391 Remove all references to ScheduledJob 2023-05-30 22:30:18 -05:00
Brett Williams
60eeb6d5e2 Blender image sequences now generate a preview mp4 on completion 2023-05-30 21:59:04 -05:00
Brett Williams
22cfe9c24e More thumbnail fixes 2023-05-30 21:05:59 -05:00
Brett Williams
a668fa70e5 Fix exception when job is submitted without a name 2023-05-30 12:05:09 -05:00
Brett Williams
4911ed538d API cleanup 2023-05-28 01:17:10 -05:00
Brett Williams
eaacbf4ec0 Blender image sequences now generate a preview mp4 on completion 2023-05-27 16:01:54 -05:00
Brett Williams
55591c10e1 Change job and upload directory layout 2023-05-27 15:06:23 -05:00
Brett Williams
df92269708 Refactor Worker / Engine / Factory file layout 2023-05-27 14:40:34 -05:00
Brett Williams
9ac1c44ba3 Add RenderClient object to DB for client tracking 2023-05-24 15:40:45 -05:00
Brett Williams
e11c5e7e58 Convert render_queue and scheduledjob to use sql instead of json 2023-05-24 09:58:02 -05:00
Brett Williams
dd2ae2d71a Scheduled_job work 2023-05-24 09:49:25 -05:00
Brett Williams
29e03eac87 Fix issue with getting renderer info if renderer not available 2023-05-23 16:48:19 -05:00
Brett Williams
a8323f6eec Added presets to scheduler gui 2023-05-22 21:33:23 -05:00
Brett Williams
d9ebd0b2d9 Rename RenderJob to ScheduledJob 2023-05-22 19:41:38 -05:00
Brett Williams
861df5f215 Fix issues with engine name 2023-05-22 19:15:02 -05:00
Brett Williams
4ef94dd7b8 Major file reorganization 2022-12-20 11:22:04 -08:00