From be25dea447bf4c6169067cb97261e2c910519af3 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Tue, 29 Mar 2022 13:04:44 +0200 Subject: [PATCH] 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 --- playout/libretime_liquidsoap/1.1/ls_lib.liq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playout/libretime_liquidsoap/1.1/ls_lib.liq b/playout/libretime_liquidsoap/1.1/ls_lib.liq index 9d8bb9ea5..83521ba20 100644 --- a/playout/libretime_liquidsoap/1.1/ls_lib.liq +++ b/playout/libretime_liquidsoap/1.1/ls_lib.liq @@ -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)