Skip to content

Conversation

Nachtalb
Copy link

@Nachtalb Nachtalb commented Dec 22, 2021

This adds optional start/end notifications and error notifications

Updated README for documentation

Example of start / error / end notifications. The error seen in this pic comes from #97
image

In order to not hit any flood limit imposed by telegram we gather all errors/warnings and send them in the end as packages instead of during the execution.

This adds optional start / end notifications and error notifications

Updated README for documentation
To enable this you first have to create a new Telegram Bot by talking to the neat helper [BotFather](https://t.me/BotFather). From him you get a "bot_token" which you have to save in the `settings.ini`. After that you also need a chat
where to send the messages to. For that add the bot to any chatroom and use a bot like [IDBot](https://t.me/myidbot) to get the chats id. Save this to `chat_id` in the `settings.ini`.

Last but not least you have to enable the integration by settings `eneabled` in the `[TELEGRAM]` section of `settings.ini` to `True`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Last but not least you have to enable the integration by settings `eneabled` in the `[TELEGRAM]` section of `settings.ini` to `True`.
Last but not least you have to enable the integration by settings `enabled` in the `[TELEGRAM]` section of `settings.ini` to `True`.

settings = read_settings(SETTINGS_FILE)
anilist_settings = settings["ANILIST"]
plex_settings = settings["PLEX"]
telegram_settings = settings["TELEGRAM"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would also be useful for the Tautulli mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants