Jump to content


Photo

New Plugin: Emby.Notification.Slack

plugin slack

  • Please log in to reply
122 replies to this topic

#1 ackbarr OFFLINE  

ackbarr

    Advanced Member

  • Members
  • 51 posts
  • Local time: 08:03 AM
  • LocationSt. Louis, MO

Posted 03 October 2016 - 12:40 PM

Hi all - been using Emby for a while and been a lurker on the forums. I'm a big fan of Slack and a .NET developer in a former life so I decided to try my hand at making an Emby plugin to send notifications via incoming webhooks to the slack channel of your choice. I am looking for additional testers, particularly those running Emby server on Mono platforms.

 

This beta release is feature complete and allows you to specify different settings for each emby user, specify which channel receives the notifications, use a custom emoji, and change the slack username.

 

Other Supported Services

Many chat systems use webhook systems similar to slack. This means that the Emby.Notification.Slack plugin works with a few additional services. The following have been confirmed working:

The following are untested, but suspected working.

Known Issues

 

 

Download Link:  Download via the Plugin Catalog

 

Plugin Settings Page

57f2889d16a0f_20161003_11h30_08.png


Edited by ackbarr, 15 November 2017 - 08:52 AM.

  • ebr, Dazik and horstepipe like this

#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 09:03 AM

Posted 03 October 2016 - 12:55 PM

looks fantastic, thanks !



#3 horstepipe ONLINE  

horstepipe

    Advanced Member

  • Members
  • 1525 posts
  • Local time: 03:03 PM

Posted 03 October 2016 - 05:11 PM

Hey
Thanks for this, looks like you are motivated and have the knowledge so maybe you are in the mood to implement this?

https://emby.media/c...in-more-detail/
And
https://emby.media/c...-which-library/

Best regards

#4 ackbarr OFFLINE  

ackbarr

    Advanced Member

  • Members
  • 51 posts
  • Local time: 08:03 AM
  • LocationSt. Louis, MO

Posted 03 October 2016 - 07:24 PM

Hey
Thanks for this, looks like you are motivated and have the knowledge so maybe you are in the mood to implement this?

https://emby.media/c...in-more-detail/
And
https://emby.media/c...-which-library/

Best regards

 

I'll take a look. I'm still feeling my way through the code so I'm not in a position to do anything about these yet, but maybe soon.


  • horstepipe likes this

#5 horstepipe ONLINE  

horstepipe

    Advanced Member

  • Members
  • 1525 posts
  • Local time: 03:03 PM

Posted 03 October 2016 - 07:26 PM

Thank you very much, I really appreciate this!

#6 Delphi OFFLINE  

Delphi

    Advanced Member

  • Alpha Testers
  • 252 posts
  • Local time: 07:03 AM
  • LocationColorado

Posted 13 October 2016 - 03:17 PM

