Commit graph

11 commits

Author SHA1 Message Date
f56548e432 chore: run prettier format 2021-05-25 16:02:00 +02:00
0c2188c4d4 fix(api): continue crawling when access token refresh fails for one user 2021-05-20 19:19:24 +02:00
66fd6ce1b4 feat(api): custom spotify crawler interval 2020-11-28 18:28:38 +01:00
97f5ef70ac refactor(api): improve function naming in spotify source 2020-11-28 17:56:49 +01:00
5ca3437b59 fix(api): missed listens from spotify
Listory could miss some listens when the Spotify Api misbehaves.

Sometimes the listens added to the last-recently-played endpoint
are showing up are out-of-order.

Because of our optimization to only retrieve listens newer than
the lastRefreshTime we would skip retrieving those out-of-order listens.

By always retrieving the maximum 50 listens we can be reasonably
sure that we got all the listens.

We also had to improve the handling of duplicate listens, as we now
have a lot of them, curtesy of removing the lastRefreshTime
optimization.
2020-11-28 17:55:19 +01:00
9869f0a061 refactor(api): improve logging around spotify crawling loop 2020-11-21 17:43:04 +01:00
49b31e8e62 fix(api): exception after refreshing spotify access token 2020-11-18 21:13:16 +01:00
f56218602e fix: remove debug logging 2020-07-11 19:48:18 +02:00
d881a78757 chore(api): update dependencies 2020-05-03 21:10:31 +02:00
f2065d3f1f feat(api): fetch listens from spotify 2020-05-03 21:10:31 +02:00
f253a66f86 feat(api): user authentication 2020-05-03 21:10:31 +02:00