CC-3615: AddMedia,Add Watched Folders-> Uploading of certain playable media fails

-fixed
This commit is contained in:
Martin Konecny 2012-04-10 21:52:54 -04:00
parent 1344c27d30
commit bc6e911673
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ def test_file_playability(pathname):
"""
liquidsoap_found = subprocess.call("which liquidsoap", shell=True)
if liquidsoap_found == 0:
return_code = subprocess.call("liquidsoap -r %s" % pathname.replace("'", "\\'"), shell=True)
return_code = subprocess.call("liquidsoap -r \"%s\"" % pathname.replace("'", "\\'"), shell=True)
else:
return_code = 0