Can we have the ability to choose which notifications are sent (e.g. I don't need to send `Please restart emby server` to the channel, only library updates).

Also the ability to customize notifications would be great.



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 09:03 AM

Posted 13 October 2016 - 03:19 PM

You do that in the emby core.


  • Delphi likes this

#8 ackbarr OFFLINE  

ackbarr

    Advanced Member

  • Members
  • 51 posts
  • Local time: 08:03 AM
  • LocationSt. Louis, MO

Posted 13 October 2016 - 03:20 PM

Can we have the ability to choose which notifications are sent (e.g. I don't need to send `Please restart emby server` to the channel, only library updates).

Also the ability to customize notifications would be great.

 

You can already do both of these by editing the notification in Extras -> Notifications. The customized text is used for any subscribed notification services (slack, pushbullet, etc).


Edited by ackbarr, 13 October 2016 - 03:21 PM.

  • Delphi likes this

#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 09:03 AM

Posted 13 October 2016 - 03:24 PM

I should probably ask how you didn't already know that, because it seems to me that we have failed in our attempt to make that obvious.



#10 ackbarr OFFLINE  

ackbarr

    Advanced Member

  • Members
  • 51 posts
  • Local time: 08:03 AM
  • LocationSt. Louis, MO

Posted 13 October 2016 - 03:34 PM

I should probably ask how you didn't already know that, because it seems to me that we have failed in our attempt to make that obvious.

 

It might be due to configuring the plugin in one place and configuring the notifications seperately. I can understand how it would feel natural to edit those settings from the plugin settings page if you didn't spend much time in the notification editor. The solution might be as simple as including a section on the plugin settings page that explains the notification editor and a direct link there.


  • Delphi likes this

#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 09:03 AM

Posted 13 October 2016 - 03:44 PM

Maybe the fact that you can get the notification plugin in the plugin catalog is also an issue. The whole reason I added the Services tab under Notifications was to allow you to stay within the Notifications section of the server dashboard. So if you're getting the plugin from Services, then you've probably already seen the rest.



#12 Pelon OFFLINE  

Pelon

    Advanced Member

  • Members
  • 154 posts
  • Local time: 08:03 AM

Posted 13 October 2016 - 04:05 PM

Why do we use the Emby apps for iOS, Android and UWP handle the notifications directly in the phones?



#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 09:03 AM

Posted 13 October 2016 - 04:18 PM

Why do we use the Emby apps for iOS, Android and UWP handle the notifications directly in the phones?

 

I'm not sure what you're trying to ask, sorry.



#14 ackbarr OFFLINE  

ackbarr

    Advanced Member

  • Members
  • 51 posts
  • Local time: 08:03 AM
  • LocationSt. Louis, MO

Posted 13 October 2016 - 04:36 PM

Why do we use the Emby apps for iOS, Android and UWP handle the notifications directly in the phones?

 

Pelon - is your question really a feature request to add push notifications within the Emby apps on the mobile platforms (iOS, Android, etc). So if you have the emby android app you get notifications whenever your emby server instance triggers an event?



#15 ackbarr OFFLINE  

ackbarr

    Advanced Member

  • Members
  • 51 posts
  • Local time: 08:03 AM
  • LocationSt. Louis, MO

Posted 13 October 2016 - 04:39 PM

Maybe the fact that you can get the notification plugin in the plugin catalog is also an issue. The whole reason I added the Services tab under Notifications was to allow you to stay within the Notifications section of the server dashboard. So if you're getting the plugin from Services, then you've probably already seen the rest.

 

Could be - I noticed that since I installed my plugin manually it doesn't appear in the installed services tab under Notifications. Is there a class interface I would need to implement in code for this to work, or is that a side-effect of not being in the plugin repository yet.



#16 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 09:03 AM

Posted 13 October 2016 - 04:43 PM

It's just due to not being in the repo.


  • ackbarr likes this

#17 Pelon OFFLINE  

Pelon

    Advanced Member

  • Members
  • 154 posts
  • Local time: 08:03 AM

Posted 14 October 2016 - 11:03 PM

Simple, if we already have apps for all mobile platforms, why do we still need to have  some other plug-ings and also install some other third party software on the phones to enable notifications, when we already have apps that run on the phones, that could trigger the notifications?

 

Couldn't you just push the notifications directly to the current phone applications?

 

Why use plug-ins and third party apps on the phones?



#18 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 09:03 AM

Posted 14 October 2016 - 11:08 PM

Yes that is something that could be done. But we have a flexible notification system that allows someone to build any kind of notification destination they want. That's what this topic is about. ackbarr decided to build one and he is sharing it with you and the rest of the community.


  • horstepipe likes this

#19 ebr ONLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 46431 posts
  • Local time: 09:03 AM

Posted 16 October 2016 - 10:36 AM

You also don't necessarily have an Emby app on every phone.  Maybe you have users that never watch on their phones but would like to know when something new is added.


  • horstepipe likes this

#20 Delphi OFFLINE  

Delphi

    Advanced Member

  • Alpha Testers
  • 252 posts
  • Local time: 07:03 AM
  • LocationColorado

Posted 26 October 2016 - 02:48 PM

@ackbarr @Luke

 

I don't know if this is the correct place to post it, but when using this addon(I do not use any other notification addons so this maybe server related) the notifications for new tv episodes appear as:

 

`Aftermath - Aftermath (2016) - S01E05 - A Clatter and a Chatter has recently been added.`

 

Why does it display the series name twice, even if there is not a year?







Also tagged with one or more of these keywords: plugin, slack

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users