cache podcast images and use them on homepage

This commit is contained in:
2026-01-09 21:54:48 +01:00
parent d890c11a9b
commit f48aa86256
5 changed files with 264 additions and 2 deletions
@@ -46,4 +46,13 @@ public interface IPodcastDownloadService
/// <param name="cancellationToken">Cancellation token.</param>
/// <returns>Task representing the download operation.</returns>
Task DownloadPodcastArtworkAsync(Podcast podcast, CancellationToken cancellationToken = default);
/// <summary>
/// Downloads episode artwork.
/// </summary>
/// <param name="podcast">The podcast.</param>
/// <param name="episode">The episode.</param>
/// <param name="cancellationToken">Cancellation token.</param>
/// <returns>Task representing the download operation.</returns>
Task DownloadEpisodeArtworkAsync(Podcast podcast, Episode episode, CancellationToken cancellationToken = default);
}