diff --git a/allstarr/Controllers/AdminController.cs b/allstarr/Controllers/AdminController.cs
index 84a262a..e15ec78 100644
--- a/allstarr/Controllers/AdminController.cs
+++ b/allstarr/Controllers/AdminController.cs
@@ -1738,30 +1738,6 @@ public class AdminController : ControllerBase
});
}
- ///
- /// Clear all cached lyrics (LRCLIB only - Jellyfin and Spotify lyrics are not cached)
- ///
- [HttpPost("cache/clear-lyrics")]
- public async Task ClearLyricsCache()
- {
- _logger.LogInformation("Lyrics cache clear requested from admin UI");
-
- var clearedRedisKeys = 0;
-
- // Clear all lyrics cache keys (pattern-based deletion)
- // This includes LRCLIB lyrics and manual mappings
- var lyricsKeysDeleted = await _cache.DeleteByPatternAsync("lyrics:*");
- clearedRedisKeys += lyricsKeysDeleted;
-
- _logger.LogInformation("Lyrics cache cleared: {RedisKeys} Redis keys deleted", clearedRedisKeys);
-
- return Ok(new {
- message = "Lyrics cache cleared successfully",
- redisKeysDeleted = clearedRedisKeys,
- note = "Only LRCLIB lyrics are cached. Jellyfin and Spotify lyrics are fetched on-demand (fast)."
- });
- }
-
///
/// Restart the allstarr container to apply configuration changes
///
@@ -3348,7 +3324,7 @@ public class LinkPlaylistRequest
///
/// GET /api/admin/downloads
- /// Lists all downloaded files in the downloads directory
+ /// Lists all downloaded files in the downloads directory AND kept folder
///
[HttpGet("downloads")]
public IActionResult GetDownloads()
@@ -3356,46 +3332,84 @@ public class LinkPlaylistRequest
try
{
var downloadPath = _configuration["Library:DownloadPath"] ?? "./downloads";
-
- if (!Directory.Exists(downloadPath))
- {
- return Ok(new { files = new List