jellyfin / jellyfin-plugin-webhook

GNU General Public License v3.0
148 stars 48 forks source link

Notification Type: ItemAdded doesn't trigger when a new item is added #252

Open ArdianaLeek opened 5 months ago

ArdianaLeek commented 5 months ago

I recently upgraded to 10.9.2 from 10.8 and the server stopped sending notifications when a new item is added. I use the gotify destination but i tried it with generic destination and https://webhook.site too but nothing is being sent when a new item gets added.

crobibero commented 5 months ago

What version of the plugin are you using.

ArdianaLeek commented 5 months ago

14.0.0.0

Playragnarok commented 5 months ago

May photo over size

nwgat commented 5 months ago

am running into exactly the same issue after upgrading to 10.9.3 (in docker) ive also tried to reinstall webhook plugin

OdinGitDat commented 5 months ago

I am experiencing the same issue since 10.9 upgrade. Previously working 'item added' webhook now sends nothing.

Here are the debug logs.

[12:55:35] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly Jellyfin.Plugin.Webhook, Version=14.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Webhook_14.0.0.0/Jellyfin.Plugin.Webhook.dll
[13:01:22] [DBG] [47] Jellyfin.Plugin.Webhook.Notifiers.ItemAddedNotifier.ItemAddedManager: Queued Tideland for notification
[13:03:03] [DBG] [11] Jellyfin.Plugin.Webhook.Notifiers.ItemAddedNotifier.ItemAddedManager: ProcessItemsAsync
DeveloperBat commented 5 months ago

I am having the same issue as well.

crobibero commented 5 months ago

Is the item added scheduled task running?

OdinGitDat commented 5 months ago

Yes and also tried running it manually.

DeveloperBat commented 5 months ago

It seems the problem was on my end. The notification was queued, but it seems the notification was missing values which made it not being sent.

[2024-06-03 10:53:41.348 +02:00] [WRN] [29] Jellyfin.Plugin.Webhook.Destinations.Discord.DiscordClient: Notification failed with response status code BadRequest: "{\"embeds\": [\"0\"]}"

After filling in missing values it finally worked.

ArdianaLeek commented 5 months ago

The "Automatically Scan Intros" task from https://github.com/jumoog/intro-skipper runs when new media is added but i don't even get any logs from the webhook plugin.

OdinGitDat commented 4 days ago

Is this being looked at? Not sure how to troubleshoot this issue because I'm also not getting any logs other than the item is added to the notification queue.