this post was submitted on 22 Jan 2024
29 points (100.0% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54627 readers
512 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
A JSON array that looks like this:
I use it to fetch my Last.fm and ListenBrainz recommendations for example.
Sorry for the necro, but can you expand on how you pull in your ListenBrainz rec?
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" } ]
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.
Thank you. Is there any chance you could share what the final output looks like?
Trying to get our own script working and it would be nice to compare to a known good output
Ok, one last question, does this mean you are watching the entire artist? What I'm trying to do is watch a specific release/release group via the list, not the entire artist, and I can't work out the format the custom list is expecting for that