mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
Remove duplicate GetPlaylistItems route and add constructor logging
This commit is contained in:
@@ -1210,17 +1210,6 @@ public class JellyfinController : ControllerBase
|
|||||||
|
|
||||||
#region Playlists
|
#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>
|
/// <summary>
|
||||||
/// Gets playlist tracks displayed as an album.
|
/// Gets playlist tracks displayed as an album.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ public class SpotifyMissingTracksFetcher : BackgroundService
|
|||||||
_httpClientFactory = httpClientFactory;
|
_httpClientFactory = httpClientFactory;
|
||||||
_cache = cache;
|
_cache = cache;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
|
|
||||||
|
_logger.LogInformation("SpotifyMissingTracksFetcher: Constructor called");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
||||||
|
|||||||
Reference in New Issue
Block a user