From ee1726947b352f8b366fc1f767a6c14c4ad2fdf4 Mon Sep 17 00:00:00 2001 From: emeric Date: Mon, 18 May 2026 21:31:07 +0200 Subject: [PATCH] Fixed termination when a podcast updates its image url, attempt 2 --- src/libs/services/podcast/impl/steps/RefreshPodcastsStep.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libs/services/podcast/impl/steps/RefreshPodcastsStep.cpp b/src/libs/services/podcast/impl/steps/RefreshPodcastsStep.cpp index 6d43d957..d43561ce 100644 --- a/src/libs/services/podcast/impl/steps/RefreshPodcastsStep.cpp +++ b/src/libs/services/podcast/impl/steps/RefreshPodcastsStep.cpp @@ -82,7 +82,10 @@ namespace lms::podcast { LMS_LOG(PODCAST, INFO, "Podcast '" << podcast.title << "' : image url changed from '" << previousUrl << "' to '" << podcast.imageUrl << "'"); if (db::Artwork::pointer currentArtwork{ dbPodcast->getArtwork() }) + { removeArtwork(currentArtwork); + dbPodcast.modify()->setArtwork({}); + } dbPodcast.modify()->setImageUrl(podcast.imageUrl); }