shemanaev / jellyfin-plugin-webhooks

Webhooks for Jellyfin
MIT License
19 stars 0 forks source link

Issues getting some events to get triggered when the payload type is Plex #13

Open GabeDuarteM opened 2 months ago

GabeDuarteM commented 2 months ago

Hey :wave:

I configured a webhook with MarkPlayed and MarkUnplayed checked (along with other events), but whenever I click on Mark as played/unplayed on jellyfin, I get no MarkPlayed/MarkUnplayed events (I only get the scrobble event when I click mark as played).

I also noticed I don't get any progress, and I assume I'm also not getting any start session/end session events (but I'm not sure what it should do, so maybe I'm just not doing the correct action to trigger it, I just wanted to test it out)

Is it intended that those don't work when the payload type is plex?

Below is the configuration I'm using for the webhook (and the webhook url itself is just logging out whichever request it gets, so nothing important/specific there)

image

shemanaev commented 1 month ago

Hi, yes this is intended behaviour with Plex formatter. It was really made with mind of compatibility with scrobbling services like SIMKL. If you want to use full power of plugin you must use native "Default" format.

Here is the full list of commands supported by Plex:

Pause => "media.pause",
Resume => "media.resume",
Stop => "media.stop",
Scrobble => "media.scrobble",
Rate => "media.rate",
MarkPlayed => "media.scrobble",
Play => "media.play",
ItemAdded => "library.new",