Jump to content

Telegram notifications


Pog22
 Share

Recommended Posts

 

Thank you. The Telemby bot is working, I've been using it. The other Telegram notifier I've just installed, will report back later

Link to comment
Share on other sites

These Telegram notifications are working.

 

One thing I've noticed is that Emby is re-sending out the notification it receives from Sonarr/Radarr. Also what is the difference between new media report and new content added notifications?

Link to comment
Share on other sites

The core emby server only has one notification for new media.

How do I stop it forwarding the Sonarr and Radarr notification?

Link to comment
Share on other sites

Pardon the newb question ... but how is this used? 

From what I gather from the server plugin code, the plugin forwards notifications to a telegram-bot.  

Then what?  Do you program your telegram-bot to forward the notifications to a list of users for example?

Link to comment
Share on other sites

Pardon the newb question ... but how is this used?

From what I gather from the server plugin code, the plugin forwards notifications to a telegram-bot.

Then what? Do you program your telegram-bot to forward the notifications to a list of users for example?

I am outputting mine to a telegram channel that my users are subscribed to

  • Like 1
Link to comment
Share on other sites

I'm not familiar with the code but i imagine it's similar to the other notification plugins. Source code for those can be found at our github organization.

Link to comment
Share on other sites

I am outputting mine to a telegram channel that my users are subscribed to

Ahhh didn't see there were also telegram-channels. That makes sense.  

Also makes sense that Discord etc. plugins would be very similar.

Edited by BillOatman
Link to comment
Share on other sites

How do I stop it forwarding the Sonarr and Radarr notification?

 

I figured this so posting it here for others. This is a settings option called send notifications when you add Emby to Sonarr and Radarr connect, turn it off

Link to comment
Share on other sites

  • 4 weeks later...

Ok, so this Telegram plugin works well for all notifications except the New Media Report Notification. It gets posted but it is blank. My Telegram notifications are being posted to a supergroup. I'm actually using Pushover as well for admin notifications and the new media report works fine on Pushover.

 

Pushover

post-155223-0-81164800-1565508595_thumb.jpg

 

Telegram

post-155223-0-77331200-1565508607_thumb.jpg

Edited by Pog22
Link to comment
Share on other sites

If you turn on debug logging, it will tell you what it is trying to send to telegram.  From the code, it doesn't differentiate between new media or anything else.

Does telegram allow for multi line messages?

Link to comment
Share on other sites

Till now this plugin only takes what it gets from the Notification Framework and simply passes it to Telegram. Which should be the scraped name of the Movie etc.

Where can i find that New Media Report Notification, till now i only now the New content added Notification which sends the new contend one by one.

Link to comment
Share on other sites

@darkside40  I took a quick look and you send request.Name.  Could the additional data be in request.Description? (Just a guess :) ).

Link to comment
Share on other sites

The new media report notification could be the one I added to the Playback Reporting plugin, it sends a notification daily with what media was added to Emby.

With the notification text in .Name, or in .Name and .Description ?

Link to comment
Share on other sites

@darkside40  I took a quick look and you send request.Name.  Could the additional data be in request.Description? (Just a guess :) ).

Jep in request.description there is the description inside.

Could be added but should be made optional. The description texts are quite long sometime. Would be okay for E-Mail, could look a little messy in a messenger.

Link to comment
Share on other sites

Jep in request.description there is the description inside.

Could be added but should be made optional. The description texts are quite long sometime. Would be okay for E-Mail, could look a little messy in a messenger.

Or maybe just include it for that one notification type if the others are sufficient already.

Edited by BillOatman
Link to comment
Share on other sites

I will take a look if i can make it compatible with the Playback reports.

Prowl seems to be working maybe i can take the bits and pieces from there.

Link to comment
Share on other sites

Okay i made a version which includes also the Descriptions and attached it to this post.

 

Would like to know if it now plays well together with the Playback Reports plugin, but i dont use that and i dont know when it sends the daily reports or if i could trigger that myself on the dev machine.

 

Would be great if somebody could test it.

If it works than the next step would be to make the descriptions optional.

Emby.Plugin.TelegramNotification.1.0.0.7.zip

Edited by darkside40
  • Like 1
Link to comment
Share on other sites

Great, one point less on my todo list.

Just for me being curious is it adjustable when the playback reporting plugin sends this New Media report, or does it wait for an certian amount of newly added content? Would also maybe an alternative for myself, because the normal New added Content notification always sends the each Movie/Episode separately etc.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...