Jellyfin Forum
Task Trigger: On new media - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Feature Requests (https://forum.jellyfin.org/f-feature-requests)
+--- Thread: Task Trigger: On new media (/t-task-trigger-on-new-media)



Task Trigger: On new media - Spyros - 2025-01-10

I have various tasks that run on set times once per day, but I will often want to run them manually before watching a new show/movie (like intro-skipper, trickplay image generation, etc).

I think it would make a lot of sense for a trigger that executes tasks upon new media discovery.
A possible next step would be to be able to run the action only for the media that was detected, but this is technically a second feature request that can come later.

I'm wondering if there is any technical reason that this doesn't exist since to me it seems like a very natural thing to exist. Currently "triggers" is a lot more like cron than actual triggers.


RE: Task Trigger: On new media - TheDreadPirate - 2025-01-10

I'd imagine having ALL of those tasks running simultaneously on new media would bog down a lot of user's systems. Maybe not yours, but for some users it would bring their system to a halt. That is in addition to other tasks that occur when new media is added.

Having said that, having the option would be nice.


RE: Task Trigger: On new media - crobibero - 2025-01-10

What you are asking for already exists.
Intro skipper is configured on the plugin configuration page.
Trickplay and image generation are configured when editing a library.


RE: Task Trigger: On new media - Spyros - 2025-01-10

Thanks for sharing this! I expected this thing to be in triggers so much that I didn't even think to look elsewhere.

It'd still be nice to be able to consolidate all of that under "Scheduled tasks", but this will do. Thank you