GithubHelp home page GithubHelp logo

newday-life / emby-telegram-notifier- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yoas1/emby-telegram-notifier-

0.0 0.0 0.0 317 KB

simple webhook server to emby Telegram notification

License: MIT License

Python 100.00%

emby-telegram-notifier-'s Introduction

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.

emby-telegram-notifier-'s People

Contributors

yoas1 avatar v1rusnl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.