diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-25 19:29:50 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-25 19:29:50 +0000 |
| commit | 7101dd05ddcde66600bded064e28b491d79e3ebc (patch) | |
| tree | d42d33838e887c42d770d5ce24846620ef34a458 /src/lib/config.cc | |
| parent | 57202d20733638d979fcc7976ed725ded23c5515 (diff) | |
Provide option of default DCI name details (#42).
Diffstat (limited to 'src/lib/config.cc')
| -rw-r--r-- | src/lib/config.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc index 65d01bf00..c4659eecf 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -86,6 +86,8 @@ Config::Config () } else if (k == "sound_processor") { _sound_processor = SoundProcessor::from_id (v); } + + _default_dci_metadata.read (k, v); } } @@ -132,7 +134,9 @@ Config::write () const f << "tms_path " << _tms_path << "\n"; f << "tms_user " << _tms_user << "\n"; f << "tms_password " << _tms_password << "\n"; - f << "sound_processor " << _sound_processor->id (); + f << "sound_processor " << _sound_processor->id () << "\n"; + + _default_dci_metadata.write (f); } string |
