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. |
||
|---|---|---|
| .. | ||
| boot | ||
| downloading | ||
| fast_indexing | ||
| http | ||
| lifecycle | ||
| media | ||
| metadata | ||
| podcasts | ||
| profiles | ||
| settings | ||
| slow_indexing | ||
| sources | ||
| tasks | ||
| utils | ||
| yt_dlp | ||
| application.ex | ||
| mailer.ex | ||
| prom_ex.ex | ||
| release.ex | ||
| repo.ex | ||