116 Commits

Author SHA1 Message Date
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
4fb54d0bca
Add tests to core.Share 2026-01-02 19:32:16 +00:00
Deluan
969e3a91d2
Make MockRepo names more consistent 2026-01-02 19:32:16 +00:00
Yash Jipkate
d910beea75
Add Native Sharing REST API (#1150)
* Initial draft - UNTESTED

* changes to Save() and Update()

* apply col filter and limit nanoid

* remove columns to not update
2026-01-02 19:32:11 +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
8b6e29e9c2
Add tests for WeightedRandomChooser 2026-01-02 19:31:51 +00:00
Deluan
5c8708daec
Rename variable with conflicting name 2026-01-02 19:31:51 +00:00
Deluan
4bbd2a720c
Better SimilarSongs algorithm 2026-01-02 19:31:51 +00:00
Deluan
8149e99dda
Add a timeout to background task 2026-01-02 19:31:51 +00:00
Deluan
49dc6116f7
Don't use request's context when refreshing artist info in background 2026-01-02 19:31:51 +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
8fdab93efa
Always update artist info, even if info is fresh 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
a7a7d23883
Removed unnecessary code 2026-01-02 19:31:09 +00:00
Deluan
3e56e834a4
Upgrade to go-chi 5 2026-01-02 19:31:07 +00:00
Deluan
a2ca6eb67d
More auth tests 2026-01-02 19:26:41 +00:00
Deluan
b9e8ae07d3
Less waiting for cache to be ready 2026-01-02 19:26:41 +00:00
Deluan
2f64ee09f3
Allow regular users to change their info, including password.
Should fix #199
2026-01-02 19:26:41 +00:00
Deluan Quintão
165af5b850
Remove dependency of go-bindata (#818)
* Use new embed functionality for serving UI assets

* Use new embed functionality for serving resources. Remove dependency on go-bindata

* Remove Go 1.15
2026-01-02 19:22:04 +00:00
Deluan
fdd9a94144
Rename ExternalInfo to ExternalMetadata 2026-01-02 19:21:28 +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
6e0433ad03
Implement SimilarSongs 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
9d4464b5ed
Clean names before calling agents 2026-01-02 19:21:27 +00:00
Deluan
36eaf7bcdc
Get MBID first, if it is not yet available 2026-01-02 19:21:27 +00:00
Deluan
5cab07c7b2
Clean up, comments and logs 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
Deluan
10cf2372f8
Move project to Navidrome GitHub organization 2026-01-02 19:20:16 +00:00
Deluan
ab78ad869a
Fix test suite name 2026-01-02 19:20:16 +00:00
Deluan
749edc4661
Use new simplified uuid.NewString() syntax 2026-01-02 19:20:14 +00:00
Deluan
31e79117eb
Removed invalid comment 2026-01-02 19:20:13 +00:00
Deluan
7b7b402bbd
Simplify worker pool 2026-01-02 19:20:11 +00:00
Deluan
f87e3420f3
Return album art as a Reader 2026-01-02 19:20:10 +00:00
Deluan
887454efb0
Don't show warning about image cache disabled if pre-cache warmer is disabled 2026-01-02 19:20:10 +00:00
Zane van Iperen
4f56e8de8b
Fix startup failure when image cache is disabled.
Fixes #655
2026-01-02 19:20:07 +00:00
Jason Walton
dd721c1f54
Fix aspect ratio for non-square album art. 2026-01-02 19:20:07 +00:00
Deluan
ef1f7e5cf1
No need to create a new instance of the Artwork service 2026-01-02 19:20:06 +00:00
Deluan
8f789e385a
Only try to check cover art file for lastUpdated if fast access is not set 2026-01-02 19:20:06 +00:00
Deluan
3e130aac01
Redesign UserMenu, now with support for Gravatar 2026-01-02 19:19:35 +00:00
Deluan
02e513201c
Use a better notation for exporting JS components and functions 2026-01-02 19:19:34 +00:00