CC-3615: AddMedia,Add Watched Folders-> Uploading of certain playable media fails
-fixed
This commit is contained in:
parent
1017b4e449
commit
1344c27d30
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ def test_file_playability(pathname):
|
||||||
"""
|
"""
|
||||||
liquidsoap_found = subprocess.call("which liquidsoap", shell=True)
|
liquidsoap_found = subprocess.call("which liquidsoap", shell=True)
|
||||||
if liquidsoap_found == 0:
|
if liquidsoap_found == 0:
|
||||||
return_code = subprocess.call("liquidsoap -c 'output.dummy(single(\"%s\"))'" % pathname, shell=True)
|
return_code = subprocess.call("liquidsoap -r %s" % pathname.replace("'", "\\'"), shell=True)
|
||||||
else:
|
else:
|
||||||
return_code = 0
|
return_code = 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue