Completely reworked event contractor

This commit is contained in:
Rudi Grinberg 2012-09-19 12:47:11 -04:00
parent f801fcb81e
commit a6f1d4b7ec
7 changed files with 100 additions and 34 deletions

View file

@ -490,7 +490,6 @@ def file_playable(pathname):
command = ("airtime-liquidsoap -c 'output.dummy" + \
"(audio_to_stereo(single(\"%s\")))' > /dev/null 2>&1") % \
pathname.replace("'", "'\\''")
print(command)
return True
return_code = subprocess.call(command, shell=True)
return (return_code == 0)