Jump to content

Recommended Posts

Posted

Is there a working plugin at this time?

Posted

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?

Posted

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

Posted

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

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

BillOatman
Posted

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?

Posted

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
Posted

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.

BillOatman
Posted (edited)

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
Posted

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

  • 4 weeks later...
Posted (edited)

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
BillOatman
Posted

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?

BillOatman
Posted

@darkside40  I think he is using yours :)

darkside40
Posted

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.

BillOatman
Posted

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

BillOatman
Posted

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 ?

darkside40
Posted

@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.

BillOatman
Posted (edited)

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
darkside40
Posted

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.

darkside40
Posted (edited)

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
Posted

That's working perfect, good job

 

5d5d51adb61d2_Screenshot2019082115134441

darkside40
Posted

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.

Posted

It's in scheduled tasks, the default is to run daily

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
×
×
  • Create New...