mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-24 21:19:32 +01:00
Explain how the call to lottie works and how to debug it
parent
d2c7398c31
commit
4f2a8d0e01
10
Settings.md
10
Settings.md
@ -1178,6 +1178,16 @@ This requires the external dependency `lottie`, which can be installed like this
|
||||
`pip install lottie cairosvg`
|
||||
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 \
|
||||
Format: string \
|
||||
Values: `"png"` (still-image), `"webp"` (animated webp) \
|
||||
|
Loading…
Reference in New Issue
Block a user