<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/config.cc, branch cpp17</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=cpp17</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=cpp17'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2025-05-29T09:49:34Z</updated>
<entry>
<title>Interpret relative cinemas SQLite3 paths as being relative to the config.xml (#3038).</title>
<updated>2025-05-29T09:49:34Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-05-08T22:48:07Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=4021e2a5b467338814664c466a84714da5fcbc0b'/>
<id>urn:sha1:4021e2a5b467338814664c466a84714da5fcbc0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unused template method.</title>
<updated>2025-04-12T07:57:26Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-04-12T07:57:26Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=cc019b5dc938e05705d8ff0c7f1165a885a14fd0'/>
<id>urn:sha1:cc019b5dc938e05705d8ff0c7f1165a885a14fd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix nonsense DKDM filename format default.</title>
<updated>2025-03-26T23:30:25Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-03-26T23:29:41Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d880fa106cd803e400aeb246fb4db757a9a87677'/>
<id>urn:sha1:d880fa106cd803e400aeb246fb4db757a9a87677</id>
<content type='text'>
Also auto-correct it in existing config files.
</content>
</entry>
<entry>
<title>Match KDM filename format defaults.</title>
<updated>2025-03-26T23:30:25Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-03-26T23:29:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=77c8ef5396e971034f27202dc12d00ab9a3f441f'/>
<id>urn:sha1:77c8ef5396e971034f27202dc12d00ab9a3f441f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Basic support for variable-Z 3D subtitles.</title>
<updated>2025-03-24T15:59:24Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-03-20T22:43:34Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=816a7b7a9d9c3cae7565cec139bf28068853f94d'/>
<id>urn:sha1:816a7b7a9d9c3cae7565cec139bf28068853f94d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't use an optional for the Grok config object.</title>
<updated>2025-03-07T23:12:07Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-03-03T19:51:48Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=3f2675aab119e55f958563e2fe6949192a2b976d'/>
<id>urn:sha1:3f2675aab119e55f958563e2fe6949192a2b976d</id>
<content type='text'>
I'm not sure why I did it like this in the first place - perhaps so that
if the API endpoint changes there aren't so many old values stuck in
config files all over the place?  Anyway, it seems cleaner to do it like
this, as it's how we handle the other config.
</content>
</entry>
<entry>
<title>Fix some config documentation comments.</title>
<updated>2025-03-06T19:23:28Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-03-06T19:23:28Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=8f65aa1a9a63a05ff809a35b0708607d6f77dc7c'/>
<id>urn:sha1:8f65aa1a9a63a05ff809a35b0708607d6f77dc7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add KDM debug log file option.</title>
<updated>2025-03-01T23:39:36Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-03-01T23:39:36Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=7bf9cf9c047a2df19e19d557a86f34585453660d'/>
<id>urn:sha1:7bf9cf9c047a2df19e19d557a86f34585453660d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Apply the same fix for DKDM recipients as we previously had for cinemas.</title>
<updated>2025-02-10T22:35:26Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-02-09T22:36:42Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=fa580d756b32cd46f735cbbdabc9218bb8df2560'/>
<id>urn:sha1:fa580d756b32cd46f735cbbdabc9218bb8df2560</id>
<content type='text'>
Otherwise the same problem happens with dkdm_recipients.xml - it is
moved to sqlite3 but the configuration still has the XML path, causing a
crash the next time we try to access the DKDM recipients list.
</content>
</entry>
<entry>
<title>Remove believed pointless pre-storage of file state.</title>
<updated>2025-02-09T22:35:30Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-02-09T22:35:30Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=fe36f02b81d740bedfe04c08027748735e2bf1ba'/>
<id>urn:sha1:fe36f02b81d740bedfe04c08027748735e2bf1ba</id>
<content type='text'>
I think I previously misunderstood what was going on here and thought
the problem was that doing set_cinemas_file() created a sqlite3 file.  I
now think that the problem is rather that we call Config::instance()
early in dcpomatic.cc, then ::drop().  This creates the sqlite3 file,
sets its path in the Config object but then deletes the object without
saving it.  When we create the Config object "for real" we don't reset
the path from XML to sqlite3.

The part of the previous fix that unconditionally sets the config path
seems to be the right one.
</content>
</entry>
</feed>
