darkside40 91 Posted March 25, 2020 Share Posted March 25, 2020 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 More sharing options...
pir8radio 1292 Posted March 25, 2020 Share Posted March 25, 2020 (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 March 25, 2020 by pir8radio Link to comment Share on other sites More sharing options...
darkside40 91 Posted March 25, 2020 Share Posted March 25, 2020 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 More sharing options...
pir8radio 1292 Posted March 25, 2020 Share Posted March 25, 2020 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 More sharing options...
darkside40 91 Posted March 25, 2020 Share Posted March 25, 2020 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 More sharing options...
vincentmarles 0 Posted March 25, 2020 Share Posted March 25, 2020 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 More sharing options...
darkside40 91 Posted March 25, 2020 Share Posted March 25, 2020 Log? Link to comment Share on other sites More sharing options...
rechigo 293 Posted March 25, 2020 Share Posted March 25, 2020 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 1 Link to comment Share on other sites More sharing options...
darkside40 91 Posted March 26, 2020 Share Posted March 26, 2020 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 More sharing options...
vincentmarles 0 Posted March 26, 2020 Share Posted March 26, 2020 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 More sharing options...
darkside40 91 Posted March 27, 2020 Share Posted March 27, 2020 Dont know, i dont use Ombi Link to comment Share on other sites More sharing options...
Dicken 15 Posted March 20, 2021 Share Posted March 20, 2021 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 More sharing options...
Luke 37064 Posted March 21, 2021 Share Posted March 21, 2021 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 More sharing options...
Dicken 15 Posted March 21, 2021 Share Posted March 21, 2021 That would be great :) Link to comment Share on other sites More sharing options...
darkside40 91 Posted March 21, 2021 Share Posted March 21, 2021 Dont get too exited, there is a loooong list for possible futures Emby features. Link to comment Share on other sites More sharing options...
Adminelite 4 Posted January 3, 2022 Share Posted January 3, 2022 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 More sharing options...
darkside40 91 Posted January 3, 2022 Share Posted January 3, 2022 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 More sharing options...
Adminelite 4 Posted January 4, 2022 Share Posted January 4, 2022 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 ? und Jetzt ? Link to comment Share on other sites More sharing options...
darkside40 91 Posted January 4, 2022 Share Posted January 4, 2022 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 More sharing options...
Adminelite 4 Posted January 4, 2022 Share Posted January 4, 2022 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 More sharing options...
darkside40 91 Posted January 4, 2022 Share Posted January 4, 2022 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 More sharing options...
Adminelite 4 Posted January 5, 2022 Share Posted January 5, 2022 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. Emby restarted What else can be a problem Link to comment Share on other sites More sharing options...
darkside40 91 Posted January 5, 2022 Share Posted January 5, 2022 Take a close look at the owner and permissions. Link to comment Share on other sites More sharing options...
Adminelite 4 Posted January 5, 2022 Share Posted January 5, 2022 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? Link to comment Share on other sites More sharing options...
darkside40 91 Posted January 5, 2022 Share Posted January 5, 2022 (edited) 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 January 5, 2022 by darkside40 Link to comment Share on other sites More sharing options...
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