35 Commits

Author SHA1 Message Date
Deluan
ea2e3b692d
Fix Last.fm's artist.getInfo 2026-01-02 20:05:07 +00:00
Deluan
6d46689622
Implement Scrobble buffering/retrying 2026-01-02 20:05:07 +00:00
Deluan
b23918816d
Only show message after 2 seconds, giving time for the browser to close it first 2026-01-02 20:05:06 +00:00
Deluan
6a254c8b67
Pass userId explicitly to UserPropsRepository methods 2026-01-02 20:05:06 +00:00
Deluan
33447c73b6
Skip songs with less than 31 seconds, as per Last.fm specification
See https://www.last.fm/api/scrobbling#when-is-a-scrobble-a-scrobble
2026-01-02 20:05:05 +00:00
Deluan
a52a88d1d7
Move user properties (like session keys) to their own table 2026-01-02 20:05:05 +00:00
Deluan
541411322c
Disable completely external scrobblers if feature is disabled (DevEnableScrobble) 2026-01-02 20:05:05 +00:00
Deluan
c0f5b6950f
Don't send scrobbles/nowPlaying updates to Last.fm if user has not authorized 2026-01-02 20:05:04 +00:00
Deluan
6dbeb8fedf
Fix wrong warning about ignored NowPlaying 2026-01-02 20:05:04 +00:00
Deluan
5db24ff145
Send NowPlaying and Scrobbles to Last.fm 2026-01-02 20:05:04 +00:00
Deluan
0a9f6cb807
Refactor Agents to be singleton
Initial work for Last.fm scrobbler
2026-01-02 20:05:04 +00:00
Steve Richter
489d0c54eb
Show user-friendly message when error occurs in Last.fm callback endpoint 2026-01-02 20:05:04 +00:00
Steve Richter
0ecc4b5fd0
Implement Last.fm account linking UI 2026-01-02 20:05:04 +00:00
Deluan
c0c229ad72
Expose Last.fm's ApiKey to UI 2026-01-02 20:05:04 +00:00
Deluan
aa20f7d68e
Implement Last.FM Web authentication flow 2026-01-02 20:05:04 +00:00
Deluan
f468522c72
Implement Last.FM Desktop Auth flow endpoints 2026-01-02 20:05:04 +00:00
Deluan
00834e5e6a
Fix Last.fm API method signature 2026-01-02 20:05:04 +00:00
Deluan
fa7179dc7a
Add Last.FM Authentication methods 2026-01-02 20:05:03 +00:00
Deluan
7339e1602f
Use a dedicated api-key/secret pair for Last.FM 2026-01-02 19:32:17 +00:00
Deluan
df6f611377
Refactored agents calling into its own struct 2026-01-02 19:32:16 +00:00
Deluan
05b91cae0d
Move all Spotify and LastFM code into only one folder for each 2026-01-02 19:31:53 +00:00
Deluan
a71740dec7
Fix recursive bug in Last.FM calls without mbid 2026-01-02 19:31:52 +00:00
Deluan
887ad99e07
Embed Last.FM error responses, making the tests faster 2026-01-02 19:31:51 +00:00
Deluan Quintão
48ca8e3174
Retry calls to Last.FM without MBIDs when if returns artist invalid (#1138)
* Call Last.FM's getInfo again without mbid when artist is not found

* Call Last.FM's getSimilar again without mbid when artist is not found

* Call Last.FM's getTopTracks again without mbid when artist is not found
2026-01-02 19:31:51 +00:00
Deluan
5970f18249
Include a shared Last.FM api key, providing zero conf ArtistInfo (bio/top songs/similar artists) 2026-01-02 19:31:51 +00:00
Deluan
0a94249d38
Move utilitarian/generic packages to utils: lastfm, spotify, gravatar, cache, and pool 2026-01-02 19:21:28 +00:00
Deluan
53b31a1c69
Add artist ID to agent's interfaces 2026-01-02 19:21:28 +00:00
Deluan
f6fdade5f4
Add some info about how to create new agents 2026-01-02 19:21:28 +00:00
Deluan
ac0c5cadc8
Cleanup, add Placeholder agent 2026-01-02 19:21:27 +00:00
Deluan
8666a9aac9
Implement TopSongs 2026-01-02 19:21:27 +00:00
Deluan
01957126fe
Use MBID in calls to Last.FM, if it is available 2026-01-02 19:21:27 +00:00
Deluan
2240844bb2
Fix lint errors 2026-01-02 19:21:27 +00:00
Deluan
3caa6f093e
Get images 2026-01-02 19:21:27 +00:00
Deluan
11ed6f2b9e
Add a cached http client 2026-01-02 19:21:27 +00:00
Deluan
5cc7dbb2ba
Incomplete implementation of agents 2026-01-02 19:21:23 +00:00