AntonioP01 1 Posted October 31, 2024 Posted October 31, 2024 Hi I wanted to ask you for help to configure notifications on telegram by inserting images via the webhook plugin. I use the plugin taken from this link https://github.com/Fahmula/emby-telegram-notifier. I set the configuration of the app.py file in this way TELEGRAM_BOT_TOKEN = os.environ.get("79.......2HRI") TELEGRAM_CHAT_ID = os.environ.get("-100.......8") EMBY_BASE_URL = os.environ.get("http://f......e:5000") EMBY_API_KEY = os.environ.get("0a2......63") putting where emby base url is the address for remote access to the server. I run the file and it gives me this: * Serving Flask app 'app' * Debug mode: off 2024-10-31 08:31:35,746 - 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-31 08:31:35,791 - INFO - [33mPress CTRL+C to quit [0m From emby I add the configuration as a photo in attachment, send the test notification and I get this response: 2024-10-31 08:37:46,317 - INFO - 127.0.0.1 - - [31/Oct/2024 08:37:46] "POST /webhook HTTP/1.1" 200 - but no notification arrives on telegram Does anyone understand something?
AntonioP01 1 Posted October 31, 2024 Author Posted October 31, 2024 when i add new content i get this response from the program. 2024-10-31 11:26:55,908 - ERROR - Failed to retrieve item details: Invalid URL 'None/emby/Items': No scheme supplied. Perhaps you meant https://None/emby/Items? Exception in thread Thread-280 (process_payload): Traceback (most recent call last): File "C:\Users\Antonio\AppData\Local\Programs\Python\Python313\Lib\threading.py", line 1041, in _bootstrap_inner self.run() ~~~~~~~~^^ File "C:\Users\Antonio\AppData\Local\Programs\Python\Python313\Lib\threading.py", line 992, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Antonio\Desktop\Nuova cartella (2)\emby-telegram-notifier-main\app.py", line 145, in process_payload if not item_details["Items"][0].get("Overview"): ~~~~~~~~~~~~^^^^^^^^^ TypeError: 'NoneType' object is not subscriptable
Luke 39629 Posted October 31, 2024 Posted October 31, 2024 Hi, have you consulted with the developer of this plugin for instructions on how to use it?
AntonioP01 1 Posted October 31, 2024 Author Posted October 31, 2024 (edited) sì è @jdazzle44 ma non mi ha ancora risposto. Non so se qualcun altro può aiutarmi Edited October 31, 2024 by AntonioP01
AntonioP01 1 Posted October 31, 2024 Author Posted October 31, 2024 2 hours ago, Luke said: OK waiting on @jdazzle44. Thanks. but where can I find the emby api?
Luke 39629 Posted October 31, 2024 Posted October 31, 2024 2 hours ago, AntonioP01 said: but where can I find the emby api? What do you mean by emby api?
AntonioP01 1 Posted November 1, 2024 Author Posted November 1, 2024 14 hours ago, Luke said: Cosa intendi per emby api? in the program it asks me for some variables to set including emby api key. I wanted to know exactly where I can find it.
Luke 39629 Posted November 1, 2024 Posted November 1, 2024 Have you explored the api keys section in the server dashboard?
AntonioP01 1 Posted November 1, 2024 Author Posted November 1, 2024 (edited) 16 minutes ago, Luke said: Have you explored the api keys section in the server dashboard? this? Sorry but the page is in Italian, is it API key? chiavi api= API KEY Edited November 1, 2024 by AntonioP01
Luke 39629 Posted November 2, 2024 Posted November 2, 2024 Did you configure the display language to be Italian?
AntonioP01 1 Posted November 2, 2024 Author Posted November 2, 2024 7 hours ago, Luke said: Did you configure the display language to be Italian? this?
Luke 39629 Posted November 3, 2024 Posted November 3, 2024 On 11/2/2024 at 4:10 AM, AntonioP01 said: this? Yes.
AntonioP01 1 Posted November 3, 2024 Author Posted November 3, 2024 4 hours ago, Luke said: Yes. yes, I use this one. But that plugin doesn't work either.
AntonioP01 1 Posted November 3, 2024 Author Posted November 3, 2024 1 minute ago, Luke said: What exactly doesn't work? the plugin i configured, i sent the error in the first post, i'm still waiting for the creator's response. 1
Luke 39629 Posted February 3 Posted February 3 37 minutes ago, richenginner said: how to run in windows 10? The github link in the first post seems to have some detailed instructions.
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