Clarify some error messages on macOS (#1837). jenkins
authorCarl Hetherington <cth@carlh.net>
Sat, 17 Oct 2020 22:16:25 +0000 (00:16 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 17 Oct 2020 22:16:25 +0000 (00:16 +0200)
When we say we can't start a particular tool, it may be because it
has not even been downloaded/installed.

src/tools/dcpomatic.cc

index 60f11752e89988687192314ec451490e0094d262..f3daae30af73fec898b77a48d777255b2773ece0 100644 (file)
@@ -881,7 +881,11 @@ private:
                _film->write_metadata ();
 
                if (send_to_other_tool (BATCH_JOB_PORT, &start_batch_converter, _film->directory()->string())) {
                _film->write_metadata ();
 
                if (send_to_other_tool (BATCH_JOB_PORT, &start_batch_converter, _film->directory()->string())) {
+#ifdef DCPOMATIC_OSX
+                       error_dialog (this, _("Could not start the batch converter.  You may need to download it from dcpomatic.com.");
+#else
                        error_dialog (this, _("Could not find batch converter."));
                        error_dialog (this, _("Could not find batch converter."));
+#endif
                }
        }
 
                }
        }
 
@@ -892,7 +896,11 @@ private:
                }
 
                if (send_to_other_tool (PLAYER_PLAY_PORT, &start_player, _film->dir(_film->dcp_name(false)).string())) {
                }
 
                if (send_to_other_tool (PLAYER_PLAY_PORT, &start_player, _film->dir(_film->dcp_name(false)).string())) {
+#ifdef DCPOMATIC_OSX
+                       error_dialog (this, _("Could not start the player.  You may need to download it from dcpomatic.com.");
+#else
                        error_dialog (this, _("Could not find player."));
                        error_dialog (this, _("Could not find player."));
+#endif
                }
        }
 
                }
        }