Rather than manually or periodically letting tasks run from Scheduled Tasks, is there a way to run tasks when I start playing a file? For instance, if I start playing an episode of a show I’d like to at least have jellyfin check for matching subtitles and scan it for intro-skipper audio fingerprints.
I run jellyfin on my desktop rather than a dedicated HTPC. I’m sure it doesn’t matter, but I don’t want my computer to be doing jellyfin scheduled tasks when I’m doing something important. While if I’m watching something, my computer’s not going to be doing anything other than serving me the content, which seems like an ideal time to do housekeeping
Oh… ALL housekeeping? initially I thought you’d only want the video you are playing to be updated with missing extra content (subtitles and intro-skipper audio fingerprints).
Do note that if the library scan does not run, you won’t see any new videos that you might have added since the last scan, so you won’t even be able to see them in the Jellyfin UI to be able to play them. So at the very least, the library scan needs to run independently from the playback of any new video you’d wanna play that wasn’t detected in a previous scan.
It looks to me that it makes more sense to make it run automatically in a time range when you know you won’t be doing something important (I think you can tweak the schedule from the dashboard as admin). And perhaps combine that with manual library scans when needed.
I figured this was the reason, but didn’t want to assume. As user Ferk says below, you’re actually better off to have the tasks run before playing, rather than on start of playback. Since there’s no way for the system to know when that is, I don’t know how you’d automate that.
Unless you have noticed performance impacts during your regular workflow, I tend to agree with what you wrote: