Jump to content

Telegram notification?


schumi2004

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.

Link to comment
Share on other sites

pir8radio

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
Link to comment
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). 

Link to comment
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...        

Link to comment
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.

Link to comment
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.

Link to comment
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
Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

  • 11 months later...
Dicken

Hey, is there a way to send a message to Telegram when a user goes online?

If a movie is started or stopped, it already works.

 

 


 
Link to comment
Share on other sites

14 hours ago, Dicken said:

Hey, is there a way to send a message to Telegram when a user goes online?

If a movie is started or stopped, it already works.

 

 


 

Hi, no, not currently. I suppose we could add user sign in/sign out events that you could subscribe to.

Link to comment
Share on other sites

  • 9 months later...
Adminelite
On 3/21/2021 at 12:49 PM, darkside40 said:

Dont get too exited, there is a loooong list for possible futures Emby features.

Hallo ich habe eine Frage 

hast du auch Anleitung für Synology DSM7 ?

Link to comment
Share on other sites

darkside40

No because i dont use a Synology myself. The only thing that is different is the location of the Plugin folder where you put the DLL.

Link to comment
Share on other sites

Adminelite
Vor 22 Stunden sagte darkside40:

Nein, weil ich selbst keine Synologie verwende. Das Einzige, was anders ist, ist der Speicherort des Plugin-Ordners, in dem Sie die DLL ablegen.

Also ich habe es so gemacht. ist das Richtig ?

image.thumb.png.6225afc9ab274d0c1e14ba0097ce552b.png

und Jetzt ?

image.thumb.png.91270c1cc919d1203de0a5610a0fcb3e.png

Link to comment
Share on other sites

darkside40

No that is not correct.

If you read the instructions carefully than you will see that you should download the DLL from the Github Release Page, and put that into the plugins folder. Not the source code.

After a restart of the Emby Server the plugin should appear.

Link to comment
Share on other sites

Adminelite
Vor 25 Minuten sagte darkside40:

Nein, das ist nicht richtig.

Wenn Sie die Anweisungen sorgfältig lesen, werden Sie sehen, dass Sie die DLL von der Github Release Page herunterladen und in den Plugins-Ordner legen sollten. Nicht der Quellcode.

Nach einem Neustart des Emby Servers sollte das Plugin angezeigt werden.

Geht nicht über SSH

root@iCloud:/var/packages/EmbyServer/var/plugins# cp -r /Users/xx/Downloads/Emby.Plugin.TelegramNotification.dll

cp: missing destination file operand after '/Users/xx/Downloads/Emby.Plugin.TelegramNotification.dll'

Try 'cp --help' for more information.

root@iCloud:/var/packages/EmbyServer/var/plugins#

Link to comment
Share on other sites

darkside40

Because you are missing the destination in your cp command.

Should work like that (if you are inside the destination folder):  cp -r /Users/xx/Downloads/Emby.Plugin.TelegramNotification.dll .

See the dot at the end.

Also this in a mainly english board, so please write in english.

Link to comment
Share on other sites

Adminelite
Vor 19 Stunden sagte darkside40:

Weil Ihnen das Ziel in Ihrem cp-Befehl fehlt.

Sollte so funktionieren (wenn Sie sich im Zielordner befinden): cp -r /Users/xx/Downloads/Emby.Plugin.TelegramNotification.dll .

Siehe den Punkt am Ende.

Auch dies in einem hauptsächlich englischen Board, also schreiben Sie bitte auf Englisch.


Hello I have the package in the directory. 

image.png.14ef6ca9fd2c58cf684f04df22669bfb.png

Emby restarted

image.thumb.png.9ca0def75125b6f7ae3314d103fd9b72.png

 

What else can be a problem

Link to comment
Share on other sites

Adminelite
Vor 27 Minuten sagte darkside40:

Werfen Sie einen genauen Blick auf den Eigentümer und die Berechtigungen.

 

 

does it have to be Emby on it?

image.png.e296880e4762a70f7cf4c8ca262833a1.png

Link to comment
Share on other sites

darkside40

If thats the user on the working dlls, what do you think?

Sorry but do you think it is a good idea to ssh into your NAS as root, where posssibly could break anything, if you are obviously not know what you are doing?

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