33 Commits

Author SHA1 Message Date
tcely
1a829830f2
Expand the fallback strategies 2026-02-19 23:40:57 -05:00
tcely
3650c169ba
Update default to use bool 2025-08-24 08:28:57 -04:00
tcely
7bebc96dc3
Call choices_bool 2025-08-23 03:59:44 -04:00
tcely
3ade1debb6
Use FilterSeconds.choices_bool 2025-08-23 03:48:33 -04:00
tcely
ae75302da4
Update source.py 2025-07-18 06:01:56 -04:00
tcely
7bbb5ba47f
Better handling of missing tabs 2025-06-27 16:16:34 -04:00
tcely
2c93784623
Add to validation function 2025-06-20 19:14:42 -04:00
tcely
af4f242b05
Use timedelta to avoid ValueError 2025-06-07 19:28:18 -04:00
tcely
90be9e274d
Use datetime.weekday() function 2025-05-30 21:28:30 -04:00
tcely
4df84b37cf
Calculate the delta to add instead of looping 2025-05-26 22:11:14 -04:00
tcely
9b81c54c0f
fixup: remove white-space 2025-05-26 07:58:13 -04:00
tcely
c797d97f5d
fixup: remove white-space 2025-05-26 07:56:37 -04:00
tcely
d6846ee9d4
Update source.py 2025-05-26 07:23:18 -04:00
tcely
a80950ee16
We want to edit target_schedule 2025-05-26 05:22:33 -04:00
tcely
d1c929a586
Do not operate on None 2025-05-26 03:09:26 -04:00
tcely
07cdf5ebc9
Handle smaller index schedules also 2025-05-26 01:39:07 -04:00
tcely
32a3f015c6
fixup: readability 2025-05-26 00:22:51 -04:00
tcely
de8d346d90
Add target_schedule column and task_run_at_dt property 2025-05-25 23:49:09 -04:00
tcely
3c1cf294eb
Streams are newest first also
Keep the beginning when limited:
Newest, ..., Oldest

Reverse direction when adding to the queue:
Oldest, ..., Newest

This way when it is limited by queue size,
we keep the newest streams for indexing.
2025-05-20 02:57:02 -04:00
meeb
954233a71f
Merge pull request #1042 from tcely/patch-4
Fixes for `ruff check` output
2025-05-20 16:35:06 +10:00
tcely
8109d6a836
Use getattr not dict.get for settings 2025-05-19 08:09:56 -04:00
tcely
01fcf5ec66
Reverse the lists when adding to the queue
The default sorting appears to be newest first.
We want the oldest to be dropped from the queue,
by any limits instead.
2025-05-19 07:17:56 -04:00
tcely
e84643b95e
Handle unbalanced channels better 2025-05-19 01:44:49 -04:00
tcely
c7c37b12d8
Use queue for better readability 2025-05-19 00:12:47 -04:00
tcely
8ba9ce4078
Use a queue to avoid list memory performance 2025-05-19 00:10:13 -04:00
tcely
971cea5c0e
Use the less ambiguous list.extend function 2025-05-18 22:26:06 -04:00
tcely
565fe79183
Fixes for ruff check in models/source.py 2025-05-17 09:47:57 -04:00
tcely
0d1f066fce
Reorganize misc.py 2025-05-10 04:21:06 -04:00
tcely
5b79293562
Update source.py 2025-05-09 01:47:58 -04:00
tcely
7cad4ce396
Update source.py 2025-05-09 01:45:42 -04:00
tcely
6d288ec447
Update source.py 2025-05-09 01:43:03 -04:00
tcely
9ceafe9fd2
Update source.py 2025-05-09 01:21:26 -04:00
tcely
e33cf52209
Create source.py 2025-05-08 20:56:11 -04:00