jellyfin-plugin-webhook
jellyfin-plugin-webhook copied to clipboard
Messages partially to long for Telegram API
Hello :-)
I am using the web hook plugin in combination with Telegram. It works pretty solid but some movies and episodes of series have a pretty long description and sometimes captions. Unfortunately it doesn't look like the text can be shorten via template helpers as the template engine has no default helper to cut the text with a specific length.
It would be awesome if you can add a helper to shorten the text in the template engine. The documentation of Handlebar states it should be possible via customer helpers.
The error message which appears in my log files is:
Notification failed with response status code BadRequest: "{\"ok\":false,\"error_code\":400,\"description\":\"Bad Request: message caption is too long\"}"
have same problem