Jump to content
schumi2004

Telegram notification?

Recommended Posts

darkside40

Which would only work if you use that plugin exclusive for new added content. Every other Message (Server Updates, etc) would also be piped to IMDB, producing garbish.

There is no simple way to determinate what kind of message is sent to the Telegram Plugin.

Also this would not be compatible to the Playback Reports plugin.

Share this post


Link to post
Share on other sites
pir8radio
Posted (edited)

Which would only work if you use that plugin exclusive for new added content. Every other Message (Server Updates, etc) would also be piped to IMDB, producing garbish.

There is no simple way to determinate what kind of message is sent to the Telegram Plugin.

Also this would not be compatible to the Playback Reports plugin.

 

oh you cant do basic filtering in the telegram plugin, that looks for patterns like text then space then year for movies,    ttttt(sp)(NNNN) = movie pipe that to the api, get the image link then post via telegram?    

how do you use the playback reports plugin with this?  is it dependent on a second plugin?

Edited by pir8radio

Share this post


Link to post
Share on other sites
darkside40

The Telegram Plugin works the same way like the E-Mail, Pushover, Pushbullet Plugins. When it gets called it gets send over the request.name and request.description objects by the Emby server and forwards that to the Telegram Servers. This works with any notifictions send by the Emby Server.

Of course you could now do some clever Regex to determinate the content, getting the Info from IMDB etc. download the picture, upload that to the telegram servers (or try to hotlink it) and than send the message. If anybody want to extend that plugin this way feel free to send a PR.

But you would have to do it in a way so the Plugin also work with the Playback Report Plugin which can also report new Media, way better that the standard notification which is screwed up for me since months and nobody can answer why. 

 

It does not depend on Playback Reporting Plugin, but that Plugin does a better Job reporting new Media (all new Media since last run in one Message not one Message for each new file). 

Share this post


Link to post
Share on other sites
pir8radio

The Telegram Plugin works the same way like the E-Mail, Pushover, Pushbullet Plugins. When it gets called it gets send over the request.name and request.description objects by the Emby server and forwards that to the Telegram Servers. This works with any notifictions send by the Emby Server.

Of course you could now do some clever Regex to determinate the content, getting the Info from IMDB etc. download the picture, upload that to the telegram servers (or try to hotlink it) and than send the message. If anybody want to extend that plugin this way feel free to send a PR.

But you would have to do it in a way so the Plugin also work with the Playback Report Plugin which can also report new Media, way better that the standard notification which is screwed up for me since months and nobody can answer why. 

 

It does not depend on Playback Reporting Plugin, but that Plugin does a better Job reporting new Media (all new Media since last run in one Message not one Message for each new file). 

 

10-4 i understand what you are saying now..   I have been using the discord plugin...  He is working on similar ways to get the image in.. but it seems to have been working well so far...  I didnt know the playback reporting plugin did similar tasks...        

Share this post


Link to post
Share on other sites
darkside40

Which Discord Plugin are you using, maybe there is a way to intergrate it in a similiar way. But i recon it will be no trivious task.

Share this post


Link to post
Share on other sites
vincentmarles

I can't get it to work with another Emby user on my server, I can enter his Token and ID but nothing sends me the notification.

Share this post


Link to post
Share on other sites
darkside40

Log?

Share this post


Link to post
Share on other sites
rechigo

10-4 i understand what you are saying now..   I have been using the discord plugin...  He is working on similar ways to get the image in.. but it seems to have been working well so far...  I didnt know the playback reporting plugin did similar tasks...        

 

I had some suggestions to use the playback reporting plugin, but that would be last resort. I don't think it is a good idea to have one plugin depend on another.. Right now I need to think of a way to override the default media added notification so that mine can take its place

  • Like 1

Share this post


Link to post
Share on other sites
darkside40

You are totally right that it is not ideal to be depending on another plugin.

I see that you are making real good progress on the Discord Plugin. Maybe i can integrate some of your affort in the Telegram plugin someday.

Beeing honest with my limited C# Skills and the lack of documentation provided for Emby i would have never been able doing what you do right now.

Share this post


Link to post
Share on other sites
vincentmarles

Log?

there is nothing in the log that tells me the error. do you know if Ombi it works? because I put the info on ombi but ombi does not transmit the info.

Share this post


Link to post
Share on other sites
darkside40

Dont know, i dont use Ombi

Share this post


Link to post
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

×
×
  • Create New...