atropa 10 Posted March 29, 2023 Posted March 29, 2023 (edited) Hello. Could someone provide a step by step guide on how to create webhooks in Emby? I'm completely new to this and have no idea how to do this. I want to create a webhook for adding new media. It should be like in tautulli where you send the poster, the description and the links to Telegram. Telegram is already ready because I used it for Tautulli. But how does it work with Emby? Do you need something like IFTTT ? Or what else is necessary ? greetings Edited March 29, 2023 by atropa
akramaster 1 Posted October 24, 2023 Posted October 24, 2023 On 3/29/2023 at 2:00 PM, atropa said: Hello. Could someone provide a step by step guide on how to create webhooks in Emby? I'm completely new to this and have no idea how to do this. I want to create a webhook for adding new media. It should be like in tautulli where you send the poster, the description and the links to Telegram. Telegram is already ready because I used it for Tautulli. But how does it work with Emby? Do you need something like IFTTT ? Or what else is necessary ? greetings I want the same. did you get it finally?
Luke 42077 Posted October 24, 2023 Posted October 24, 2023 26 minutes ago, akramaster said: I want the same. did you get it finally? Hi, did you try creating a webhook in Emby server?
akramaster 1 Posted October 24, 2023 Posted October 24, 2023 hi, not yet. is there any info about how to doit? i have emby server 4.7
Luke 42077 Posted October 24, 2023 Posted October 24, 2023 5 hours ago, akramaster said: hi, not yet. is there any info about how to doit? i have emby server 4.7 In the server menu just go to the webhooks section and click add webhook.
akramaster 1 Posted October 24, 2023 Posted October 24, 2023 ok. I try to add " new media added", but what i have to fill in the "url"?? is there any instructions for dummies....??
Luke 42077 Posted October 24, 2023 Posted October 24, 2023 14 minutes ago, akramaster said: ok. I try to add " new media added", but what i have to fill in the "url"?? is there any instructions for dummies....?? That would be the telgram url if you are intending to send it to telegram. I don't know a whole lot about telegram so I can't tell you what that is. Webhooks is an advanced feature for advanced users. It sounds to be like you're better off using the dedicated Telegram plugin.
akramaster 1 Posted October 26, 2023 Posted October 26, 2023 Yes, i am using it but i want to add the poster info of new media added. 1
jdazzle44 7 Posted December 5, 2023 Posted December 5, 2023 (edited) I created a python script that does exactly this. You can find it on github if you're interested. Example of a movie and series below Edited December 5, 2023 by jdazzle44 1
jdazzle44 7 Posted December 6, 2023 Posted December 6, 2023 23 hours ago, yvoictra said: Interested in this. Check it out on GitHub. https://github.com/Fahmula/emby-telegram-notifier
akramaster 1 Posted February 25, 2024 Posted February 25, 2024 Hi jdazzle44, Is your script still working . I have emby server Version 4.8.1.0. could you help me please
emLmSx 6 Posted April 4, 2024 Posted April 4, 2024 On 25.02.2024 at 19:52, akramaster said: Привет, jdazzle44, Ваш скрипт все еще работает? У меня есть сервер Emby версии 4.8.1.0 . не могли бы вы мне помочь, пожалуйста Тоже самое, вот уже Version 4.8.3.0
Robert87354 18 Posted April 15, 2024 Posted April 15, 2024 On 5/12/2023 at 19:16, jdazzle44 said: Creé un script en Python que hace exactamente esto. Puedes encontrarlo en github si estás interesado. Ejemplo de película y serie a continuación Muchas gracias, funciona genial! Thank you very much, it works great!
Dicken 16 Posted April 16, 2024 Posted April 16, 2024 It would be cool if someone could explain how to install Phyton Script on a Synology NAS.
Neminem 1518 Posted April 18, 2024 Posted April 18, 2024 Sure here you go bing serach Phyton Script on a Synology NAS - Search (bing.com) Google install Phyton Script on a Synology NAS - Google-søgning
Dicken 16 Posted April 19, 2024 Posted April 19, 2024 19 hours ago, jaycedk said: Sure here you go bing serach Phyton Script on a Synology NAS - Search (bing.com) Google install Phyton Script on a Synology NAS - Google-søgning Thanks, I've already been there. But I've now installed it as Docker Compose and it's running. @jdazzle44Is it somehow possible that you can choose whether the plot is sent along or not and that, for example, "New Movie Added" is also displayed in a different language? Probably not, right?
Robert87354 18 Posted April 20, 2024 Posted April 20, 2024 On 4/19/2024 at 1:53 PM, Dicken said: Thanks, I've already been there. But I've now installed it as Docker Compose and it's running. @jdazzle44Is it somehow possible that you can choose whether the plot is sent along or not and that, for example, "New Movie Added" is also displayed in a different language? Probably not, right? English You can edit app.py and put it in the desired language, for example I have set it to Spanish, by the way, in emby 4.8.4.0 it no longer works, it does not send notifications. Español Puedes editar app.py y ponerlo en el idioma deseado, yo por ejemplo lo he puesto en Castellano, por cierto, en emby 4.8.4.0 no funciona, no envía las notificaciones.
Dicken 16 Posted April 20, 2024 Posted April 20, 2024 7 hours ago, Robert87354 said: English You can edit app.py and put it in the desired language Ah cool, but I have little idea and I'm glad I got it running on my Synology NAS via Docker Compose. Can you possibly tell me which line I need to add to the compose file to mount the installation into a folder? That I can edit the file?
Dicken 16 Posted April 21, 2024 Posted April 21, 2024 12 hours ago, Dicken said: Ah cool, but I have little idea and I'm glad I got it running on my Synology NAS via Docker Compose. Can you possibly tell me which line I need to add to the compose file to mount the installation into a folder? That I can edit the file? I did it. volumes: - /volume1/docker/embytelegram/app.py:/app/app.py:rw
Dicken 16 Posted April 22, 2024 Posted April 22, 2024 On 4/20/2024 at 5:13 PM, Robert87354 said: by the way, in emby 4.8.4.0 it no longer works, it does not send notifications. I have the same Problem, but I think I might have found the problem. If I'm right, it has nothing to do with the Emby version. I replied in the issue on Github. https://github.com/Fahmula/emby-telegram-notifier/issues/16 @Robert87354Just for fun, take a look at what the runtime looks like for your film on TMDB and how long it actually is in your film file.
Robert87354 18 Posted April 22, 2024 Posted April 22, 2024 Thanks @Dickens In my case the problem seems to be in this movie "Ninja Assassin 2009". It just so happened that I updated Emby and the first movie to post after the update was this one. Spanish -> En mi caso el problema parece estar en esta película "Ninja Assassin 2009". Se dio la casualidad que actualicé Emby y, la primera película en publicar después de la actualización fue esta.
AntonioP01 1 Posted October 30, 2024 Posted October 30, 2024 Hi, I wanted to know if you could help me configure the app.py file by setting the exact parameters # Telegram Configuration TELEGRAM_BOT_TOKEN = os.environ.get("") TELEGRAM_CHAT_ID = os.environ.get("") EMBY_BASE_URL = os.environ.get("") EMBY_API_KEY = os.environ.get("") in the emby base url section do I put http://localhost:8096/ or the local or remote address of the server? Because I tried with both and I get this when I start the app.py file * Serving Flask app 'app' * Debug mode: off 2024-10-30 18:36:44,546 - INFO - ←[31m←[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.←[0m * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.1.14:5000 2024-10-30 18:36:44,548 - INFO - ←[33mPress CTRL+C to quit←[0m and if I configure the notifications also by putting both urls and inserting, multipart/form-data or application/json I do not receive any test notification. If you can understand something, I've been a couple of days but nothing.
AntonioP01 1 Posted October 31, 2024 Posted October 31, 2024 quando aggiungo nuovi contenuti ricevo questa risposta dal programma. 2024-10-31 11:26:55,908 - ERRORE - Impossibile recuperare i dettagli dell'articolo: URL non valido 'None/emby/Items': Nessuno schema fornito. Forse intendi https://None/emby/Items? Eccezione nel thread Thread-280 (process_payload): Traceback (ultima chiamata più recente): File "C:\Users\Antonio\AppData\Local\Programs\Python\Python313\Lib\threading.py", riga 1041, in _bootstrap_inner self .run() ~~~~~~~~^^ File "C:\Users\Antonio\AppData\Local\Programs\Python\Python313\Lib\threading.py", riga 992, in esecuzione self._target(* self._args, **self._kwargs) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^ File "C:\Utenti\Antonio\Desktop\Nuova cartella (2)\emby-telegram-notifier-main\app.py", riga 145, in process_payload se non item_details["Elementi"][0].get("Panoramica"): ~~~~~~~~~ ~~~^^^^^^^^^ TypeError: l'oggetto 'NoneType' non è sottoscrivibile
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now