Deluan
eb0d9d69f4
Make private methods unpublished
2026-01-02 20:21:57 +00:00
Deluan
dfe758eefd
Don't wake CacheWarmer every 10 seconds, let it sleep :)
2026-01-02 20:21:57 +00:00
Deluan
7970863a81
Don't try to downsample if requested bitrate is equal or greater than original. Fix #2066
2026-01-02 20:21:19 +00:00
Deluan
6d02c1fc2b
Fix timer going awry
2026-01-02 20:21:19 +00:00
Deluan
de0ec25d2c
Fix resized image cache key
2026-01-02 20:21:18 +00:00
Deluan
28fa096166
Implement better artwork cache keys
2026-01-02 20:21:18 +00:00
Kendall Garner
3242ae96b7
Get album info (when available) from Last.fm, add getAlbumInfo endpoint ( #2061 )
...
* lastfm album.getInfo, getAlbuminfo(2) endpoints
* ... for description and reduce not found log level
* address first comments
* return all images
* Update migration timestamp
* Handle a few edge cases
* Add CoverArtPriority option to retrieve albumart from external sources
* Make agents methods more descriptive
* Use Last.fm name consistently
Co-authored-by: Deluan <deluan@navidrome.org>
2026-01-02 20:21:18 +00:00
Deluan
6d4ff8c7e5
Some refactor, log message changes
2026-01-02 20:21:18 +00:00
Deluan
c215f93868
Move artwork id encoding to public package
2026-01-02 20:21:18 +00:00
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