From 74e4425eadb3bff59407ed3bca0337dcccfdb983 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Fri, 31 Aug 2012 17:22:25 -0400 Subject: [PATCH] cc-4329: Fixed this by adding liquid soap playability test from mm1 --- python_apps/media-monitor2/media/monitor/pure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_apps/media-monitor2/media/monitor/pure.py b/python_apps/media-monitor2/media/monitor/pure.py index 005178157..2fdf3aa5f 100644 --- a/python_apps/media-monitor2/media/monitor/pure.py +++ b/python_apps/media-monitor2/media/monitor/pure.py @@ -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)