From 01955a0df8d8348ae05edaa84c9889a6d123879d Mon Sep 17 00:00:00 2001 From: Bill Mcilhargey <19168174+computeronix@users.noreply.github.com> Date: Thu, 13 May 2021 16:49:41 -0400 Subject: [PATCH] Add additional variable for TGS conversion in sample config (#1472) 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 6a5d406f..5c1698a1 100644 --- a/matterbridge.toml.sample +++ b/matterbridge.toml.sample @@ -1019,6 +1019,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