drangus

joined 1 year ago
[–] [email protected] 1 points 5 months ago

Yeah I’m getting Items found: 1. I just finished adding a script for the LastFM recommended artists and it’s having the same problem.

I noticed the Lidarr code runs a “CleanupListItems” function on the deserialized results which would make sense as to why I’m just getting 1 result. It’s filtering distinct records by Artist and Album which would both be empty strings in the ImportListItemInfo collection.

[–] [email protected] 1 points 5 months ago (2 children)

This is awesome, thanks! I've deployed the script on a basic local nginx docker container with PHP enabled but the Lidarr list import service only seems to be importing the first result. Did you run into that issue during your development?

Seems the documentation around the custom list is non-existent. Here's the sample output from my page:

[ { "MusicBrainzId": "9f81247f-7f57-42f3-a8ba-75bef554e591" }, { "MusicBrainzId": "0ae49abe-d6af-44fa-8ab0-b9ace5690e6f" }, { "MusicBrainzId": "3b910f7b-018f-408f-950b-47e02d2ce305" } ]

[–] [email protected] 4 points 11 months ago (1 children)

I’d love one if you have a spare! Thanks so much