3740 Commits

Author SHA1 Message Date
Deluan
a58f04b2ce
Revert isDBInitialized 2026-01-02 20:36:59 +00:00
Drew Weymouth
1247cb5174
Fix XML marshaling of OpenSubsonic structured lyrics (#3041) 2026-01-02 20:36:58 +00:00
Deluan
3650a7ba0a
Replace panics with log.Fatals 2026-01-02 20:36:58 +00:00
Deluan
47068d2dea
Optimize SQLite3 access. Mainly separate read access from write access.
Based on tips from https://archive.is/Xfjh6#selection-257.0-278.0
2026-01-02 20:36:58 +00:00
dependabot[bot]
7c2e139c4e
Bump github.com/matoous/go-nanoid/v2 from 2.0.0 to 2.1.0 (#3038)
Bumps [github.com/matoous/go-nanoid/v2](https://github.com/matoous/go-nanoid) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/matoous/go-nanoid/releases)
- [Commits](https://github.com/matoous/go-nanoid/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: github.com/matoous/go-nanoid/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 20:36:58 +00:00
Deluan
5c45495070
Show number of results from a query in the logs 2026-01-02 20:36:58 +00:00
Deluan Quintão
1224be9566
Update Ukrainian translations (#3029)
Co-authored-by: deluan <331353+deluan@users.noreply.github.com>
2026-01-02 20:36:58 +00:00
Deluan
c98da13299
Fix G404 gosec lint error 2026-01-02 20:36:58 +00:00
Deluan
e39efece28
Fix 32 bits builds 2026-01-02 20:36:58 +00:00
Deluan
6adceb7867
Update caniuse-lite 2026-01-02 20:36:58 +00:00
Deluan
acb7468fdb
Make first WebUI random page stick 2026-01-02 20:36:58 +00:00
Deluan
f238669779
Add missing Test function 2026-01-02 20:36:58 +00:00
Guilherme Souza
c9a39d9986
Deterministic pagination in random albums sort (#1841)
* Deterministic pagination in random albums sort

* Reseed on first random page

* Add unit tests

* Use rand in Subsonic API

* Use different seeds per user on SEEDEDRAND() SQLite3 function

* Small refactor

* Fix id mismatch

* Add seeded random to media_file (subsonic endpoint `getRandomSongs`)

* Refactor

* Remove unneeded import

---------

Co-authored-by: Deluan <deluan@navidrome.org>
2026-01-02 20:36:58 +00:00
Deluan
7c1f1c514d
Revert "Always run docker steps (#3034)"
This reverts commit 5d41165b5bd62bcf89729a682efc5ca50c3a3159.
2026-01-02 20:36:58 +00:00
Deluan
2cf2adbf2a
Revert "Fix docker publishing for PRs"
This reverts commit 15c9a0ded394bc6e69afc4b0601217f426b2264b.
2026-01-02 20:36:57 +00:00
Deluan
b751f9d34c
Fix docker publishing for PRs 2026-01-02 20:36:57 +00:00
Deluan Quintão
697bba5aa4
Always run docker steps (#3034) 2026-01-02 20:36:57 +00:00
Deluan
b8ac62a13b
Fix lint error 2026-01-02 20:36:57 +00:00
Deluan
880af2efe1
Refactor random.WeightedChooser, unsing generics 2026-01-02 20:36:57 +00:00
Deluan
4052be2373
Simplify resources.FS 2026-01-02 20:36:57 +00:00
Deluan
e34c657e42
Simplify image format detection code 2026-01-02 20:36:57 +00:00
Deluan
e08e353763
Improve resizeImage code readability 2026-01-02 20:36:57 +00:00
Rob Emery
ef14eb74f9
Fix memory leak in CachedGenreRepository (#3031)
that the scanner was run, the ttlcache was also created each time.
This caused (under testing with 166 genres in the database) the
memory consumed by navidrome to 101.18MB over approx 3 days; 96%
of which is in instances of this cache. Swapping to a singleton
has reduced this to down to ~ 2.6MB

Co-authored-by: Rob Emery <git@mintsoft.net>
2026-01-02 20:36:57 +00:00
Fynn Petersen-Frey
9bae65167c
fix bug in jukebox: property unavailable (#3024)
* fix bug in jukebox: property unavailable

* fix lint error
2026-01-02 20:36:57 +00:00
Deluan
42812165a7
Fix race condition 2026-01-02 20:36:57 +00:00
Deluan
ffbc1cebd4
Associate main entities with library 2026-01-02 20:36:57 +00:00
Deluan
82e79073cd
Store MusicFolder as a library in DB 2026-01-02 20:36:57 +00:00
Deluan
b0f6a395a8
Rename MediaFolder to Library 2026-01-02 20:36:57 +00:00
Deluan
7057bd104d
Refactor to use more Go 1.22 features 2026-01-02 20:36:56 +00:00
Deluan
00278543d8
Update Go to 1.22.3 2026-01-02 20:36:56 +00:00
Deluan
7f1e10d419
Change dsf mime-type to audio/x-dsf.
Fix #3021
2026-01-02 20:36:56 +00:00
Deluan
4227ec0a01
Revert "Add download link to PR" workflow 2026-01-02 20:36:56 +00:00
Deluan
f22aeee58f
Remove duplicated test 2026-01-02 20:36:56 +00:00
Deluan
5d8b10635e
Simplify random.Int64 usage with generics 2026-01-02 20:36:56 +00:00
Deluan
af627aa18e
Refactor random functions 2026-01-02 20:36:56 +00:00
Deluan
2b13262b25
Uses Unix milliseconds support from standard Go lib 2026-01-02 20:36:56 +00:00
Deluan
56964b676d
Refactor cache.HTTPClient 2026-01-02 20:36:56 +00:00
Deluan
d6d65b43ae
Refactor merge.FS 2026-01-02 20:36:56 +00:00
Deluan
31615394c0
Fix "Add download link to PR" workflow 2026-01-02 20:36:56 +00:00
Deluan
0a5c72e8f2
Add samplingRate to OpenSubsonic responses 2026-01-02 20:36:56 +00:00
Deluan
4007dd0560
Add sampleRate to the DB 2026-01-02 20:36:56 +00:00
Deluan
caa2126677
Read sampleRate from audio files 2026-01-02 20:36:56 +00:00
Deluan
d68cdac3d2
Do not panic if when updatePlaylist is called with a non-existent ID.
Fix #2876
2026-01-02 20:36:55 +00:00
edthu
8941ae980a
Add Catppuccin Macchiato Theme (#3014)
* Added Catppuccin Macchiato theme

* fixed index.js formatting
2026-01-02 20:36:55 +00:00
Deluan
67b997f772
Bump actions/github-script to v7 2026-01-02 20:36:55 +00:00
Deluan
0f713e20af
Bump actions/stale and dessant/lock-threads versions 2026-01-02 20:36:55 +00:00
Deluan
14a379e16c
Replace sync.WaitGroup with more appropriate errgroup.Group 2026-01-02 20:36:55 +00:00
Deluan
519c8f465b
Fix M3U mimetype on Debian Bullseye 2026-01-02 20:36:55 +00:00
Deluan
453e1371b6
Update Go to 1.22.3 2026-01-02 20:36:55 +00:00
Valeri Sokolov
faa684fb95
fix: languageName for Persian (#3011)
"انگلیسی" is "English"
2026-01-02 20:36:55 +00:00