plugorgau / eventstreamr

Single and multi room audio visual stream management.
GNU Affero General Public License v3.0
6 stars 12 forks source link

Config to be handled by api #11

Closed techman83 closed 10 years ago

techman83 commented 10 years ago

Currently

techman83 commented 10 years ago

There is a flaw with this theory. Being that the api is launched and controlled by the manager daemon (which make sense, it's got a lot of logic for maintaining processes) it needs to be running when the config is posted by the controller.

Our current Manager launch process was along the lines of:

  1. Manager starts
  2. Launches API
  3. Attempts to request config from the controller
  4. If successful, that config is used, else load last config from file
  5. If controller is running it posts the mac address at the api to confirm everything matches

Though it probably needs more fleshing out. The controller is still only at the concept stage.

techman83 commented 10 years ago

Write/Saves still handled by Manager. Triggers for posting/getting config covered in #2