schumi2004 9 Posted December 23, 2016 Share Posted December 23, 2016 Are there plans to support telegram notifications or should we develop our own module to do this? Link to comment Share on other sites More sharing options...
Luke 37994 Posted December 23, 2016 Share Posted December 23, 2016 Hi, I think this would make a great community plugin. Link to comment Share on other sites More sharing options...
schumi2004 9 Posted December 23, 2016 Author Share Posted December 23, 2016 I will give it a try using pushover as example. Link to comment Share on other sites More sharing options...
Luke 37994 Posted December 23, 2016 Share Posted December 23, 2016 Sounds great. let us know if you need anything ! Link to comment Share on other sites More sharing options...
schumi2004 9 Posted December 28, 2016 Author Share Posted December 28, 2016 Well I'm almost done except I'm struggling getting it compiled. I followed this guide but visual studio is to new I think? https://github.com/MediaBrowser/Emby/wiki/How-to-build-a-Server-Plugin  Keeps complainig I'm missing things. I probably doing things wrong regarding inherit stuff. I used pushover project as basis but maybe that's not the way to go? Link to comment Share on other sites More sharing options...
Luke 37994 Posted December 28, 2016 Share Posted December 28, 2016 what is the compilation error? Link to comment Share on other sites More sharing options...
schumi2004 9 Posted December 28, 2016 Author Share Posted December 28, 2016 This is the error together with a lot of warnings about missing referenced components that could not be found. Â Severity Code Description Project File Line Suppression State Error This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. Â For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is D:\users\winuser\Downloads\Emby.Plugins-master\Emby.Plugins-master\MediaBrowser.Plugins.TelegramNotifications\\.nuget\NuGet.targets. MediaBrowser.Plugins.TeleGramNotifications D:\users\winuser\Downloads\Emby.Plugins-master\Emby.Plugins-master\MediaBrowser.Plugins.TelegramNotifications\MediaBrowser.Plugins.TeleGramNotifications.csproj 83 Â I'm using Visual Studio 2015 and was unable to select Windows Universal 8.1 framework so i picked Windows Universal 10. Visual Studio is also completely new for me;) Link to comment Share on other sites More sharing options...
Luke 37994 Posted December 28, 2016 Share Posted December 28, 2016 is there a github repo? Link to comment Share on other sites More sharing options...
schumi2004 9 Posted December 29, 2016 Author Share Posted December 29, 2016 I just uploaded it to git https://github.com/schumi2004/Emby.Plugins Link to comment Share on other sites More sharing options...
strikegun 2 Posted September 17, 2017 Share Posted September 17, 2017 Hi, any news on this plugin for Telegram? Please keep on going. Â Thanks! Link to comment Share on other sites More sharing options...
Luke 37994 Posted September 17, 2017 Share Posted September 17, 2017 Have you seen this? https://emby.media/community/index.php?/topic/39844-new-plugin-embynotificationslack/  it is similar and is compatible with many other services. Not sure if it is compatible with Telegram or not. Thanks. Link to comment Share on other sites More sharing options...
darkside40 92 Posted May 18, 2018 Share Posted May 18, 2018 Okay i had a look at the Plugin schumi2004 push to his repo. Dont know if he is the author or where the Plugin originated. Â First i have to say that i am not an very good software engineer nor have i ever done something with C#, Emby Plugin Developement or VS2017. So have mercy with the code. After 3-4 hours of fiddling, searching the net etc. i am at the stage where i can send Messages to a bot. Yeah! Â I have rebuild the plugin like mentioned in the wiki to Target .Net Standard 1.3. I will see that i polish the code a bit over the wiki in than push it up to github, so people could test it. Link to comment Share on other sites More sharing options...
Luke 37994 Posted May 18, 2018 Share Posted May 18, 2018 Very cool, thanks ! Link to comment Share on other sites More sharing options...
darkside40 92 Posted May 19, 2018 Share Posted May 19, 2018 Hi Luke, what would be the correct Namespace for this Plugin? Emby.Plugin.Telegramnotification or Mediabrowser.Plugin.Telegramnotification? Link to comment Share on other sites More sharing options...
Luke 37994 Posted May 19, 2018 Share Posted May 19, 2018 Any namespace you want is fine Link to comment Share on other sites More sharing options...
darkside40 92 Posted May 20, 2018 Share Posted May 20, 2018 Okay almost done, only one cosmetic question. How do i include the logo image into my project? I have lookes at other plugins but have not found out how to do this. Link to comment Share on other sites More sharing options...
Luke 37994 Posted May 20, 2018 Share Posted May 20, 2018 That comes later when it goes into the catalog. Link to comment Share on other sites More sharing options...
darkside40 92 Posted May 21, 2018 Share Posted May 21, 2018 Okay i pushed my Plugin to Github. Hopefully i have done everything correctly. Â https://github.com/bjoerns1983/Emby.Plugin.TelegramNotification 1 Link to comment Share on other sites More sharing options...
Luke 37994 Posted May 21, 2018 Share Posted May 21, 2018 Cool, thanks ! I would suggest posting a .dll here that users can install easily. Once it's gotten a little user testing then we can submit it to the catalog. Thanks. Link to comment Share on other sites More sharing options...
darkside40 92 Posted May 21, 2018 Share Posted May 21, 2018 The DLL can be downloaded at Github under the Release Tab ;-) 1 Link to comment Share on other sites More sharing options...
Overseer 66 Posted May 22, 2018 Share Posted May 22, 2018 (edited) I downloaded the zip from github, copied the DLL to my plugin folder and restarted EMBY. The plug-in appears under my plug-ins. I got to the setup page but the "Configure Telegram notifications for:" box is empty. Should users appear there?  I enter the bot token and user key but when I hit save I get the following message:  Exception of type 'MediaBrowser.Common.Extensions.ResourceNotFoundException' was thrown.  This looks to be part of the log for the error: 2018-05-21 18:21:54.060 Info HttpServer: WS http://emby.****.us:8096/socket?api_key=7efd282bdd334a3093fb65807d9f1dce&deviceId=b1c59c9e8e45f8eed19df40dd7d0955ec560f628. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36 2018-05-21 18:22:54.053 Error HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.. Exception.Message: The header part of a frame cannot be read from the data source. 2018-05-21 18:23:18.386 Info HttpServer: HTTP GET http://emby.****.us:8096/web/configurationpage?fakeusernameremembered=&fakepasswordremembered=. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36 2018-05-21 18:23:18.390 Error HttpServer: Error processing request *** Error Report *** Version: 3.4.1.6 Command line: C:\Users\Admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: C:\Users\Admin\AppData\Roaming\Emby-Server\programdata Application directory: C:\Users\Admin\AppData\Roaming\Emby-Server\system MediaBrowser.Common.Extensions.ResourceNotFoundException: Exception of type 'MediaBrowser.Common.Extensions.ResourceNotFoundException' was thrown. at MediaBrowser.WebDashboard.Api.DashboardService.Get(GetDashboardConfigurationPage request) at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName) at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) MediaBrowser.Common.Extensions.ResourceNotFoundException at MediaBrowser.WebDashboard.Api.DashboardService.Get(GetDashboardConfigurationPage request) at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName) at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) Edited May 22, 2018 by Overseer Link to comment Share on other sites More sharing options...
darkside40 92 Posted May 22, 2018 Share Posted May 22, 2018 I will have a look at it. Seems that you use the latest beta. I have only tested the Plugin on the stable version of Emby.  First i have to figure out how to have multiple Server Versions installed on my machine. Link to comment Share on other sites More sharing options...
Overseer 66 Posted May 22, 2018 Share Posted May 22, 2018 My apologies. Yes, I'm on the beta channel for Emby server. I should have mentioned that. Link to comment Share on other sites More sharing options...
george.carstoiu 3 Posted July 7, 2018 Share Posted July 7, 2018 Thanks for the work. Just installed and configured and it works flawlessly. Looking forward to seeing it in the plugins catalog. 1 Link to comment Share on other sites More sharing options...
darkside40 92 Posted July 22, 2018 Share Posted July 22, 2018 Confirmed working with 3.5.0.0 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