223 Commits

Author SHA1 Message Date
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
Deluan
886ee8e9f4
Remove current Image Cache implementation 2026-01-02 20:20:17 +00:00
Deluan
9236e18631
Remove current artwork implementation 2026-01-02 20:20:17 +00:00
Deluan
9cf05a6b60
Moved logic of collapsing songs into albums to model package
(it should really be called domain.... maybe will rename it later)
2026-01-02 20:20:17 +00:00
Deluan
542496b2f3
Replace MinInt/MaxInt with generic versions 2026-01-02 20:20:17 +00:00
Deluan
e0bfb22007
Rename log.LevelCritical to log.LevelFatal 2026-01-02 20:20:16 +00:00
Deluan
ecf3f9b934
Add command line M3U exporter. Closes #1914 2026-01-02 20:20:16 +00:00
Deluan Quintão
e17976d454
Don't cache transcoded files if the request was cancelled (#2041)
* Don't cache transcoded files if the request was cancelled (or there was a transcoding error)

* Add context to logs

* Simplify Wait error handling

* Fix flaky test

* Change log level for "populating cache" error message

* Small cleanups
2026-01-02 20:19:53 +00:00
Kendall Garner
b130c69cfd
Enable transcoding of downlods (#1667)
* feat(download): Enable transcoding of downlods - #573

Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>

* feat(download): Make automatic transcoding of downloads optional

Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>

* Fix spelling

* address changes

* prettier

* fix config

* use previous name

Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
2026-01-02 20:19:53 +00:00
Deluan
71c9048029
Fix overriding previous logger in context 2026-01-02 20:19:52 +00:00
Deluan
5fef41681b
Some cleanup, fixes typos and grammar errors 2026-01-02 20:19:52 +00:00
Deluan
650989c871
Some cleanup, adding missing context handling 2026-01-02 20:19:52 +00:00
gauth-fr
558c669252
Add global Downsampling feature (#1575)
* Add global downsampling feature

* Default to Opus &  consider player transcoder

* Add a test case for DefaultDownsamplingFormat

Co-authored-by: Deluan <deluan@navidrome.org>
2026-01-02 20:19:50 +00:00
Deluan
5e1ed19bf8
Bump github.com/go-chi/jwtauth/v5 from 5.0.2 to 5.1.0 2026-01-02 20:18:15 +00:00
Deluan
0abbb270e6
Add nakedret linter 2026-01-02 20:17:50 +00:00
Raghd Hamzeh
5d3ae98fcf
fix: send content type header in listenbrainz requests - #1944 (#1994)
fixes #1944

Signed-off-by: Raghd Hamzeh <raghd@rhamzeh.com>

Signed-off-by: Raghd Hamzeh <raghd@rhamzeh.com>
2026-01-02 20:17:21 +00:00
Deluan
39b5f2ca28
Use custom atomic.Bool, as it is not supported in Go 1.18 2026-01-02 20:17:21 +00:00
Deluan
b2ac58070a
Fix race conditions in tests 2026-01-02 20:17:21 +00:00
Deluan
06a3718310
Kill ffmpeg if context is cancelled 2026-01-02 20:17:21 +00:00
jan666
37ea26c7ff
Listenbrainz Scrobble (#2009)
- send SubmissionClient and SubmissionClientVersion
2026-01-02 20:16:31 +00:00
Deluan
2afc93bb9b
Add missing context to logger calls 2026-01-02 20:16:00 +00:00
Deluan
f729efebbc
Add nilerr linter 2026-01-02 20:15:58 +00:00
Deluan
d66b04750b
Add errorlint linter 2026-01-02 20:15:58 +00:00
Deluan
03128f2b97
Fix error comparisons 2026-01-02 20:15:58 +00:00
Andy Klimczak
b560dad1bc
feat: Add listenbrainz base url configuration (#1774)
* feat: Add listenbrainz base url configuration

- ListenBrainz.BaseURL config value

* Don't need to store baseUrl

* Use `url.JoinPath` to concatenate url paths

* Replace url.JoinPath (Go 1.19 only) with custom function

Co-authored-by: Deluan <deluan@navidrome.org>
2026-01-02 20:15:29 +00:00
Deluan
4bfceb3710
Simplify Singleton usage by leveraging Go 1.18's generics 2026-01-02 20:14:22 +00:00
Deluan
90bc1981d8
Upgrade Ginkgo to V2 2026-01-02 20:14:21 +00:00
Deluan
913d75b9f2
Fix loading overridden translations from ${DataFolder}/resources/i18n 2026-01-02 20:11:58 +00:00
Deluan
7be85ed032
Better logging for agents configuration 2026-01-02 20:11:57 +00:00
Deluan
0892dacb83
Allow overriding name and comment when importing NSP playlists 2026-01-02 20:11:39 +00:00
Steve Richter
babc48c29d
Rename ListenBrainz config flag and enable by default (#1443) 2026-01-02 20:11:36 +00:00
Deluan
9d40694ae6
Fix playlist cannot be empty via Subsonic API 2026-01-02 20:09:31 +00:00
Deluan
bc765d02af
Better logging of GetSimilar call 2026-01-02 20:09:30 +00:00