Jump to content


Photo

New Plugin: Emby.Notification.Slack

plugin slack

  • Please log in to reply
144 replies to this topic

#121 ackbarr OFFLINE  

ackbarr

    Advanced Member

  • Members
  • 51 posts
  • Local time: 09:47 AM
  • LocationSt. Louis, MO

Posted 26 June 2019 - 07:01 PM

It should be handled by the notification plugin.

Agreed - based on the slack API docs, looks like they have a few characters that need to be htmlencoded. I don't have my visual studio environment setup atm, but once I do it looks like a straightforward fix.


  • horstepipe and Borsk like this

#122 JoeBob0131 OFFLINE  

JoeBob0131

    Advanced Member

  • Members
  • 33 posts
  • Local time: 06:47 AM

Posted 24 July 2019 - 10:33 PM

Not sure if it has ever been reported here, but Slack notifications won't send notifications if your emby user starts with a lower case letter. Not too big of a deal since I can just rename users, just an FYI.


  • Borsk likes this

#123 brettuk OFFLINE  

brettuk

    Member

  • Members
  • 11 posts
  • Local time: 02:47 PM

Posted 19 August 2019 - 03:31 PM

 

\Thank you friend

 
I will be following here the answer of your test in the beta, because it is not working here.
 
Thank you

 

 

I'm having this issue on latest stable - can't save the page so can't setup the plugin

 

Thanks



#124 Vidarr OFFLINE  

Vidarr

    Advanced Member

  • Members
  • 73 posts
  • Local time: 03:47 PM

Posted 24 September 2019 - 05:03 AM

Same doesn't work on the last beta i'm getting this error :

VM454:83 Uncaught (in promise) TypeError: $(...).html(...).selectmenu is not a function

    at <anonymous>:83:29


#125 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149030 posts
  • Local time: 09:47 AM

Posted 24 September 2019 - 11:58 AM

 

Same doesn't work on the last beta i'm getting this error :

VM454:83 Uncaught (in promise) TypeError: $(...).html(...).selectmenu is not a function

    at <anonymous>:83:29

 

 

@ackbarr, just remove the use of the .selectmenu(...) method, or even better, convert to vanilla  js and that will be fine.



#126 sevealin OFFLINE  

sevealin

    Newbie

  • Members
  • 5 posts
  • Local time: 09:47 AM

Posted 26 September 2019 - 11:02 PM

I added the folder "Season 4" to the Dragon Ball Z parent folder, scanned the library then got the messages below. The episodes in the message are from season 1. Worked flawlessly for a movie. Are there tweaks I can make to make the message only put the parent folder name in the message? And not separate messages for each file?

 

 

 

5d8d7b1689b42_Capture.png

 

5d8d7b41e1303_Capture.png



#127 Vidarr OFFLINE  

Vidarr

    Advanced Member

  • Members
  • 73 posts
  • Local time: 03:47 PM

Posted 14 October 2019 - 02:04 PM

@ackbarr it's not a trap we swear if you do that it's fixed !



#128 adrianwi OFFLINE  

adrianwi

    Advanced Member

  • Members
  • 386 posts
  • Local time: 02:47 PM
  • LocationScotland

Posted 25 October 2019 - 11:33 AM

I've been using this for a while, and it works great, so a big thank you!

 

I've just installed Mattermost on my own server, and was wondering if anyone has tried using this with that?

 

UPDATE

 

I've got it sending notifications to my Mattermost install, and other than defaulting my admin user, it seems to work just as well.  It would be nice to assign the updates to a Bot, but not really sure where to start as it's all pretty new


Edited by adrianwi, 25 October 2019 - 01:22 PM.


#129 adrianwi OFFLINE  

adrianwi

    Advanced Member

  • Members
  • 386 posts
  • Local time: 02:47 PM
  • LocationScotland

Posted 28 October 2019 - 03:57 AM

Thought I report this, as it was also a problem when I was running with Slack, but I get this daily at the same time

User Activity Notification failed
Value cannot be null.
Parameter name: key
  at System.ThrowHelper.ThrowArgumentNullException (System.ExceptionArgument argument) [0x00006] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Collections.Generic.Dictionary2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
  at playback_reporting.Tasks.TaskNotifictionUserReport <Execute>d__18.MoveNext () [0x003a2] in <5e9d7c02d87e4e62b08c27a77ebd08fe>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
  at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker <ExecuteInternal>d__69.MoveNext () [0x00188] in <450b368eae8f4cb8ab4853f8ffe89952>:0 


#130 adrianwi OFFLINE  

adrianwi

    Advanced Member

  • Members
  • 386 posts
  • Local time: 02:47 PM
  • LocationScotland

