Samuel Oldham
Samuel Oldham
Hey! I had a quick look at your get_publicuser_info function - it looks like you might are calling the endpoint for artists, which isn't quite the one we need here....
I ran your fork and I'm a bit confused about the changes? Could you explain the changes and perhaps why playlist details aren't shown properly and what you have changed...
Yeah, you just need the option keyword or https://serde.rs/attr-skip-serializing.html#:~:text=Please%20use%20the%20skip%20attribute,skip_deserializing%20to%20skip%20deserializing%20only.
Oh you added skip serialising you need skip deserialising :) or just use skip :) to skip both
https://serde.rs/field-attrs.html#skip #[serde(skip_serializing_if = "path")]
But then you have to populate the images struct using a different API, (perhaps the one mentioned before)
What do you mean?
Heya I think I'll have time in the evening to work out the API, it's a bit trickier than the normal ones as I need to sit there and watch...
Ok so I've had a look through and did a few small changes, the api now works correctly, and all you need to do (still not an easy feat but...
Is there still an artist image for them? It would look less plane if we removed the headers when they don't exist, and just show their image?