Jump to content

Webhooks not sent unless "Limit library events" set to "Any"


Go to solution Solved by Luke,

Recommended Posts

Posted

I've been having trouble since the Emby Server changes to the Webhooks feature. While trying to narrow down the issue, I was testing with playback.start and playback.stop events and I found the following bug.

  • When webhooks are configured to limit library events to specific libraries, playback events are not sent for playback from any library.

So, as an example, if I set the webhooks setting "Limit library events to:" to "Any" then I do get a webhook sent for playback.start and playback.stop.

image.png.0d22e4c53a7f164d14249e1b66b9314e.png

 

But, if I limit library events to a subset of my libraries, then I do not get playback.start or playback.stop events for playback from any of my libraries.

image.png.72cfb7cf54d738c29c9a32cbc8916436.png

So, in this case, I was testing playback from the TV library, and no webhook events for playback were sent.

For the two tests, I had the same subset of events selected in the webhooks configuration, and that subset includes playback.start and playback stop. I also did not limit user events for either test (was set to Any for both tests). Emby Server version 4.7.11.0. Webhooks plugin version 1.0.25.0.

Reporting here so the Emby devs will know about and track the bug until fixed. Thanks.

GrimReaper
Posted

Same reported in beta thread, seems like Webhook plugin issue of both stable and beta servers exhibit same behavior. 

 

 

Posted

Thanks for that confirmation of previous report in the beta thread.

On a positive note, I do appreciate the expanded set of events now available as webhooks. 👍

Posted

@harrv Thanks for reporting.  I went through several scenarios in my bug report and it's reproducible on demand.  I've yet to find a scenario where it actually works as advertised, so it should be fairly easy to identify and resolve once someone takes the time to look at it.

  • Solution
Posted

Thanks for reporting. We'll take a look.

stevehoffman203
Posted (edited)

Exactly the same here.  Webhooks work fine with the test, and without limits selected, but does not work with limits set.

Emby Server 4.7.11.0.  Webhooks Plugin 1.0.25.0

 

EDIT:  Just wanted to add that it just worked for me with Recordings, but that is the only one that works.

Another Edit:  I just discovered that with only TV and Movies selected, the webhook works when playing a Recording as above and also Music.  It shouldn't activate the Webhooks with Recordings or Music with my selections, but it does.  TV and Movies, which I want, does not send the Webhooks.

Edited by stevehoffman203
Add info
  • Thanks 1
Posted (edited)
On 2/14/2023 at 6:14 PM, stevehoffman203 said:

Another Edit:  I just discovered that with only TV and Movies selected, the webhook works when playing a Recording as above and also Music.  It shouldn't activate the Webhooks with Recordings or Music with my selections, but it does.  TV and Movies, which I want, does not send the Webhooks.

Check out my post Webhook limit activation to specific library not working.  You're probably seeing the behavior I reported on February 7, 2023.

Not sure why a response of "We'll take a look." was marked as a solution.  The problem still exists.

Edited by gbcox
Posted
2 hours ago, gbcox said:

Check out my post Webhook limit activation to specific library not working.  You're probably seeing the behavior I reported on February 7, 2023.

Not sure why a response of "We'll take a look." was marked as a solution.  The problem still exists.

HI, yes we are looking into it. Thanks.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...