nick-knudsen / autoplay

automatic playlist creation with last.fm data
0 stars 0 forks source link

LastFM to Firebase pipeline #9

Open carterwward opened 2 years ago

carterwward commented 2 years ago

steps of pipeline: getting user artists from LastFM getting the albums from the artists (using Spotify or LastFM, whichever provides cleaner results) getting song data for each song on each album publishing to firebase

jayceslesar commented 2 years ago

How will we deal with updating users? Just over-write the library?

nick-knudsen commented 2 years ago

We will only need to check their most recent scrobbles since the last time we updated their library.

jayceslesar commented 2 years ago

Ah I see the API allows us to specify a time range...I assume giving a start and leaving the end as none will just get everything from that date, or we can explicitly pass in unix timestamps

jayceslesar commented 2 years ago

@nick-knudsen params here https://github.com/pylast/pylast/blob/main/src/pylast/__init__.py#L2345