pinchflat/lib/pinchflat
Amadeus Mader 50a1ff61f4 fix(metadata): auto-download missing source images on profile change or indexing
Add two mechanisms to ensure source images are downloaded:

1. Trigger SourceMetadataStorageWorker when media_profile_id changes,
   so if a user switches to a profile with download_source_images enabled,
   the images will be fetched.

2. After successful indexing, check if source images are missing but
   should exist (profile has download_source_images: true). If so,
   kick off the metadata storage worker to download them.

This fixes issues where sources created before download_source_images
was added, or sources that had failed metadata jobs, never got their
artwork downloaded.
2026-03-07 18:56:26 +01:00
..
boot [Enhancement] Auto-update yt-dlp (#589) 2025-01-27 11:33:38 -08:00
downloading [Enhancement] Retry a download using cookies if doing so might help (#641) 2025-03-05 16:41:07 -08:00
fast_indexing fix(oban): add executing state to indexing worker unique constraints 2026-03-07 18:40:21 +01:00
http [Enhancement] Optionally use the YouTube API for improved fast indexing (#282) 2024-06-10 11:45:41 -07:00
lifecycle [Enhancement] Add support for yt-dlp plugins + add lifecycle script event for app boot (#465) 2024-11-08 15:38:00 -08:00
media [Enhancement] Record and display errors related to downloading (#610) 2025-02-12 10:17:24 -08:00
metadata [Enhancement] Add option for a source to only use cookies when needed (#640) 2025-03-05 15:32:15 -08:00
podcasts Added OPML Endpoint for podcast rss feeds (#512) 2024-12-20 11:47:03 -08:00
profiles [Enhancement] Auto-update yt-dlp (#589) 2025-01-27 11:33:38 -08:00
settings [Enhancement] Add setting to restrict filenames to ASCII characters (#660) 2025-03-17 14:58:25 -07:00
slow_indexing fix(metadata): auto-download missing source images on profile change or indexing 2026-03-07 18:56:26 +01:00
sources fix(metadata): auto-download missing source images on profile change or indexing 2026-03-07 18:56:26 +01:00
tasks [Bugfix] Disallow concurrent slow-indexing runs for the same source (#384) 2024-09-10 14:16:10 -07:00
utils [Enhancement] Record and display errors related to downloading (#610) 2025-02-12 10:17:24 -08:00
yt_dlp [Enhancement] Add setting to restrict filenames to ASCII characters (#660) 2025-03-17 14:58:25 -07:00
application.ex [Enhancement] Auto-update yt-dlp (#589) 2025-01-27 11:33:38 -08:00
mailer.ex Initial commit 🎉 2024-01-18 20:32:01 -08:00
prom_ex.ex [Enhancement] Add Prometheus support (#556) 2025-01-09 12:38:17 -08:00
release.ex [Enhancement] Add support for yt-dlp plugins + add lifecycle script event for app boot (#465) 2024-11-08 15:38:00 -08:00
repo.ex Improve relationship UI handling (#42) 2024-02-29 18:35:51 -08:00