Commit Graph

15 Commits

Author SHA1 Message Date
34fbdaa4d9 Refactor: DistributedJobManager with pub/sub status change notifications (#25)
* Add pubsub to render_queue and base_worker

* Refactor: Convert ZeroconfServer to Singleton with Class Methods

* New API for subjob servers to notify parent job servers of status changes

* Refactor: Move all subjob related methods to distributed_job_manager.py

* Rewrite for wait_for_subjobs

* Fix: DistributedJobManager.find_available_servers() takes 1 positional argument but 3 were given

* DistributedJobManager should now notify / be notified abotu background job changes

* Fix the make_ready api. Change children keyname to be id@hostname so it can be unique

* Fixes

* Image sequence to movie needs to find the actual start frame

* Fix: subjob_status_change did not return a valid response

* Fix client renderer selection

* Small fix for subjob status checking

* Fix issue with divide_frames_equally

* Fix issue where downloads were not occurring

* Fix issue where old status was being reported

* Add docstrings and code cleanup
2023-06-30 19:49:57 -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
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
75de367153 Break get_time_elapsed into misc_helper (#10) 2023-06-09 11:10:42 -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
f54d665714 Added file_exists_in_mounts method to look for projects on connected network mounts 2023-06-07 19:03:44 -05:00
Brett Williams
21557cf4ed Client allows stopping / deleting multiple jobs simultaniously 2023-06-05 10:58:43 -05:00
Brett Williams
a5d49abfae Make log / file opening work on linux / windows 2023-06-04 12:58:23 -05:00
Brett Williams
54ec4e7838 Misc small bug fixes 2023-06-04 12:06:01 -05:00
Brett Williams
c88480daea Fetch preview images on separate thread 2023-06-03 17:21:30 -05:00
Brett Williams
2154cf0cff More UI nitpicks 2023-06-03 17:09:39 -05:00
Brett Williams
7dc7f17f83 Fix issue with jobs occasionally showing for the wrong server 2023-06-03 15:02:41 -05:00
Brett Williams
c4280d95da Fix issue with dashboard_window not showing thumbs 2023-06-03 14:30:07 -05:00
Brett Williams
87da5e7c0d New job window now lets you pick from all detected servers 2023-06-03 13:46:29 -05:00