X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fconfig.cc;h=c165859b01bd25b3d7e1d768c86f8bca71af8c85;hb=dea922bbc1fa2b643140a6b5275e58a1fb0225c9;hp=307b9684414359ffb823a937f3febc515711db84;hpb=039ac5848730d154e0b3f3dd841a55e45ba922d8;p=dcpomatic.git diff --git a/src/lib/config.cc b/src/lib/config.cc index 307b96844..c165859b0 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -90,6 +90,8 @@ Config::Config () } else if (k == "sound_processor") { _sound_processor = SoundProcessor::from_id (v); } + + _default_dci_metadata.read (k, v); } } @@ -136,7 +138,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