jasontbradshaw / iron-tools

Stream video over the web for either immediate or delayed viewing by an arbitrary number of clients.
3 stars 0 forks source link

Add a config file/class for all configurable parameters #7

Closed jasontbradshaw closed 14 years ago

jasontbradshaw commented 14 years ago

All the wonderful constants we have floating around in the *web.py files should be extracted to a config file, and additionally a config class that can be easily accessed.

The class should load the given file name on init, then mirror all the configuration options as members that can be easily accessed.

elben commented 14 years ago

Agreed, though we should follow convention over configuration on important things. The case I'm worried about is that we reconfigure something and break stuff (e.g. doesn't know what file names to look for anymore)