Jellyfin Forum
Centralized deletion - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Plugin Development (https://forum.jellyfin.org/f-plugin-development)
+--- Thread: Centralized deletion (/t-centralized-deletion)



Centralized deletion - Dagobert_Krikelin - 2024-10-14

When I delete a movie in jellyfin I want it to be deleted in {Thing we don't talk about} and {Thing we don't talk about} as well.
I have been thinking of possible solutions and would love to hear what you think.

The problem with having to go to {Thing we don't talk about} is inconvenience, but also that I have many movies that are in a different directory not added to {Thing we don't talk about} as they are old {Thing we don't talk about} before I even started using {Thing we don't talk about}. And I don't want to have to figure out where this or that movie is at. Is it in {Thing we don't talk about} or does it exist in my old folder.

So I'm looking to set something up as I delete from Jellyfin, a deletion event triggers a script to run, at which point the movie is delete from {Thing we don't talk about} and {Thing we don't talk about} .

I have created a simple string matching script and using api of {Thing we don't talk about} and {Thing we don't talk about} I can delete from both simultaneously, but I need it to run when I delete in Jellyfin and I'm not sure what solutions there are for this.
Ideally I'd like it to be integrated and I thought maybe a plugin for jellyfin would be cool.


RE: Centralized deletion - TheDreadPirate - 2024-10-14

Jellyfin is not designed with this kind of media management in mind nor do I foresee that being integrated into Jellyfin proper. Having said that, I don't see why a plugin couldn't trigger another app's API when media is deleted. That is already done with the webhook plugin.


RE: Centralized deletion - Dagobert_Krikelin - 2024-10-15

Yes, gotcha. Thanks. I do think I will just keep working from Radarr and Sonarr as is intended