Remove duplicate GetPlaylistItems route and add constructor logging

This commit is contained in:
2026-01-31 17:02:35 -05:00
parent 5f9451f5b4
commit 43718eaefc
2 changed files with 2 additions and 11 deletions

View File

@@ -1210,17 +1210,6 @@ public class JellyfinController : ControllerBase
#region Playlists
/// <summary>
/// Intercepts playlist items requests to inject Spotify playlists.
/// This route must have lower Order than the catch-all ProxyRequest route.
/// </summary>
[HttpGet("Playlists/{playlistId}/Items", Order = 5)]
public async Task<IActionResult> GetPlaylistItems(string playlistId)
{
_logger.LogInformation("GetPlaylistItems called for playlist {PlaylistId}", playlistId);
return await GetPlaylistTracks(playlistId);
}
/// <summary>
/// Gets playlist tracks displayed as an album.
/// </summary>

View File

@@ -27,6 +27,8 @@ public class SpotifyMissingTracksFetcher : BackgroundService
_httpClientFactory = httpClientFactory;
_cache = cache;
_logger = logger;
_logger.LogInformation("SpotifyMissingTracksFetcher: Constructor called");
}
protected override async Task ExecuteAsync(CancellationToken stoppingToken)