From a4dc68c465b8b59b2bf6a97db506e37936d4950d Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Sat, 21 Apr 2012 20:20:05 -0400 Subject: [PATCH] -missing -m option for arglist --- utils/airtime-test-stream.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/airtime-test-stream.py b/utils/airtime-test-stream.py index 2f349c592..9e10a63a4 100644 --- a/utils/airtime-test-stream.py +++ b/utils/airtime-test-stream.py @@ -42,7 +42,7 @@ def find_liquidsoap_binary(): return None -optlist, args = getopt.getopt(sys.argv[1:], 'hvo:H:P:u:p:') +optlist, args = getopt.getopt(sys.argv[1:], 'hvo:H:P:u:p:m:') stream_types = set(["shoutcast", "icecast"]) verbose = False @@ -102,6 +102,8 @@ try: if not verbose: command += " 2>/dev/null | grep \"failed\"" + else: + print command #print command rv = subprocess.call(command, shell=True)