Rename ContentAtmos -> PieceAtmos and pass atmos through Piece.
[dcpomatic.git] / src / tools / dcpomatic_disk.cc
index d199c4ace759b84b5618e35f96532ed446c6b798..a3b351c85fdc5d28ea11d575b5ead69879b0ef5f 100644 (file)
@@ -290,7 +290,8 @@ private:
                        if (!_nanomsg.send(drive.as_xml(), 2000)) {
                                throw CommunicationFailedError ();
                        }
-                       auto reply = _nanomsg.receive (2000);
+                       /* The reply may have to wait for the user to authenticate, so let's wait a while */
+                       auto reply = _nanomsg.receive (30000);
                        if (!reply || *reply != DISK_WRITER_OK) {
                                auto * m = new MessageDialog (
                                                this,