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)