diff --git a/allstarr/Controllers/JellyfinController.cs b/allstarr/Controllers/JellyfinController.cs index 026d042..d55a0a0 100644 --- a/allstarr/Controllers/JellyfinController.cs +++ b/allstarr/Controllers/JellyfinController.cs @@ -1640,6 +1640,16 @@ public class JellyfinController : ControllerBase return await ProxyRequest("web/index.html"); } + /// + /// Intercepts playlist items requests to inject Spotify playlist tracks. + /// + [HttpGet("Playlists/{playlistId}/Items", Order = 5)] + [HttpGet("playlists/{playlistId}/items", Order = 5)] + public async Task GetPlaylistItems(string playlistId) + { + return await GetPlaylistTracks(playlistId); + } + /// /// Catch-all endpoint that proxies unhandled requests to Jellyfin transparently. /// This route has the lowest priority and should only match requests that don't have SearchTerm.