Video auto-wishlist: schedule the automation so it actually fires
The system automation used trigger_type 'daily_time' with no initial_delay, but the seeder only arms a next_run when a spec has initial_delay (and _calc_delay_seconds doesn't parse a daily_time clock anyway) — so it registered as 'event-based' and never auto-ran; it only fired when triggered by hand. Switched to the proven scheduled pattern (24h 'schedule' + initial_delay, like Auto-Scan Watchlist) so it runs once a day on its own.
This commit is contained in:
parent
ae68750d9e
commit
d925c34ce5
1 changed files with 6 additions and 4 deletions
|
|
@ -170,13 +170,15 @@ SYSTEM_AUTOMATIONS = [
|
|||
'action_config': {'mode': 'incremental'},
|
||||
'owned_by': 'video',
|
||||
},
|
||||
# Sonarr-style: each day, wishlist every episode airing today for the shows you
|
||||
# follow (skipping ones already owned) so they queue up to be grabbed.
|
||||
# Sonarr-style: once a day, wishlist every episode airing today for the shows you
|
||||
# follow (skipping ones already owned) so they queue up to be grabbed. Uses a 24h
|
||||
# 'schedule' (not 'daily_time', which the seeder doesn't arm) so it actually fires.
|
||||
{
|
||||
'name': 'Auto-Wishlist Episodes Airing Today',
|
||||
'trigger_type': 'daily_time',
|
||||
'trigger_config': {'time': '01:00'},
|
||||
'trigger_type': 'schedule',
|
||||
'trigger_config': {'interval': 24, 'unit': 'hours'},
|
||||
'action_type': 'video_add_airing_episodes',
|
||||
'initial_delay': 300, # 5 minutes after startup, then daily
|
||||
'owned_by': 'video',
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue