Skip to content

[REQUEST] Manual import trigger or configurable polling interval #381

@omriza

Description

@omriza

First off, thanks for building MediaManager! As a fresh home media owner and the premise of having everything in one place instead of juggling multiple *arr apps was very compelling to me.

Is your feature request related to a problem? Please describe.
When I download something for immediate watching, I have to wait up to 15 minutes for the scheduled import job to pick it up. The polling interval works fine for most cases, but sometimes I just want to grab something and watch it right away.
It's somewhat related to #380 (or at least could help set expectations regarding the job schedule).

Describe the solution you'd like
A way to trigger an import immediately. This could be:

  • A "Scan Now" or "Import Now" button in the UI
  • An API endpoint that can be called externally (so qBittorrent's "run command on completion" could trigger it)
  • Or even just making the polling interval configurable in config.toml

Any of these would solve the problem.

Describe alternatives you've considered
I looked into whether qBittorrent could notify MediaManager on completion, but there's no webhook endpoint to call. I also considered just waiting for the 15-minute cycle, which works fine 90% of the time - it's really just the "I want to watch this now" scenario where it would be nice to have more control.

Additional context
The current implementation in scheduler.py has the interval hard-coded:

every_15_minutes_trigger = CronTrigger(minute="*/15", hour="*")

Even just exposing this as a config option would help - I could set it to 5 minutes or even 1 minute if I'm willing to accept the extra load.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions