Claudio Ortolina
7cf9b4e7f8
First pass at uniformed types, specs and docs
...
- spec public functions (skipping controllers, views, live views and
components)
- use types instead of explanations in docs
- remove redundant docs
- fix typos
2026-03-06 08:33:11 +00:00
Claudio Ortolina
a992c1f0dd
Introduce a Req.RateLimiter module to fix API rate limit issues
2026-03-02 15:04:45 +00:00
Claudio Ortolina
b35f4aed1d
EXP: enrich artist info data via Last.fm and produce better embeddings
2026-03-01 08:22:35 +00:00
Claudio Ortolina
dfbc284211
Increase timeout when scrobbling tracks
2026-02-27 16:48:27 +00:00
Claudio Ortolina
3e9c719ce8
LastFm pull 100 tracks as a default
2025-06-02 20:53:04 +01:00
Claudio Ortolina
d3855d989a
Tweak Last.Fm API timeouts for batch operations
2025-05-31 20:54:56 +01:00
Claudio Ortolina
750f0a74d1
Add logic to backfill scrobbled_tracks
...
Chokes on duplicate primary keys
2025-05-31 20:12:36 +01:00
Claudio Ortolina
a27b38f192
Add logic to import a batch of Last.fm tracks
2025-05-31 16:16:24 +01:00
Claudio Ortolina
ae34909c1f
Apply quokka single_node rule
2025-05-28 19:50:06 +01:00
Claudio Ortolina
676c2e4290
Enable quokka with :module_directives rule
2025-05-28 19:41:57 +01:00
Claudio Ortolina
64d99af9dc
Remove redundant Last.fm req option which causes timeouts
2025-05-13 06:54:41 +01:00
Claudio Ortolina
bed107b031
Reduce Last.fm API pool idle timeout time to force re-connections
...
Changing the maximum number of milliseconds that a pool can be idle
before being terminated, Setting it to a low value so that it gets
terminated and we don't get failures after the vm resumes.
2025-05-09 09:18:01 +01:00
Claudio Ortolina
fcdae8f925
Extract LastFm.API.Signature
2025-05-07 08:31:39 +01:00
Claudio Ortolina
c7491719e3
Extract LastFm.API.ErrorResponse
2025-05-07 08:24:47 +01:00
Claudio Ortolina
83d13da679
Can scrobble track maps
2025-05-07 08:11:44 +01:00
Claudio Ortolina
d5b29b20bb
Store last fm information into session (doesn't work yet)
2025-05-05 20:58:37 +01:00
Claudio Ortolina
299cc468b6
Add Last.Fm function to get session
2025-05-05 20:07:18 +01:00
Claudio Ortolina
1d2d72b8ce
Improve retry strategies for Last.fm refresh
2025-04-06 20:52:57 +01:00
Claudio Ortolina
500455481f
Set the LastFm http client to terminate idle connections after 30 secs
...
This change attempts at solving the issue of the application being woken
up after suspension and being unable to talk to the LastFm API (i.e.
throwing plenty of Mint/timeout errors).
The theory is that with this setting the application should quickly
enough restart the pool after waking up.
2025-03-01 07:25:05 +00:00
Claudio Ortolina
7ac2f7a815
Remove LastFm.APIBehaviour
2025-02-27 13:43:49 +00:00
Claudio Ortolina
d818cdbae5
Don't run LastFm.Feed in tests
2024-11-04 09:45:05 +00:00
Claudio Ortolina
7e4e57f6ac
Extract LastFm.Track and related structs
2024-11-04 09:25:43 +00:00
Claudio Ortolina
1abcc5e6ad
Add LastFm feed for a given user
2024-11-04 09:17:01 +00:00