fix(playout): add locales to libretime-playout-notify calls (#1715)

Fix python36 encoding runtime error that was failing on bionic,
see https://click.palletsprojects.com/en/8.1.x/unicode-support/ for
details.

Fixes #1606
This commit is contained in:
Jonas L 2022-03-29 13:04:44 +02:00 committed by GitHub
parent c695b32394
commit be25dea447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ def gateway(args)
command = "libretime-playout-notify #{args}"
suffix = "&"
log(command)
system("#{prefix} #{command} #{suffix}")
system("LC_ALL=C.UTF-8 LANG=C.UTF-8 #{prefix} #{command} #{suffix}")
end
def notify(m)