Skip to content

Yoas1/emby-telegram-notifier-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 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 configuration file.
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 - Create config.yaml file like example in this repo.
   1.1 - You can add admins to get all notification from emby-server.
   1.2 - You can add users to get new/delete items from emby-server.
(you can add users while the service is still running)
2 - Run the server with docker/podman:
docker run:

docker run -d --restart=always -v </path/to/config/dir>:/config -p 5000:5000 yoas1/emby-telegram-notifier:v0.1

docker compose:

version: "3.5"
services:
  emby-webhook:
    container_name: emby-webhook
    image: yoas1/emby-telegram-notifier:v0.1
    volumes:
      - </path/to/config/dir>:/config
    ports:
      - 5000:5000
    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