Jump to content


Photo

Telegram notification?


  • Please log in to reply
40 replies to this topic

#1 schumi2004 OFFLINE  

schumi2004

    Advanced Member

  • Members
  • 59 posts
  • Local time: 01:27 PM

Posted 23 December 2016 - 01:59 PM

Are there plans to support telegram notifications or should we develop our own module to do this?

#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135879 posts
  • Local time: 08:27 AM

Posted 23 December 2016 - 02:07 PM

Hi, I think this would make a great community plugin.



#3 schumi2004 OFFLINE  

schumi2004

    Advanced Member

  • Members
  • 59 posts
  • Local time: 01:27 PM

Posted 23 December 2016 - 02:51 PM

I will give it a try using pushover as example.

#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135879 posts
  • Local time: 08:27 AM

Posted 23 December 2016 - 02:52 PM

Sounds great. let us know if you need anything !



#5 schumi2004 OFFLINE  

schumi2004

    Advanced Member

  • Members
  • 59 posts
  • Local time: 01:27 PM

Posted 28 December 2016 - 03:26 PM

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/M...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?

#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135879 posts
  • Local time: 08:27 AM

Posted 28 December 2016 - 03:27 PM

what is the compilation error?



#7 schumi2004 OFFLINE  

schumi2004

    Advanced Member

  • Members
  • 59 posts
  • Local time: 01:27 PM

Posted 28 December 2016 - 03:34 PM

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..../?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;)


#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135879 posts
  • Local time: 08:27 AM

Posted 28 December 2016 - 05:21 PM

is there a github repo?



#9 schumi2004 OFFLINE  

schumi2004

    Advanced Member

  • Members
  • 59 posts
  • Local time: 01:27 PM

Posted 29 December 2016 - 04:51 AM

I just uploaded it to git https://github.com/s...04/Emby.Plugins



#10 strikegun OFFLINE  

strikegun

    Member

  • Members
  • 22 posts
  • Local time: 02:27 PM

Posted 17 September 2017 - 01:17 PM

Hi,

any news on this plugin for Telegram?

Please keep on going.

 

Thanks!



#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135879 posts
  • Local time: 08:27 AM

Posted 17 September 2017 - 01:20 PM

Have you seen this? 

https://emby.media/c...ificationslack/

 

it is similar and is compatible with many other services. Not sure if it is compatible with Telegram or not. Thanks.



#12 darkside40 OFFLINE  

darkside40

    Advanced Member

  • Members
  • 64 posts
  • Local time: 02:27 PM

Posted 18 May 2018 - 02:27 PM

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.



#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135879 posts
  • Local time: 08:27 AM

Posted 18 May 2018 - 02:28 PM

Very cool, thanks !



#14 darkside40 OFFLINE  

darkside40

    Advanced Member

  • Members
  • 64 posts
  • Local time: 02:27 PM

Posted 19 May 2018 - 04:26 AM

Hi Luke,

what would be the correct Namespace for this Plugin?

Emby.Plugin.Telegramnotification or Mediabrowser.Plugin.Telegramnotification?



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135879 posts
  • Local time: 08:27 AM

Posted 19 May 2018 - 11:33 AM

Any namespace you want is fine

#16 darkside40 OFFLINE  

darkside40

    Advanced Member

  • Members
  • 64 posts
  • Local time: 02:27 PM

Posted 20 May 2018 - 02:43 AM

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. 



#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135879 posts
  • Local time: 08:27 AM

Posted 20 May 2018 - 11:07 AM

That comes later when it goes into the catalog.

#18 darkside40 OFFLINE  

darkside40

    Advanced Member

  • Members
  • 64 posts
  • Local time: 02:27 PM

Posted 21 May 2018 - 01:59 PM

Okay i pushed my Plugin to Github.

Hopefully i have done everything correctly.

 

https://github.com/b...ramNotification



#19 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135879 posts
  • Local time: 08:27 AM

Posted 21 May 2018 - 02:07 PM

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.



#20 darkside40 OFFLINE  

darkside40

    Advanced Member

  • Members
  • 64 posts
  • Local time: 02:27 PM

Posted 21 May 2018 - 02:31 PM

The DLL can be downloaded at Github under the Release Tab ;-)


  • Luke likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users