Fixed quotation issue with playability analyzer

This commit is contained in:
Albert Santoni 2015-02-02 12:26:22 -05:00
parent 3f6983aa3e
commit ee6862e731
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class PlayabilityAnalyzer(Analyzer):
:param metadata: A metadata dictionary where the results will be put
:return: The metadata dictionary
'''
command = [PlayabilityAnalyzer.LIQUIDSOAP_EXECUTABLE, '-v', '-c', "output.dummy(audio_to_stereo(single('%s')))" % filename]
command = [PlayabilityAnalyzer.LIQUIDSOAP_EXECUTABLE, '-v', '-c', "output.dummy(audio_to_stereo(single(argv(1))))", '--', filename]
try:
subprocess.check_output(command, stderr=subprocess.STDOUT, close_fds=True)