Does Jellyfin expose "media added" and "media deleted" events? - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: Does Jellyfin expose "media added" and "media deleted" events? (/t-does-jellyfin-expose-media-added-and-media-deleted-events) |
Does Jellyfin expose "media added" and "media deleted" events? - b0g3r - 2024-12-29 I want to write a small script which will send weekly digest with changes in my library. I tried ActivityLog API endpoint at first, but discovered that it doesn't contain media-related events (like "New Movie is added to library").While it seems like I can retrieve new media entities through going through Items/Latest endpoint, where can I get deleted media then? And additional question is about Activity Log: why Library deletion/addition is not there? Is it some intent behind it? RE: Does Jellyfin expose "media added" and "media deleted" events? - TheDreadPirate - 2024-12-29 There is a plugin called "Reports" that would have the info you are looking for. You'd use the "Date Added" column. The plugin can export the reports it generates in the web UI. The activity log is intended for user activity. As in logins, failed logins, watch activity, etc. RE: Does Jellyfin expose "media added" and "media deleted" events? - b0g3r - 2024-12-29 TheDreadPirate, thanks! I can see added media in Reports, but nothing about deleted items 😥 I also found that few month ago support for "item deleted" was added to jellyfin-webhook https://github.com/jellyfin/jellyfin-plugin-webhook/pull/285, but webhooks are not very convenient in my case. Do you know any other options? RE: Does Jellyfin expose "media added" and "media deleted" events? - TheDreadPirate - 2024-12-29 Nope. Jellyfin does not track media that is no longer present. It only cares about what you currently have. |