CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
This commit is contained in:
parent
7d691a44af
commit
b79f02ab88
3 changed files with 25 additions and 3 deletions
|
@ -14,6 +14,7 @@ exec 2>&1
|
|||
|
||||
export HOME="/var/tmp/airtime/pypo/"
|
||||
export PYTHONPATH=${api_client_path}:$PYTHONPATH
|
||||
export LC_ALL=`cat /etc/default/locale | grep "LANG=" | cut -d= -f2 | tr -d "\n\""`
|
||||
|
||||
# Note the -u when calling python! we need it to get unbuffered binary stdout and stderr
|
||||
exec python -u ${pypo_path}${pypo_script} > /var/log/airtime/pypo/py-interpreter.log 2>&1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue