<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/tools/dcpomatic_disk.cc, branch cleanups</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=cleanups</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=cleanups'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2021-09-27T09:32:49Z</updated>
<entry>
<title>Add config location versioning (#2090).</title>
<updated>2021-09-27T09:32:49Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-09-25T22:09:04Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ccacce39c39d16977ab6c1592fcb6e941b05ddff'/>
<id>urn:sha1:ccacce39c39d16977ab6c1592fcb6e941b05ddff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Give an error if a non-DCP folder is selected for DCP writing (#2024).</title>
<updated>2021-06-04T22:01:03Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-06-04T22:01:03Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=3c5a2f73afa9a3a5324b0345ffa9642ee474598d'/>
<id>urn:sha1:3c5a2f73afa9a3a5324b0345ffa9642ee474598d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add some useful command-line options to dcpomatic2_disk.</title>
<updated>2021-05-28T09:24:54Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-28T09:24:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=04b34b7139407e3afa241939bc5416cf1bf06aef'/>
<id>urn:sha1:04b34b7139407e3afa241939bc5416cf1bf06aef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Insert a delay to make sure the QUIT message arrives (#2018).</title>
<updated>2021-05-26T21:06:52Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-26T21:06:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=f75c4440abe1a1cd9838301ac4e3a153178ceb94'/>
<id>urn:sha1:f75c4440abe1a1cd9838301ac4e3a153178ceb94</id>
<content type='text'>
I have no idea why this is necessary, but the nanomsg documentation
suggests it.
</content>
</entry>
<entry>
<title>Open a dialogue if pinging the back-end fails on macOS.</title>
<updated>2021-05-10T21:35:53Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-10T13:12:23Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=1484f4e3642e3ddcb10515eb0f32b00370968da3'/>
<id>urn:sha1:1484f4e3642e3ddcb10515eb0f32b00370968da3</id>
<content type='text'>
At least this means the user will get another go without losing
their setup.  My only theory at this point is that sometimes the
backend takes a crazy amount of time to start up because of some
SIP / gatekeeper type nonsense (#1990).
</content>
</entry>
<entry>
<title>Attempt ping from front- to back-end several times (#1990).</title>
<updated>2021-05-09T21:15:05Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-09T14:43:24Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=472959c1357f43e2eb33366c58bed0466474c2b7'/>
<id>urn:sha1:472959c1357f43e2eb33366c58bed0466474c2b7</id>
<content type='text'>
On macOS it seems that the backend sometimes is not started very
quickly.  Adding a long timeout to ping does not work, perhaps
because the backend is not listening.

Trying a few times seems to fix it.

With this fix I saw this log:

Sun May  9 23:02:51 2021: dcpomatic_disk_writer e63a485e23 started
Sun May  9 23:02:51 2021: Entering main loop
Sun May  9 23:02:51 2021: Writer receives command: P

from the backend and

Sun May  9 23:02:45 2021: Could not send ping to writer (attempt 1)
Sun May  9 23:02:47 2021: Could not send ping to writer (attempt 2)
Sun May  9 23:02:49 2021: Could not send ping to writer (attempt 3)

from the front-end, suggesting that the first 3 pings went to /dev/null
and the 4th was heard.
</content>
</entry>
<entry>
<title>Add more logging to disk writer.</title>
<updated>2021-05-09T21:15:05Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-09T08:08:39Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=767238a8abebbb2a2f8d1e91806131754b9c67fd'/>
<id>urn:sha1:767238a8abebbb2a2f8d1e91806131754b9c67fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Wait a while for unmounts to go through in case we have to authenticate the user.</title>
<updated>2021-04-22T13:42:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-21T23:40:19Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=704c71ae870d8bfb7811567406f111e2f1efdc03'/>
<id>urn:sha1:704c71ae870d8bfb7811567406f111e2f1efdc03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Re-scan drives just before writing the DCP (#1969).</title>
<updated>2021-04-21T21:14:18Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-21T21:14:18Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=f68217c17dddafdf9453e3bfdc6d7acb9430736e'/>
<id>urn:sha1:f68217c17dddafdf9453e3bfdc6d7acb9430736e</id>
<content type='text'>
In case the drive you chose has disappeared, or something about
it has changed since it was found.
</content>
</entry>
<entry>
<title>More disk build fixes.</title>
<updated>2021-04-03T22:40:56Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-03T22:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=8e1b0dfe3103867a749ff51156e3ed6547f298a0'/>
<id>urn:sha1:8e1b0dfe3103867a749ff51156e3ed6547f298a0</id>
<content type='text'>
</content>
</entry>
</feed>
