the soulseek counterpart of the youtube drain — finally makes the people/airing scans pay off. two automations (Auto-Download Movie / Episode Wishlist, hourly): for each wished+released item, do a bounded blocking slskd search, pick the top ACCEPTED release per the quality profile, and enqueue it exactly like a manual grab (same add_video_download shape → the monitor finishes + organises it). same standard as youtube: processes the WHOLE eligible wishlist (no total cap) but searches a few at a time (max_concurrent, default 3, via a thread pool). a busy guard skips the next hourly tick while a drain is still working. movies gate on status='wanted' (skips monitored); episodes are all-wished. items already downloading are skipped. quiet skip if the library folder isn't set. reuses the real infra (build_query/slskd_search/_evaluate_hits/start_download/ download_monitor) — pure pick/select/record seam-tested; db queries added. 377 automation+video tests green. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| music_database.py | ||
| personalized_schema.py | ||
| video_database.py | ||
| video_schema.sql | ||