Skip to content

Yoas1/emby-telegram-notifier-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emby-Telegram-Notifier

simple webhook server to emby Telegram notification

Features

  • Integrates with the webhook plugin.
  • Telegram notifications with media images and summary when a new movie or series is added to Emby.
  • Some pictures:
    alt text alt text

Installation

Create a new telegram-bot

1 - Search Botfather in telegram.
2 - Send command /newbot to Botfather.
3 - Give the Telegram bot a name.
4 - Give the Telegram bot a unique username, it must end in "bot".
5 - Save the Telegram bot's access token, we will use it later in the env configuration.
6 - Get your chat ID by starting a chat with your bot, sending a message and then visiting https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates to find the chat ID in the returned JSON.

Run the webhook-server

1 - Clone this repo.
2 - Run the server with docker:
docker run:

docker run -d --restart=always -v </path/to/clone/dir>:/App -e TID=<telegram-id1> <telegram-id2> -e TT=<telegram-bot-token> -e E_SERVER=<http(s)://emby-server-url> -p 5000:5000 yoas1/flask-base:1.0

docker compose:

version: "3.5"
services:
  webhook-server:
    container_name: webhook-server
    image: yoas1/flask-base:1.0
    volumes:
      - </path/to/clone/dir>:/App
    ports:
      - 5000:5000
    environment:
      TID: <telegram-id1> <telegram-id2>
      TT: <telegram-bot-token>
      E_SERVER: <http(s)://emby-server-url>
    restart: always

3 - Create emby notification:

  • Go to Settings --> Notifications
  • Add Notifications --> select Webhook:
    • Name: name to your notification
    • Url: http://server-ip:5000/webhook
    • Request content type: application/json
    • Events: select your send events to telegram

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests for new features, bug fixes, or improvements.

About

simple webhook server to emby Telegram notification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages