cc-4329: Fixed this by adding liquid soap playability test from mm1

This commit is contained in:
Rudi Grinberg 2012-08-31 17:22:25 -04:00
parent 4de8d32fad
commit 74e4425ead
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ def file_playable(pathname):
#is opened with write permissions, and this causes an inotify ON_CLOSE_WRITE
#event to be fired :/
command = ("sudo -u pypo airtime-liquidsoap -c 'output.dummy" + \
command = ("airtime-liquidsoap -c 'output.dummy" + \
"(audio_to_stereo(single(\"%s\")))' > /dev/null 2>&1") % \
pathname.replace("'", "'\\''")
return_code = subprocess.call(command, shell=True)