this post was submitted on 14 Jan 2025
12 points (100.0% liked)

Jellyfin: The Free Software Media System

5895 readers
42 users here now

Current stable release: 10.10.5

Community Standards

Website

Forum

GitHub

Documentation

Feature Requests

Matrix (General Information & Help)

Matrix (Announcements)

Matrix (General Development)

Matrix (Off-Topic) - Come get to know the team and blow off steam!

Matrix Space - List of all the available rooms on Matrix.

Discord - Bridged to our Matrix rooms

founded 4 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago)

You could write a s script which follows jellyfin logs line for line and greps/seds/awks for a keyword corresponding to starting playback. Then you could extract the file path.

It's also likely that it's possible to start your specific scheduled task by API like the following [1].

[1] https://github.com/jellyfin/jellyfin/discussions/12224

PS: I don't know whether it's possible to run a scheduled task for a specific file only. But I've already written the above anyway.