CC-3783: Liquidsoap file verification rejects all mono files
-fixed
This commit is contained in:
parent
818e0392e7
commit
a895c3a354
|
@ -334,7 +334,7 @@ def test_file_playability(pathname):
|
||||||
|
|
||||||
#when there is an single apostrophe inside of a string quoted by apostrophes, we can only escape it by replace that apostrophe
|
#when there is an single apostrophe inside of a string quoted by apostrophes, we can only escape it by replace that apostrophe
|
||||||
#with '\''. This breaks the string into two, and inserts an escaped single quote in between them.
|
#with '\''. This breaks the string into two, and inserts an escaped single quote in between them.
|
||||||
command = "liquidsoap -c 'output.dummy(single(\"%s\"))'" % pathname.replace("'", "'\\''")
|
command = "liquidsoap -c 'output.dummy(audio_to_stereo(single(\"%s\")))'" % pathname.replace("'", "'\\''")
|
||||||
return_code = subprocess.call(command, shell=True)
|
return_code = subprocess.call(command, shell=True)
|
||||||
else:
|
else:
|
||||||
return_code = 0
|
return_code = 0
|
||||||
|
|
Loading…
Reference in New Issue