428 Commits

Author SHA1 Message Date
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
899bfaca67
Add coverArt to Subsonic playlist response 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
35ca63143f
Handle "naked" CoverArtIDs (IDs of album, mediafiles and playlists) 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
881370001a
Move artwork handling to its own package 2026-01-02 20:20:19 +00:00
Deluan
10865927c4
Fix DevFastAccessCoverArt flag 2026-01-02 20:20:18 +00:00
Deluan
52638e2047
Handle request (context) cancellation 2026-01-02 20:20:18 +00:00
Deluan
fbddad3089
Make internal method unexported 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
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
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
172e1a4054
Add endpoints in Subsonic API logs 2026-01-02 20:19:52 +00:00
Deluan
54eb2b7aea
Add username to authenticated log messages 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
Deluan
70fb77ad50
Bump github.com/bradleyjkemp/cupaloy to v2.8.0 2026-01-02 20:18:17 +00:00
Deluan
c4d13acadb
Fix background images when BaseURL is specified 2026-01-02 20:17:48 +00:00
Deluan
294eadf19e
Remove math/rand and only use crypto/rand 2026-01-02 20:17:21 +00:00
Deluan
bac1a22a68
Host default login background images in Navidrome's own website 2026-01-02 20:17:21 +00:00
Deluan
7028cc05f5
Compress more http content-types.
Also, some minor refactoring
2026-01-02 20:17:20 +00:00
Deluan
4b338dcf3d
Simplify Subsonic API handler implementation 2026-01-02 20:16:00 +00:00
Deluan
34bd983ef5
Shutdown gracefully, close DB connection 2026-01-02 20:16:00 +00:00
Deluan
e90044164d
Add DefaultUIVolume option. Closes #1679 2026-01-02 20:16:00 +00:00
Deluan
2afc93bb9b
Add missing context to logger calls 2026-01-02 20:16:00 +00:00
Deluan
9f279bf32a
Fix potential nil pointer dereference 2026-01-02 20:16:00 +00:00
Deluan
c45ec227ec
Reduce spurious error/warn messages, if loglevel != debug 2026-01-02 20:16:00 +00:00
Deluan
3718ce1fe4
Add TrackNumber to "fake" generated filenames. Fixes #1912 2026-01-02 20:16:00 +00:00
Deluan
1e939448af
Add played field to Subsonic API responses. Fix #1971
This is not an "official" field in the specification, but I guess it does not hurt to expose this ;)
2026-01-02 20:15:59 +00:00
Deluan
f29fe31237
Restore DefaultLanguage case-sensitiveness by reverting commit bfeb8ef6b3e5756d72b230abdbb96f8a31b2e2f.
Language code should be case-sensitive. Fix #1946. Supersedes #1947.
2026-01-02 20:15:59 +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
Deluan
b73a134d00
Add exportloopref linter 2026-01-02 20:15:58 +00:00
Deluan
6dab8f3474
DefaultLanguage is now case-insensitive 2026-01-02 20:15:30 +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
74a62a3973
New config DefaultLanguage. Closes #1561 2026-01-02 20:15:29 +00:00
Manuel
e81048135b
fix:(middlewares.go) - Set Cookie SameSite mode to Strict - 1776 (#1777)
* None is deprecated and will fallback to Lax in the future.
* Using Strict is future proof and provides additional CSR protection

Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com>

Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com>
2026-01-02 20:15:29 +00:00
Kendall Garner
822c364645
Fix creating server (#1894) 2026-01-02 20:15:29 +00:00
Deluan
f72d8d148b
Fix GO-S2114 security issue
See https://deepsource.io/directory/analyzers/go/issues/GO-S2114
2026-01-02 20:14:54 +00:00
Deluan
e6ba5a2229
Only compute version once 2026-01-02 20:14:54 +00:00
Deluan
2ae0520108
Remove //+build tags, as the code does not compile on older versions of Go anymore 2026-01-02 20:14:54 +00:00
Deluan
e0ac640d4e
Add more info in search log message 2026-01-02 20:14:22 +00:00