jellyfin-plugin-webhook icon indicating copy to clipboard operation
jellyfin-plugin-webhook copied to clipboard

[Issue]: Webhook shows weird/wrong data

Open Suzaru opened this issue 2 years ago • 3 comments

Please describe your bug

Hi!

I would love to integrate jellyfin into other applications with webhooks. Sadly some of the information the webhook transports seems to be very weird/wrong. Here is an example:

[LastActivityDate] => 0001-01-01T00:00:00.0000000Z 
[LastPlaybackCheckIn] => 0001-01-01T00:00:00.0000000Z

This leads to basic notifications breaking (as can be seen in my discord notification screenshot). I imagine the whole webhook needs a rework and I was told from a reputable dev @austinwbest that they would be willing to cooperate to make it work.

Hope this helps! Appreciate all you guys work. Thank you ❤️‍🔥

Jellyfin Version

Other

if other:

10.8.5

Environment

No response

Jellyfin logs

[LastActivityDate] => 0001-01-01T00:00:00.0000000Z 
[LastPlaybackCheckIn] => 0001-01-01T00:00:00.0000000Z

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

image

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Suzaru avatar Oct 05 '22 22:10 Suzaru

Please provide your webhook configuration.

crobibero avatar Oct 05 '22 23:10 crobibero

Please provide your webhook configuration.

Is there somewhere to see fully utilized webhook configurations that have all the proper fields? I can add them as references to the instructions if so and possibly save users time for things that are just misconfigured. I mention that as looking to the logs, everyone I've looked at has this same value for many of the date fields.

austinwbest avatar Oct 05 '22 23:10 austinwbest

Please provide your webhook configuration.

Well I installed the official webhook plugin v11 and added a Generic Webhook to pass through information to my Notifiarr API. The Notifiarr settings told me to set the following checks and thats what I did:

Enable every Notification Type except "Generic", "Playback Progress", "Task Completed" and "User Data Saved"
Enable "Send All Properties (ignores template)"

Hope this helps!

Suzaru avatar Oct 05 '22 23:10 Suzaru