camdendotlol / topstersorg

Book and music charts
https://topsters.org
GNU Affero General Public License v3.0
18 stars 9 forks source link

Feature: Last.fm import #14

Closed camdendotlol closed 1 year ago

camdendotlol commented 2 years ago

It would be nice to be able to import from Last.fm and auto-populate the chart.

This might be a bit messy on the backend. Last.fm has API endpoints for weekly or monthly charts, but the data they return does not include album art URLs. Other sites that offer an import feature, such as https://tapmusic.net, have a long loading times when you import. I suspect this is because they're individually looking up each album to fetch the artwork link. If that is the case, I don't know how feasible it would be to include this feature while continuing to comply with API limits.

camdendotlol commented 1 year ago

I don't know what I missed last time, there's an API route for this that includes all the necessary data. I've started work on this feature.

camdendotlol commented 1 year ago

This feature is complete on a branch, but blocked by #22