Drew Weymouth
b6fce0e686
Fix XML marshaling of OpenSubsonic structured lyrics ( #3041 )
2024-05-22 12:15:14 -04:00
Deluan
f88d3f82da
Replace panics with log.Fatals
2024-05-21 17:50:02 -04:00
Deluan
55bff343cd
Optimize SQLite3 access. Mainly separate read access from write access.
...
Based on tips from https://archive.is/Xfjh6#selection-257.0-278.0
2024-05-21 17:19:41 -04:00
dependabot[bot]
68f03d0167
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>
2024-05-21 10:45:04 -04:00
Deluan
643c763cb4
Show number of results from a query in the logs
2024-05-20 16:21:41 -04:00
Deluan Quintão
67865512c8
Update Ukrainian translations ( #3029 )
...
Co-authored-by: deluan <331353+deluan@users.noreply.github.com>
2024-05-19 22:17:13 -04:00
Deluan
b2ecc1d16f
Fix G404 gosec lint error
2024-05-19 21:55:19 -04:00
Deluan
bcaa180fc7
Fix 32 bits builds
2024-05-19 13:03:13 -04:00
Deluan
aeed5a7099
Update caniuse-lite
2024-05-19 12:45:19 -04:00
Deluan
3977ef6e0f
Make first WebUI random page stick
2024-05-19 12:35:30 -04:00
Deluan
653b4d97f9
Add missing Test function
2024-05-18 15:05:40 -04:00
Guilherme Souza
98218d045e
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>
2024-05-18 14:10:53 -04:00
Deluan
a9feeac793
Revert "Always run docker steps ( #3034 )"
...
This reverts commit 5d41165b5bd62bcf89729a682efc5ca50c3a3159.
2024-05-18 11:54:16 -04:00
Deluan
1c0551f4f7
Revert "Fix docker publishing for PRs"
...
This reverts commit 15c9a0ded394bc6e69afc4b0601217f426b2264b.
2024-05-18 11:54:15 -04:00
Deluan
15c9a0ded3
Fix docker publishing for PRs
2024-05-17 22:45:54 -04:00
Deluan Quintão
5d41165b5b
Always run docker steps ( #3034 )
2024-05-17 22:22:47 -04:00
Deluan
0a763b91d5
Fix lint error
2024-05-17 21:46:59 -04:00
Deluan
4d28d534cc
Refactor random.WeightedChooser, unsing generics
2024-05-17 15:45:34 -04:00
Deluan
a7a4fb522c
Simplify resources.FS
2024-05-16 22:53:51 -04:00
Deluan
7f52ff72dc
Simplify image format detection code
2024-05-16 13:49:40 -04:00
Deluan
8ed07333ed
Improve resizeImage code readability
2024-05-16 13:49:40 -04:00
Rob Emery
52235c291d
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>
2024-05-16 12:16:56 -04:00
Fynn Petersen-Frey
de0a08915c
fix bug in jukebox: property unavailable ( #3024 )
...
* fix bug in jukebox: property unavailable
* fix lint error
2024-05-15 09:48:09 -04:00
Deluan
45c4583f1b
Fix race condition
2024-05-13 09:28:19 -04:00
Deluan
478c709a64
Associate main entities with library
2024-05-12 21:37:42 -04:00
Deluan
477bcaee58
Store MusicFolder as a library in DB
2024-05-12 21:37:42 -04:00
Deluan
081ef85db6
Rename MediaFolder to Library
2024-05-12 21:37:42 -04:00
Deluan
6f2643e55e
Refactor to use more Go 1.22 features
2024-05-12 20:04:53 -04:00
Deluan
9ee63b39cb
Update Go to 1.22.3
2024-05-12 20:04:53 -04:00
Deluan
c556088820
Change dsf mime-type to audio/x-dsf.
...
Fix #3021
v0.52.5
2024-05-12 11:33:50 -04:00
Deluan
78f554721a
Revert "Add download link to PR" workflow
2024-05-11 20:40:12 -04:00
Deluan
2c8c87a980
Remove duplicated test
2024-05-11 20:15:02 -04:00
Deluan
3463d0c208
Simplify random.Int64 usage with generics
2024-05-11 20:10:46 -04:00
Deluan
0ae2944073
Refactor random functions
2024-05-11 20:04:21 -04:00
Deluan
30ae468dc1
Uses Unix milliseconds support from standard Go lib
2024-05-11 19:50:30 -04:00
Deluan
ec68d69d56
Refactor cache.HTTPClient
2024-05-11 19:37:12 -04:00
Deluan
955a9b43af
Refactor merge.FS
2024-05-11 19:37:12 -04:00
Deluan
56809419c2
Fix "Add download link to PR" workflow
2024-05-11 18:50:46 -04:00
Deluan
3a2a5e961b
Add samplingRate to OpenSubsonic responses
2024-05-11 17:57:45 -04:00
Deluan
f3bb022238
Add sampleRate to the DB
2024-05-11 17:57:45 -04:00
Deluan
472324e280
Read sampleRate from audio files
2024-05-11 17:57:45 -04:00
Deluan
ed83c22632
Do not panic if when updatePlaylist is called with a non-existent ID.
...
Fix #2876
2024-05-11 15:37:50 -04:00
edthu
2fdc1677f7
Add Catppuccin Macchiato Theme ( #3014 )
...
* Added Catppuccin Macchiato theme
* fixed index.js formatting
2024-05-11 13:08:51 -04:00
Deluan
80e68dfbcd
Bump actions/github-script to v7
2024-05-10 16:00:21 -04:00
Deluan
a9c745839b
Bump actions/stale and dessant/lock-threads versions
2024-05-10 15:51:16 -04:00
Deluan
bb96d455f8
Replace sync.WaitGroup with more appropriate errgroup.Group
2024-05-10 15:27:07 -04:00
Deluan
c0885b55db
Fix M3U mimetype on Debian Bullseye
2024-05-09 22:26:15 -04:00
Deluan
00cbe4c357
Update Go to 1.22.3
2024-05-09 22:26:15 -04:00
Valeri Sokolov
2b49c7ff76
fix: languageName for Persian ( #3011 )
...
"انگلیسی" is "English"
2024-05-09 17:08:43 -04:00
Deluan
09d1fd0658
Simplify normalized AlbumPlayCountMode calc
2024-05-09 08:13:42 -04:00