diff vamp-server/simple-server.cpp @ 247:8a031eb9a25f

Merge branch 'output-type-uri'
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 15 Jun 2017 09:52:01 +0100
parents 8fd9da17f951
children 853aeab95acf
line wrap: on
line diff
--- a/vamp-server/simple-server.cpp	Mon May 22 08:57:02 2017 +0100
+++ b/vamp-server/simple-server.cpp	Thu Jun 15 09:52:01 2017 +0100
@@ -662,6 +662,9 @@
 
     if (debug) {
         cerr << myname << " " << pid << ": waiting for format: " << format << endl;
+        if (format == "json") {
+            cerr << myname << " " << pid << ": (to test the server, try {\"method\": \"list\"})" << endl;
+        }
     }
     
     while (true) {