Explain how the call to lottie works and how to debug it

Ben Wiederhake 2020-12-02 16:15:21 +01:00
parent d2c7398c31
commit 4f2a8d0e01

@ -1178,6 +1178,16 @@ This requires the external dependency `lottie`, which can be installed like this
`pip install lottie cairosvg` `pip install lottie cairosvg`
https://github.com/42wim/matterbridge/issues/874 https://github.com/42wim/matterbridge/issues/874
Note that if you insist on using an ancient Python version like 3.5, the pip installation is slightly more complicated. Matterbridge expects `lottie_convert.py` to be in your `$PATH`; if that's not already the case, try putting this into your `~/.profile`:
```
PATH=$HOME/.local/bin:$PATH
export PATH
```
If you encounter bugs with this, try to extract the Telegram sticker file and run lottie on it like this:
`lottie_convert.py --input-format lottie file_1234_tgs.webp myoutput.webp`
This might give you additional information about what's going on.
Setting: OPTIONAL, RELOADABLE \ Setting: OPTIONAL, RELOADABLE \
Format: string \ Format: string \
Values: `"png"` (still-image), `"webp"` (animated webp) \ Values: `"png"` (still-image), `"webp"` (animated webp) \