Posted 07 November 2019 - 05:52 AM

I'm still getting these messages in my 'slack-client' even though I've disabled the User Activity Report notification.  Any ideas?

User Activity Notification failed
Value cannot be null.
Parameter name: key
  at System.ThrowHelper.ThrowArgumentNullException (System.ExceptionArgument argument) [0x00006] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Collections.Generic.Dictionary2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
  at playback_reporting.Tasks.TaskNotifictionUserReport <Execute>d__18.MoveNext () [0x003a2] in <5e9d7c02d87e4e62b08c27a77ebd08fe>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
  at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker <ExecuteInternal>d__69.MoveNext () [0x00188] in <450b368eae8f4cb8ab4853f8ffe89952>:0 


#131 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149030 posts
  • Local time: 09:47 AM

Posted 07 November 2019 - 06:17 AM

Did you look at the contents of the snippet you posted?

#132 adrianwi OFFLINE  

adrianwi

    Advanced Member

  • Members
  • 386 posts
  • Local time: 02:47 PM
  • LocationScotland

Posted 07 November 2019 - 09:19 AM

The only bit I understand is 'value cannot be null' but surely if it's not enabled it doesn't matter, as it shouldn't be running?



#133 miniliQuid OFFLINE  

miniliQuid

    Advanced Member

  • Members
  • 231 posts
  • Local time: 03:47 PM
  • LocationNetherlands

Posted 10 November 2019 - 06:31 PM

I added the folder "Season 4" to the Dragon Ball Z parent folder, scanned the library then got the messages below. The episodes in the message are from season 1. Worked flawlessly for a movie. Are there tweaks I can make to make the message only put the parent folder name in the message? And not separate messages for each file?

 

 

 

5d8d7b1689b42_Capture.png

 

5d8d7b41e1303_Capture.png

Honestly I would prefer something like this as well.

I tend to upgrade my library with higher qualities every now and then.

So 720p eventually got replaced with 1080p and now slowly starts getting replaced with 4k.

The downside is that for every type it notifies that the same movie has been added to the server.

Same thing goes for shows which is rather annoying :(

 

Would be nicer if added content notifications had more tweaks for these kind of updates or adding a whole season, or worse a whole blu-ray box for a show.

Getting 100+ notifications cause each episode gets detected is a real pain in the.... :D



#134 HolyGigi OFFLINE  

HolyGigi

    Newbie

  • Members
  • 7 posts
  • Local time: 04:47 PM

Posted 11 December 2019 - 05:02 PM

I'm having the issue detailed here: https://emby.media/c...s/#entry812235 

 

So far, I can't get passed the user select screen even when trying on various browsers.



#135 Natilus13 OFFLINE  

Natilus13

    Advanced Member

  • Members
  • 99 posts
  • Local time: 09:47 AM

Posted 17 December 2019 - 09:27 PM

Hey folks, hoping someone can help me out here. I had Slack working but this past weekend had to move my emby setup to a new machine. After the move emby no longer appeared to be posting to slack. I've been reading through the various threads, but can't really find clear instructions on how to set it up. I've tried removing and reinstalling the plugin, and it did not help. I know my webhook URL for my Slack app is correct, as I can use curl to post to the channel in Slack, just can't figure out how to get emby posting again.

 

If anyone has any thoughts or suggestions, I would love to hear them. I am also happy to share my log if anyone wants to look at that with them too.

 

Thanks!



#136 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149030 posts
  • Local time: 09:47 AM

Posted 17 December 2019 - 11:15 PM

Please attach the information requested in how to report a problem:
https://emby.media/c...view=getnewpost
Thanks.

#137 Natilus13 OFFLINE  

Natilus13

    Advanced Member

  • Members
  • 99 posts
  • Local time: 09:47 AM

Posted 18 December 2019 - 11:19 AM

Not a problem @Luke

 

I just didn't want to dump my log into the thread. I'll send it to you in a PM.

 

Cheers!

N



#138 Natilus13 OFFLINE  

Natilus13

    Advanced Member

  • Members
  • 99 posts
  • Local time: 09:47 AM

Posted 07 January 2020 - 05:17 PM

Hi @Luke

 

Have you had a chance to go over the logs I sent you on this?

 

Thanks!



#139 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149030 posts
  • Local time: 09:47 AM

Posted 07 January 2020 - 05:26 PM

I added the developer of the plugin so that he can review.



#140 Natilus13 OFFLINE  

Natilus13

    Advanced Member

  • Members
  • 99 posts
  • Local time: 09:47 AM

Posted 10 January 2020 - 04:24 PM

Thanks @Luke. Appreciate it. I miss not having my Slack notifications, would be great to have them working again :-)







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