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.

  • Chewy@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    4 days 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.