diff --git a/allstarr/Controllers/AdminController.cs b/allstarr/Controllers/AdminController.cs index 33adaed..faaa574 100644 --- a/allstarr/Controllers/AdminController.cs +++ b/allstarr/Controllers/AdminController.cs @@ -1528,6 +1528,12 @@ public class AdminController : ControllerBase _logger.LogInformation("Config file updated successfully at {Path}", _envFilePath); + // Invalidate playlist summary cache if playlists were updated + if (appliedUpdates.Contains("SPOTIFY_IMPORT_PLAYLISTS")) + { + InvalidatePlaylistSummaryCache(); + } + return Ok(new { message = "Configuration updated. Restart container to apply changes.",