Skip to content

Automatic removal with video age not working #447

@caincodes

Description

@caincodes

Automatic removal based on video age does not appear to be functioning correctly.

My oldest videos were downloaded in late December. With the removal age set to 30 days, I would expect several of these to be deleted by now. However, none are being removed. The "Preview Automatic Renewal" function reflects the same issue.

Oldest Videos in the Database

+----+----------------------+--------------+---------------------+
| id | youTubeVideoName     | originalDate | last_downloaded_at  |
+----+----------------------+--------------+---------------------+
|  1 | XXXXXX               | 20251225     | 2025-12-28 03:33:23 |
|  2 | XXXXXX               | 20251222     | 2025-12-28 03:40:26 |
|  3 | XXXXXX               | 20251229     | 2025-12-30 22:30:45 |
|  4 | XXXXXX               | 20210306     | 2025-12-30 22:42:45 |
|  5 | XXXXXX               | 20251230     | 2025-12-31 00:02:22 |
|  6 | XXXXXX               | 20251231     | 2026-01-02 06:10:59 |
|  7 | XXXXXX               | 20260104     | 2026-01-05 00:27:25 |
|  8 | XXXXXX               | 20251020     | 2026-01-05 06:38:22 |
|  9 | XXXXXX               | 20251030     | 2026-01-05 06:38:10 |
| 10 | XXXXXX               | 20251125     | 2026-01-05 06:38:09 |
| 11 | XXXXXX               | 20251213     | 2026-01-05 06:38:08 |
| 12 | XXXXXX               | 20251227     | 2026-01-05 06:38:08 |
| 13 | XXXXXX               | 20250927     | 2026-01-05 06:38:08 |
| 14 | XXXXXX               | 20251001     | 2026-01-05 06:38:08 |
| 15 | XXXXXX               | 20251019     | 2026-01-05 06:38:08 |
| 16 | XXXXXX               | 20251029     | 2026-01-05 06:38:08 |
| 17 | XXXXXX               | 20251217     | 2026-01-05 06:38:08 |
| 18 | XXXXXX               | 20251104     | 2026-01-05 06:38:08 |
| 19 | XXXXXX               | 20251120     | 2026-01-05 06:38:08 |
| 20 | XXXXXX               | 20251127     | 2026-01-05 06:38:07 |
+----+----------------------+--------------+---------------------+

Given these last_downloaded_at timestamps, multiple entries should qualify for deletion when the age is set to 7 days.

Automatic Removal Preview (7 Days)

Below is the screenshot of the automatic removal preview in the GUI:
Image

The preview reports only one video eligible for removal:

+-----+------------------------------------------------------+--------------+---------------------+
| id  | youTubeVideoName                                     | originalDate | last_downloaded_at  |
+-----+------------------------------------------------------+--------------+---------------------+
| 571 | Meticulous Espresso: Was It Worth The 2.5 Year Wait? | 20260122     | 2026-01-26 04:11:31 |
+-----+------------------------------------------------------+--------------+---------------------+

Please let me know if additional information about my config is needed.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions