From e5fee41faeb6874c8c92d7490caf7763bcd8ae2e Mon Sep 17 00:00:00 2001 From: Bill Mcilhargey <19168174+computeronix@users.noreply.github.com> Date: Wed, 12 May 2021 10:43:10 -0400 Subject: [PATCH] added additional variable for TGS conversion this was buried and wanted to bring it up in the config Convert Tgs (Telegram animated sticker) images to PNG before upload. This is useful when your bridge also contains platforms that do not support animated WebP files, like Discord. This requires the external dependency `lottie`, which can be installed like this: `pip install lottie cairosvg` https://github.com/42wim/matterbridge/issues/874 https://github.com/42wim/matterbridge/pull/1173 --- matterbridge.toml.sample | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample index b44ea2ff..b033e8a1 100644 --- a/matterbridge.toml.sample +++ b/matterbridge.toml.sample @@ -1011,6 +1011,13 @@ QuoteFormat="{MESSAGE} (re @{QUOTENICK}: {QUOTEMESSAGE})" #OPTIONAL (default false) MediaConvertWebPToPNG=false +#Convert Tgs (Telegram animated sticker) images to PNG before upload. +#This is useful when your bridge also contains platforms that do not support animated WebP files, like Discord. +#This requires the external dependency `lottie`, which can be installed like this: +#`pip install lottie cairosvg` +#https://github.com/42wim/matterbridge/issues/874 +#MediaConvertTgs="png" + #Disable sending of edits to other bridges #OPTIONAL (default false) EditDisable=false