summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-04-13 00:12:50 +0100
committerCarl Hetherington <cth@carlh.net>2018-04-13 00:12:50 +0100
commited0b3ee0c5a0ba11d3a1a1dfee8e71238bcab4bd (patch)
tree6c27b0adc932533794a4378ea53c1fca3154f97d /src/tools/dcpomatic_cli.cc
parent1d5ea1b139942bad5500ae40f0646da3fd29dc7f (diff)
Note and indicate servers with bad link version (#982).
Diffstat (limited to 'src/tools/dcpomatic_cli.cc')
-rw-r--r--src/tools/dcpomatic_cli.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc
index 31681a7fc..52a113cbb 100644
--- a/src/tools/dcpomatic_cli.cc
+++ b/src/tools/dcpomatic_cli.cc
@@ -121,7 +121,7 @@ list_servers ()
{
while (true) {
int N = 0;
- list<EncodeServerDescription> servers = EncodeServerFinder::instance()->servers ();
+ list<EncodeServerDescription> servers = EncodeServerFinder::instance()->good_servers ();
/* This is a bit fiddly because we want to list configured servers that are down as well
as all those (configured and found by broadcast) that are up.
@@ -167,6 +167,11 @@ list_servers ()
cout << std::left << setw(24) << i.host_name() << " UP " << i.threads() << "\n";
++N;
}
+
+ /* And those that have a bad version */
+ BOOST_FOREACH (EncodeServerDescription i, EncodeServerFinder::instance()->good_servers()) {
+ cout << std::left << setw(24) << i.host_name() << " bad version\n";
+ }
}
dcpomatic_sleep (1);