255 Commits

Author SHA1 Message Date
Deluan
1761c61ad9
Fix artist folder detection. Now works when the artist has only one album. 2026-01-02 20:21:17 +00:00
Deluan
6052243ff1
Optimize playlist cover generation 2026-01-02 20:21:17 +00:00
Deluan
c2bec4622c
Use a custom artist image cache key.
Invalidate when `Agents` config changes. This should solve https://github.com/navidrome/navidrome/issues/1601#issuecomment-1241702797
2026-01-02 20:21:17 +00:00
Deluan
7e90ea2a87
More descriptive error when artist.jpg not found 2026-01-02 20:21:16 +00:00
Deluan
6c2562210b
Remove "Biography not available" when agents are not available 2026-01-02 20:21:16 +00:00
Deluan
f0b8274f83
PreCache artist images 2026-01-02 20:21:16 +00:00
Deluan
25d61c0456
Find artist.* image in Artist folder 2026-01-02 20:21:16 +00:00
Deluan
d4cc09f06c
Remove size from public image ID JWT 2026-01-02 20:21:16 +00:00
Deluan
7d9de23f6c
Add local TopSongs 2026-01-02 20:21:16 +00:00
Deluan
9e87f552aa
Always access artist images through Navidrome (proxy calls to external URLs) 2026-01-02 20:21:16 +00:00
Deluan
d1cf8e9b71
Artwork reader for Artist 2026-01-02 20:21:16 +00:00
Deluan
aa5979c7ea
Add local agent, only for images 2026-01-02 20:21:16 +00:00
Deluan
373d139fe2
Add public endpoint to expose images 2026-01-02 20:21:16 +00:00
Deluan
7e7efed112
Rename WeightedChooser's method Put to Add, a better name 2026-01-02 20:21:15 +00:00
Deluan
4bd0f4400e
Use custom sanitize package, fix #2070 2026-01-02 20:20:21 +00:00
Deluan
21bc2a97d3
Don't refresh smart playlists when generating covers 2026-01-02 20:20:20 +00:00
Deluan
e850665ebc
Serve artist placeholder directly, instead of using LastFM's CDN 2026-01-02 20:20:20 +00:00
Deluan
7cba5d1a8f
When trying to PreCache, wait for ImageCache to be available 2026-01-02 20:20:20 +00:00
Deluan
0f0cfe45c5
Reduce retention in CacheWarmer 2026-01-02 20:20:20 +00:00
Deluan
35ca63143f
Handle "naked" CoverArtIDs (IDs of album, mediafiles and playlists) 2026-01-02 20:20:20 +00:00
Deluan
096ea99dc2
Better error handling 2026-01-02 20:20:20 +00:00
Deluan
131707b7f3
GetCoverArt generates a tiled (2x2) image for playlists 2026-01-02 20:20:20 +00:00
Deluan
6380023483
Parse correctly playlist CoverArt ids 2026-01-02 20:20:20 +00:00
Deluan
a65990f657
Fix tests and clean up code a bit 2026-01-02 20:20:20 +00:00
Deluan
2fa35ee0da
Rename DevFastAccessCoverArt to EnableMediaFileCoverArt 2026-01-02 20:20:20 +00:00
Deluan
9cd883acd6
Fix artwork caching 2026-01-02 20:20:19 +00:00
Deluan
b398921d76
Created dedicated artwork readers 2026-01-02 20:20:19 +00:00
Deluan
881370001a
Move artwork handling to its own package 2026-01-02 20:20:19 +00:00
Deluan
a562aff813
Add timeout for artwork extraction 2026-01-02 20:20:19 +00:00
Deluan
04bca99f28
Also caches resized images 2026-01-02 20:20:19 +00:00
Deluan
79be042b7f
Add new Artwork Cache Warmer 2026-01-02 20:20:19 +00:00
Deluan
189ff97809
Refactor file type functions 2026-01-02 20:20:19 +00:00
Deluan
0bb3dc0114
Make sure album is updated if external cover changes 2026-01-02 20:20:19 +00:00
Deluan
8974439d54
Fix spaces in CoverArtPriority, more trace logs in artwork resolution 2026-01-02 20:20:19 +00:00
Deluan
518ac280c4
Cache original images 2026-01-02 20:20:19 +00:00
Deluan
b39b820448
Change Image cache key format 2026-01-02 20:20:19 +00:00
Deluan
f973be99a8
Add back CoverArtPriority 2026-01-02 20:20:18 +00:00
Deluan
10865927c4
Fix DevFastAccessCoverArt flag 2026-01-02 20:20:18 +00:00
Deluan
7c889b8cfd
If resize fails, send the artwork as is. Closes #1102 2026-01-02 20:20:18 +00:00
Deluan
7179dffbb9
Skip trying to read cover art from mediafile if it does not have one 2026-01-02 20:20:18 +00:00
Deluan
52638e2047
Handle request (context) cancellation 2026-01-02 20:20:18 +00:00
Deluan
35ce74f95d
Log artwork origin (tag, file, etc...) 2026-01-02 20:20:18 +00:00
Deluan
203a0f3657
Fallback extracting tags using ffmpeg 2026-01-02 20:20:18 +00:00
Deluan
3608fc8e52
Handle empty cover art ID in subsonic API 2026-01-02 20:20:18 +00:00
Deluan
7806ac583f
Add image cache back 2026-01-02 20:20:17 +00:00
Deluan
473994cc82
Small test refactor 2026-01-02 20:20:17 +00:00
Deluan
22cfd3918f
Handle mediafile covers 2026-01-02 20:20:17 +00:00
Deluan
19621597fe
Resize if requested 2026-01-02 20:20:17 +00:00
Deluan
b7aefb3719
Load artwork from embedded 2026-01-02 20:20:17 +00:00
Deluan
e44a9574b9
Remove CoverArtID, fix tests 2026-01-02 20:20:17 +00:00