Deluan
e0f1ddecbe
docs: add testing and logging guidelines to AGENTS.md
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-05-19 23:25:24 -04:00
Caio Cotts
1e4e3eac6e
fix: update Makefile with new demo URLs ( #4080 )
2025-05-19 15:34:25 -04:00
Deluan Quintão
19d443ec7f
feat(scanner): add Scanner.FollowSymlinks option ( #4061 )
...
* Add Scanner.FollowSymlinks option (default: true) - Fixes #4060
* fix(mockMusicFS): improve symlink handling in Open, Stat, and ReadDir methods
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor(tests): enhance walkDirTree tests with symlink handling and cleanup
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-05-15 10:33:28 -04:00
Deluan Quintão
db92cf9e47
fix(scanner): optimize refresh ( #4059 )
...
* fix(artist): update RefreshStats to only process artists with recently updated media files
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: paginate Artist's RefreshStats, also replace rawSQL with Expr
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-05-14 20:47:03 -04:00
Kendall Garner
ec9f9aa243
feat:(server): support reading lyrics from filesystem ( #2897 )
...
* simplified lyrics handling
* address initial feedback
* add some trace and error logging
* allow fallback lyrics
* update nit
* restore artist/title filter only
2025-04-30 08:10:19 -04:00
Kendall Garner
0d1f2bcc8a
fix(scanner): check if aiff/wma file has cover art ( #3996 )
...
* check if aiff file has cover art
* add cover art to test files, more support in wrapper
* remove wavpak since tag does't read it anyway
2025-04-25 13:00:26 -04:00
Deluan
dfa217ab51
docs(scanner): add overview README document
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-04-25 12:54:29 -04:00
Kendall Garner
3d6a2380bc
feat(server): add artist/albumartist filter to media file ( #4001 )
...
* add artist/albumartist filter to media file
* artist -> artists_id
2025-04-25 12:50:21 -04:00
DDinghoya
53aa640f35
fix(ui): update Korean translation ( #3980 )
...
* Update ko.json
* Extra characters '들' present before the key.
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update resources/i18n/ko.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update resources/i18n/ko.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update resources/i18n/ko.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update resources/i18n/ko.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update resources/i18n/ko.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: Deluan Quintão <github@deluan.com >
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-04-24 19:22:31 -04:00
Kendall Garner
e4d65a7828
feat(scanner): add unsynced lyrics to default mapping ( #3997 )
2025-04-24 17:40:51 -04:00
Deluan Quintão
b41123f75e
chore: remove DevEnableBufferedScrobble and always enable buffered scrobbling ( #3999 )
...
Removed all code, config, and test references to DevEnableBufferedScrobble. Buffered scrobbling is now always enabled. Added this option to the list of deprecated config options with a warning. Updated all logic and tests to reflect this. No linter issues remain. Some PlayTracker tests are failing, but these are likely due to test data or logic unrelated to this change. All other tests pass. Review required for PlayTracker test failures.
Signed-off-by: Deluan <deluan@navidrome.org >
2025-04-24 17:19:50 -04:00
Deluan
6f52c0201c
refactor(server): simplify lastfm agent initialization logic
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-04-19 23:36:53 -04:00
Deluan
4944f8035a
test: add tests for userName and AbsolutePath in core/common.go
...
Added Ginkgo/Gomega tests for userName and AbsolutePath functions in core/common.go. Tests cover normal and error cases, using existing mocks and helpers. This improves coverage and ensures correct behavior for user context extraction and library path resolution.
2025-04-18 11:53:47 -04:00
Ivan Pešić
0d5097d888
fix(ui): update Serbian translation ( #3941 )
2025-04-17 19:27:12 -04:00
Deluan Quintão
ed7ee3d9f8
fix(ui): always order album tracks by disc and track number ( fixes #3720 ) ( #3975 )
...
* fix(ui): ensure album tracks are always ordered by disc and track number (fixes #3720 )
* refactor(ui): remove obsolete release date grouping logic from SongDatagrid and AlbumSongs
* fix(ui): ensure correct album track ordering in context menu and play button
* fix: Update album sort to use album_id instead of release_date
* refactor: Adjust filters in PlayButton and AlbumContextMenu
* fix: correct typo in comment regarding participants in GetMissingAndMatching function
* fix: prevent visual separation of tracks on same disc
Removes the leftover `releaseDate` check from the `firstTracksOfDiscs` calculation in `SongDatagridBody`. This check caused unnecessary `DiscSubtitleRow` insertions when tracks on the same disc had different release dates, leading to an incorrect visual grouping that resembled a multi-disc layout.
This change ensures disc subtitles are only shown when the actual `discNumber` changes, correcting the UI presentation issue reported in issue #3720 after PR #3975 .
* fix: remove remaining releaseDate references in SongDatagrid
Cleaned up leftover `releaseDate` references in `SongDatagrid.jsx`:
- Removed `releaseDate` parameter and usage from `handlePlaySubset` in `DiscSubtitleRow`.
- Removed `releaseDate` prop passed to `AlbumContextMenu` in `DiscSubtitleRow`.
- Removed `releaseDate` from the drag item data in `SongDatagridRow`.
- Removed `releaseDate` parameter and the corresponding `else` block from the `playSubset` function in `SongDatagridBody`.
This ensures the component consistently uses `discNumber` for grouping and playback actions initiated from the disc subtitle, fully resolving the inconsistencies related to issue #3720 .
2025-04-17 19:23:53 -04:00
Deluan Quintão
74803bb43e
fix(ui): update Russian, Turkish translations from POEditor ( #3971 )
...
Co-authored-by: navidrome-bot <navidrome-bot@navidrome.org >
2025-04-16 21:09:50 -04:00
marcbres
0159cf73e2
fix(ui): updated Catalan translations ( #3973 )
...
Co-authored-by: Marc Bres Gil <marc@helm>
2025-04-16 21:05:59 -04:00
Dongeun
ac1d51f9d0
fix(ui): update Chinese (Simplified) translations ( #3938 )
2025-04-16 21:05:26 -04:00
Thomas Johansen
91eb661db5
fix(ui): update Norwegian translation #3943
2025-04-16 21:04:10 -04:00
Guilherme Souza
524d508916
feat(ui): show sampleRate in song info dialog ( #3960 )
...
* feat(ui): show sampleRate in song info dialog
* npm run prettier --write
2025-04-12 20:52:47 -04:00
Deluan
a6f1f7b7e3
fix(server): albumtype in Smart Playlists
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-04-11 23:53:16 -04:00
Deluan Quintão
49b8cfc261
fix(artwork): always select the coverArt of the first disc in multi-disc albums ( #3950 )
...
* feat(artwork): sort image files for consistent cover art selection
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(artwork): improve album cover art selection by considering disc numbers
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-04-11 23:39:57 -04:00
Deluan
bcea8b832a
chore(deps): update Go version to 1.24.2 in go.mod
2025-04-11 23:18:00 -04:00
Deluan Quintão
58367afaea
refactor: external_metadata -> external.Provider ( #3903 )
...
* tests for TopSongs
Signed-off-by: Deluan <deluan@navidrome.org >
* convert to Ginkgo
Signed-off-by: Deluan <deluan@navidrome.org >
* consolidate tests
Signed-off-by: Deluan <deluan@navidrome.org >
* rename external metadata -wip
Signed-off-by: Deluan <deluan@navidrome.org >
* rename external metadata to extdata.Provider
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor tests - wip
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor test helpers
Signed-off-by: Deluan <deluan@navidrome.org >
* remove reflection
Signed-off-by: Deluan <deluan@navidrome.org >
* use mock.Mock
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor
Signed-off-by: Deluan <deluan@navidrome.org >
* fix
Signed-off-by: Deluan <deluan@navidrome.org >
* receive Agents interface in Provider constructor
Signed-off-by: Deluan <deluan@navidrome.org >
* use mock for Agents
Signed-off-by: Deluan <deluan@navidrome.org >
* tests for SimilarSongs
Signed-off-by: Deluan <deluan@navidrome.org >
* remove duplication
Signed-off-by: Deluan <deluan@navidrome.org >
* ArtistImage tests
Signed-off-by: Deluan <deluan@navidrome.org >
* AlbumImage tests
Signed-off-by: Deluan <deluan@navidrome.org >
* fix provider error handling
Signed-off-by: Deluan <deluan@navidrome.org >
* UpdateAlbumInfo tests - wip
Signed-off-by: Deluan <deluan@navidrome.org >
* UpdateAlbumInfo tests - wip
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor
Signed-off-by: Deluan <deluan@navidrome.org >
* UpdateArtistInfo tests - wip
Signed-off-by: Deluan <deluan@navidrome.org >
* clean up
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor
Signed-off-by: Deluan <deluan@navidrome.org >
* fix test descriptions
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: rename extdata package to external
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-04-08 21:11:09 -04:00
Deluan
6b59f5f73a
feat(ui): add genre and mood fields to AlbumSongs component
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-04-08 18:13:37 -04:00
Deluan Quintão
5f0c1e7387
chore(deps) upgrade Go dependencies, including golangci-lint ( #3937 )
...
* chore(deps): update Go dependencies
Signed-off-by: Deluan <deluan@navidrome.org >
* chore(deps): upgrade golangci-lint
Signed-off-by: Deluan <deluan@navidrome.org >
* build: upgrade golangci-lint-action to v7
Signed-off-by: Deluan <deluan@navidrome.org >
* go mod tidy
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-04-07 19:42:00 -03:00
Deluan Quintão
a057a680f1
fix(ui): update Greek, Esperanto, Polish, Russian, Turkish translations from POEditor ( #3894 )
...
Co-authored-by: navidrome-bot <navidrome-bot@navidrome.org >
2025-04-05 08:54:29 -03:00
Deluan Quintão
f9081bbe6b
fix(server): first user created should be admin, when using reverse proxy ( #3920 )
...
Fix #3902
Signed-off-by: Deluan <deluan@navidrome.org >
2025-04-05 08:24:14 -03:00
Deluan Quintão
73eb0e254b
feat(ui): add mood column to Album and Song list views ( #3925 )
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-04-05 08:23:52 -03:00
Deluan Quintão
2b84c574ba
fix: restore old date display/sort behaviour ( #3862 )
...
* fix(server): bring back legacy date mappings
Signed-off-by: Deluan <deluan@navidrome.org >
* reuse the mapDates logic in the legacyReleaseDate function
Signed-off-by: Deluan <deluan@navidrome.org >
* fix mappings
Signed-off-by: Deluan <deluan@navidrome.org >
* show original and release dates in album grid
Signed-off-by: Deluan <deluan@navidrome.org >
* fix tests based on new year mapping
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(subsonic): prefer returning original_year over (recording) year
when sorting albums
Signed-off-by: Deluan <deluan@navidrome.org >
* fix case when we don't have originalYear
Signed-off-by: Deluan <deluan@navidrome.org >
* show all dates in album's info, and remove the recording date from the album page
Signed-off-by: Deluan <deluan@navidrome.org >
* better?
Signed-off-by: Deluan <deluan@navidrome.org >
* add snapshot tests for Album Details
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(subsonic): sort order for getAlbumList?type=byYear
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-30 17:06:58 -04:00
Deluan
88f87e6c4f
chore: replace album placeholder
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-30 13:41:32 -04:00
Deluan
cf100c4eb4
chore(subsonic): update snapshot tests to use version 1.16.1
2025-03-27 22:50:22 -04:00
Deluan Quintão
5ab345c83e
chore(server): add more info to scrobble errors logs ( #3889 )
...
* chore(server): add more info to scrobble errors
Signed-off-by: Deluan <deluan@navidrome.org >
* chore(server): add more info to scrobble errors
Signed-off-by: Deluan <deluan@navidrome.org >
* chore(server): add more info to scrobble errors
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-27 18:57:06 -04:00
Deluan
46a2ec0ba1
feat(ui): hide absolute paths from regular users
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-25 20:05:24 -04:00
Deluan
3394580413
feat(ui): add Norwegian translation
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-25 17:43:25 -04:00
Michachatz
112ea281d9
feat(ui): add Greek translation ( #3892 )
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-25 17:33:58 -04:00
Deluan Quintão
c837838d58
fix(ui): update French, Polish, Turkish translations from POEditor ( #3834 )
...
Co-authored-by: navidrome-bot <navidrome-bot@navidrome.org >
2025-03-24 17:52:03 -04:00
matteo00gm
9e9465567d
fix(ui): update Italian translations ( #3885 )
2025-03-24 17:49:23 -04:00
Deluan
651ce163c7
fix(ui): sort playlist by album_artist, bpm and channels
...
fix #3878
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-24 16:41:54 -04:00
Deluan Quintão
55ce28b2c6
fix(bfr): force upgrade to read all folders. ( #3871 )
...
* chore(scanner): add trace logs
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(bfr): force upgrade to read all folders. It was skipping folders for certain timezones
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-24 15:22:59 -04:00
Deluan
d331ee904b
fix(ui): sort playlist by year
...
fix #3878
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-24 15:08:17 -04:00
Deluan
3a0ce6aafa
fix(scanner): elapsed time for folder processing is wrong in the logs
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-23 12:36:38 -04:00
Deluan
1806552ef6
chore: remove more outdated TODOs
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-23 11:53:43 -04:00
Deluan
223e88d481
chore: remove some BFR-related TODOs that are not valid anymore
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-23 11:37:20 -04:00
Deluan Quintão
57e0f6d3ea
feat(server): custom ArtistJoiner config ( #3873 )
...
* feat(server): custom ArtistJoiner config
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor(ui): organize ArtistLinkField, add tests
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(ui): use display artist
* feat(ui): use display artist
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-23 10:53:21 -04:00
Deluan
1c691ac0e6
feat(docker): automatically loads a navidrome.toml file from /data, if available
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-22 17:33:56 -04:00
Deluan
264d73d73e
fix(server): don't break if the ND_CONFIGFILE does not exist
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-22 17:08:03 -04:00
Deluan
296259d781
feat(ui): show bitDepth in song info dialog
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-22 15:48:29 -04:00
Deluan
3f9d173495
fix(scanner): support ID3v2 embedded images in WAV files
...
Fix #3867
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-22 15:48:07 -04:00
Deluan
b386981b7f
fix(scanner): better log message when AutoImportPlaylists is disabled
...
Fix #3861
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-22 15:08:26 -04:00
Deluan Quintão
be7cb59dc5
fix(scanner): allow disabling splitting with the Tags config option ( #3869 )
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-22 12:34:35 -04:00
Nicolas Derive
63dc0e2062
fix(ui): update Français, reorder translation according to en.json template ( #3839 )
...
Update french translation and reorder the file the same way as the en.json template, making comparison easier.
2025-03-22 12:31:32 -04:00
Xabi
1e1dce92b6
fix(ui): update Basque translation ( #3864 )
...
* Update Basque localisation
added missing strings
* Update eu.json
2025-03-22 12:29:43 -04:00
Deluan
d78c6f6a04
fix(subsonic): ArtistID3 should contain list of AlbumID3
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-20 22:10:46 -04:00
Deluan Quintão
59ece40393
fix(server): better embedded artwork extraction with ffmpeg ( #3860 )
...
- `-map 0:v` selects all video streams from the input
- `-map -0:V` excludes all "main" video streams (capital V)
This combination effectively selects only the attached pictures
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-20 19:26:40 -04:00
Deluan
491210ac12
fix(scanner): ignore NaN ReplayGain values
...
Fix: https://github.com/navidrome/navidrome/issues/3858
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-20 12:42:09 -04:00
Deluan
cd552a55ef
fix(scanner): pass datafolder and cachefolder to scanner subprocess
...
Fix #3831
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-19 22:15:20 -04:00
Deluan
ee2c2b19e9
fix(dockerfile): remove the healthcheck, it gives more headaches than benefits.
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-19 20:18:56 -04:00
Deluan
0147bb5f12
chore(deps): upgrade viper to 1.20.0, add tests for the supported config formats
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-18 19:16:47 -04:00
Rob Emery
1ed8930107
fix(msi): don't override custom ini config ( #3836 )
...
Previously addLine would add-or-update, resulting in the custom settings being overriden on upgrade. createLine will only add to the ini if the key doesn't already exist.
2025-03-18 18:23:04 -04:00
Deluan
e457f21306
chore(server): show square flag in resize artwork logs
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-18 12:43:52 -04:00
Deluan Quintão
b04647309f
chore(deps): upgrade to Go 1.24.1 ( #3851 )
...
* chore(deps): upgrade to Go 1.24.1
Signed-off-by: Deluan <deluan@navidrome.org >
* chore(deps): add reflex as go.mod tool
Signed-off-by: Deluan <deluan@navidrome.org >
* chore(deps): add wire as go.mod tool
Signed-off-by: Deluan <deluan@navidrome.org >
* chore(deps): add goimports as go.mod tool
Signed-off-by: Deluan <deluan@navidrome.org >
* chore(deps): add ginkgo as go.mod tool
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-17 21:08:10 -04:00
Deluan Quintão
2adb098f32
fix(scanner): fix displayArtist logic ( #3835 )
...
* fix displayArtist logic
Signed-off-by: Deluan <deluan@navidrome.org >
* remove unneeded value
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor
Signed-off-by: Deluan <deluan@navidrome.org >
* Use first albumartist if it cannot figure out the display name
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-17 19:21:33 -04:00
Kendall Garner
212887214c
fix(ui): minor icon inconsistencies and "no missing files" translation ( #3837 )
...
* chore(ui): Fix minor inconsistencies
1. The icons in the user menu are a mix of MUI and react-icons. Move them all to react-icons, and use a standard size (24px)
2. On missing files page, provide a custom Empty component that just removes 'yet'
* use RA's builtin support for custom empty message
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
2025-03-16 19:39:19 -04:00
Deluan Quintão
beb768cd9c
feat(server): add Role filters to albums ( #3829 )
...
* navidrome artist filtering
* address discord feedback
* perPage min 36
* various artist artist_id -> albumartist_id
* artist_id, role_id separate
* remove all ui changes I guess
* Add tests, check for possible SQL injection
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com >
2025-03-14 21:43:52 -04:00
Kendall Garner
ed1109ddb2
fix(subsonic): fix albumCount in artists ( #3827 )
...
* only do subsonic instead
* make sure to actually populate response first
* navidrome artist filtering
* address discord feedback
* perPage min 36
* various artist artist_id -> albumartist_id
* artist_id, role_id separate
* remove all ui changes I guess
* Revert role filters
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
2025-03-14 21:21:03 -04:00
Deluan
98808e4b6d
docs(scanner): clarifies the purpose of the mappings.yaml file for regular users
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-14 19:32:26 -04:00
Deluan
422ba2284e
chore(scanner): add logs to .ndignore processing
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-14 17:44:11 -04:00
Kendall Garner
938c3d44cc
fix(scanner): restore setsubtitle as discsubtitle for non-WMA ( #3821 )
...
With old metadata, Disc Subtitle was one of `tsst`, `discsubtitle`, or `setsubtitle`.
With the updated, `setsubtitle` is only available for flac.
Update `mappings.yaml` to maintain prior behavior.
2025-03-14 07:01:07 -04:00
Deluan
2838ac36df
feat(scanner): allow disabling tags with Tags.<tag>.Ignore=true
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-13 19:55:30 -04:00
Deluan
b952672877
fix(scanner): add back the Scanner.GenreSeparators as a deprecated option
...
This allows easy upgrade of containers in PikaPods
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-13 19:25:07 -04:00
Deluan Quintão
5c0b6fb9b7
fix(server): skip non-UTF encoding during the database migration. ( #3803 )
...
Fix #3787
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-13 07:10:45 -04:00
Deluan
5fb1db6031
fix(scanner): watcher not working with relative MusicFolder
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-12 18:13:22 -04:00
Deluan
226be78bf5
fix(scanner): full_text not being updated on scan
...
Fixes #3813
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-12 17:51:36 -04:00
Deluan
7c13878075
fix(subsonic): getRandomSongs with genre filter
...
fix https://github.com/dweymouth/supersonic/issues/577
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-12 17:35:06 -04:00
Rodrigo Iglesias
0bb4b881e9
fix(ui): update Español translation ( #3805 )
...
Corrected "aletorio" and added some more translations
2025-03-11 20:42:09 -04:00
Deluan Quintão
70f536e04d
fix(ui): skip missing files in bulk operations ( #3807 )
...
* fix(ui): skip missing files when adding to playqueue
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(ui): skip missing files when adding to playlists
* fix(ui): skip missing files when shuffling songs
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-11 20:19:46 -04:00
Deluan Quintão
2a15a217de
fix(server): db migration does not work for MusicFolders ending with a trailing slash. ( #3797 )
...
* fix(server): db migration was not working for MusicFolders ending with a trailing slash.
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(server): db migration for relative paths
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-11 10:09:09 -04:00
Kendall Garner
a28462a7ab
fix(ui): fix make dev ( #3795 )
...
1. For some bizarre reason, importing inflection by itself is undefined. But you can import specific functions
2. Per https://github.com/vite-pwa/vite-plugin-pwa/issues/419 , `type: 'module',` is only for non-chromium browsers
2025-03-10 14:50:16 -04:00
Deluan
5c67297dce
fix(server): panic when logging tag type. Fix #3790
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-10 07:14:17 -04:00
Deluan Quintão
365df5220b
fix(server): db migration not working when MusicFolder is a relative path ( #3766 )
...
* fix(server): db migration not working when MusicFolder is a relative path
Signed-off-by: Deluan <deluan@navidrome.org >
* remove todo
Signed-off-by: Deluan <deluan@navidrome.org >
* fix migration of paths in Windows
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-09 19:14:29 -04:00
Deluan Quintão
b2b5c00331
fix(ui): update Finnish, Hungarian, Russian, Ukrainian translations from POEditor ( #3780 )
...
Co-authored-by: navidrome-bot <navidrome-bot@navidrome.org >
2025-03-09 18:22:20 -04:00
Deluan
ee18489b85
fix(subsonic): don't return empty disctitles for a single disc album
...
See https://support.symfonium.app/t/hide-disc-header-for-albums-with-only-1-disc/6877/1
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-09 17:22:41 -04:00
Deluan
57d3be8604
feat(subsonic): rename AppendSubtitle conf to Subsonic.AppendSubtitle, for consistency
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-08 19:02:29 -05:00
Deluan
0d42b9a4a5
chore(deps): bump more JS dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-07 20:07:15 -05:00
Deluan
a1a6047c37
chore(deps): bump Vite version
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-07 19:59:35 -05:00
Deluan
2171c44503
chore(deps): bump JS dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-07 19:47:08 -05:00
Deluan
fac01ccecb
chore(deps): bump Go dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-07 19:36:46 -05:00
Deluan
98a6819390
fix(ui): disable bulk action buttons if transcoding edit is disabled
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-07 18:01:49 -05:00
Deluan
4156602158
build(ci): show English names for changed languages in POEditor PRs
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-07 12:12:44 -05:00
Deluan
21a5528f5e
feat(server): deprecate Scanner.GroupAlbumReleases config option
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-06 23:57:47 -05:00
Deluan
31e003e6f3
feat(ui): use webp for login backgrounds
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-06 23:32:52 -05:00
ChekeredList71
e467e32c06
fix(ui): updated Hungarian translation for BFR ( #3773 )
...
* Hungarian translation for v0.54.1 done
* Hungarian translation for v0.54.1 done
* Updated Hugarian translation
* Updated Hugarian translation
---------
Co-authored-by: ChekeredList71 <null@example.com >
Co-authored-by: ChekeredList71 <ads@asd.com >
2025-03-06 22:41:45 -05:00
Kendall Garner
36ed880e61
fix(scanner): always refresh folder image time when adding first image ( #3764 )
...
* fix(scanner): Always refresh folder image time when adding first image
Currently, the `images_updated_at` field is only set to the image modification time.
However, in cases where a new image is added _and_ said image is older than the folder mod time, the field is not updated properly.
In this the case where `images_updated_at` is null (no images were ever added) and a new images is found, use the folder modification time instead of image modification time.
**Note**, this doesn't handle cases such as replacing a newer image with an older one.
* simplify image update at
* we don't want to set imagesUpdatedAt when there's no images in the folder
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
2025-03-06 22:16:37 -05:00
Deluan
1c192d8a6d
fix(ui): replace bulk "delete" label with "remove" in playlists
...
Fix #3525
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-06 07:54:59 -05:00
Kendall Garner
5869f7caaf
feat(subsonic): set sortName for OS AlbumList ( #3776 )
...
* feat(subsonic): Set SortName for OS AlbumList, test to JSON/XML
* albumlist2, star2 updated properly
* fix(subsonic): add sort or order name based on config
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
2025-03-05 22:52:15 -05:00
Deluan
8732fc7226
fix(server): change log level for some unimportant messages
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-05 20:54:06 -05:00
Deluan
0372339e1b
fix(server): only build core.Agents once
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-05 14:18:27 -08:00
Deluan
a04167672c
fix(server): remove misleading "Agent not available" warning.
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-05 14:11:44 -08:00
Deluan
dc4e091622
feat(server): make appending subtitle to song title configurable
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-05 12:36:09 -08:00
Deluan
8ab2a11d22
feat(server): group Subsonic config options together
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-03-05 12:29:30 -08:00
Deluan
637c909e93
feat(server): removed GenreSeparator, replaced with Tag.Genre.Split
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-28 15:36:21 -10:00
Deluan
453873fa26
feat(insights): send scanner options
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-28 15:36:21 -10:00
Deluan
de37e0f720
feat(server): rename ScanSchedule conf to Scanner.Schedule, for consistency
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-28 15:36:21 -10:00
Deluan
f3cb85cb0d
feat(server): warn users of ffmpeg extractor that it is not available anymore
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-28 12:39:30 -08:00
Deluan Quintão
0c4c223127
fix(server): import absolute paths in m3u ( #3756 )
...
* fix(server): import playlists with absolute paths
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(server): optimize playlist import
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(server): add test with multiple libraries
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(server): refactor
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-26 22:26:38 -05:00
Deluan Quintão
3892f70c35
fix(ui): update Deutsch, Español, Euskara, Galego, Bahasa Indonesia, 日本語, Português, Pусский, Türkçe translations from POEditor ( #3681 )
...
Co-authored-by: navidrome-bot <navidrome-bot@navidrome.org >
2025-02-26 22:20:48 -05:00
Deluan Quintão
1468a56808
fix(server): reduce SQLite "database busy" errors ( #3760 )
...
* fix(scanner): remove transactions where they are not strictly needed
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(server): force setStar transaction to start as IMMEDIATE
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(server): encapsulated way to upgrade tx to write mode
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(server): use tx immediate for some playlist endpoints
Signed-off-by: Deluan <deluan@navidrome.org >
* make more transactions immediate (#3759 )
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com >
2025-02-26 22:01:49 -05:00
Deluan
d6ec52b9d4
fix(subsonic): check errors before setting headers for getCoverArt
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-25 08:22:38 -05:00
Deluan
5fa19f9cfa
chore(server): add logs to begin/end transaction
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-24 19:13:42 -05:00
Deluan
15a3d2ca66
fix(server): disallow search engine crawlers in robots.txt
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-23 22:01:01 -05:00
Kendall Garner
efab198d4a
test(server): validate play tracker participants, scrobble buffer ( #3752 )
...
* test(server): validate play tracker participants, scrobble buffer
* tests(server): nit: remove duplicated tests and small cleanups
Signed-off-by: Deluan <deluan@navidrome.org >
* tests(server): nit: replace panics with assertions
Signed-off-by: Deluan <deluan@navidrome.org >
* just use random ids, and store it instead
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
2025-02-23 21:52:51 -05:00
Deluan
5ad9f546b2
fix(server): role filters in Smart Playlists.
...
See https://github.com/navidrome/navidrome/discussions/3676#discussioncomment-12286960
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-23 14:08:53 -05:00
Deluan
20297c2aea
fix(server): send artist mbids when scrobbling to ListenBrainz
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-23 13:30:39 -05:00
Kendall Garner
f6eee65955
feat(ui): Show performer subrole(s) where possible ( #3747 )
...
* feat(ui): Show performer subrole(s) where possible
* nit: simplify subrole formatting
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
2025-02-22 12:05:19 -05:00
Kendall Garner
aee19e747c
feat(ui): Improve Artist Album pagination ( #3748 )
...
* feat(ui): Improve Artist Album pagination
- use maximum of albumartist/artist credits for determining pagination
- reduce default maxPerPage considerably. This gives values of 36/72/108 at largest size
* enable pagination when over 90
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
2025-02-22 09:31:20 -05:00
Deluan
f34f15ba1c
feat(ui): make need for refresh more visible when upgrading server
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-21 18:15:25 -05:00
Deluan
74348a340f
feat(server): new option to set the default for ReportRealPath on new players
...
Implements #3653
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-20 22:24:09 -05:00
Deluan
09ae41a2da
sec(subsonic): authentication bypass in Subsonic API with non-existent username
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-20 20:14:19 -05:00
Deluan
70487a09f4
fix(ui): paginate albums in artist page when needed
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-20 19:21:01 -05:00
Deluan
d4147c2330
fix(scanner): improve refresh artists stats query
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-20 14:55:45 -05:00
Deluan
dd4802c0c6
fix(ui): remove unused term
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-19 22:38:09 -05:00
Deluan
efed7f1b40
chore(deps): bump go dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-02-19 21:15:35 -05:00
Xabi
6cc95d53a9
fix(ui): update Basque translation ( #3666 )
2025-02-19 21:01:27 -05:00
Deluan Quintão
c795bcfcf7
feat(bfr): Big Refactor: new scanner, lots of new fields and tags, improvements and DB schema changes ( #2709 )
...
* fix(server): more race conditions when updating artist/album from external sources
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(scanner): add .gitignore syntax to .ndignore. Resolves #1394
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(ui): null
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(scanner): pass configfile option to child process
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(scanner): resume interrupted fullScans
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(scanner): remove old scanner code
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(scanner): rename old metadata package
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(scanner): move old metadata package
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: tests
Signed-off-by: Deluan <deluan@navidrome.org >
* chore(deps): update Go to 1.23.4
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: logs
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(test):
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: log level
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: remove log message
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: add config for scanner watcher
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: children playlists
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: replace `interface{}` with `any`
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: smart playlists with genres
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: allow any tags in smart playlists
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: artist names in playlists
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: smart playlist's sort by tags
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add moods to child
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add moods to AlbumID3
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor(subsonic): use generic JSONArray for OS arrays
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor(subsonic): use https in test
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add releaseTypes to AlbumID3
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add recordLabels to AlbumID3
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor(subsonic): rename JSONArray to Array
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add artists to AlbumID3
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add artists to Child
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(scanner): do not pre-populate smart playlists
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): implement a simplified version of ArtistID3.
See https://github.com/opensubsonic/open-subsonic-api/discussions/120
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add artists to album child
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add contributors to mediafile Child
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add albumArtists to mediafile Child
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add displayArtist and displayAlbumArtist
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add displayComposer to Child
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add roles to ArtistID3
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(subsonic): use " • " separator for displayComposer
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor:
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(subsonic):
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(subsonic): respect `PreferSortTags` config option
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor(subsonic):
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: optimize purging non-unused tags
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: don't run 'refresh artist stats' concurrently with other transactions
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor:
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: log message
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: add Scanner.ScanOnStartup config option, default true
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: better json parsing error msg when importing NSPs
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: don't update album's imported_time when updating external_metadata
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: handle interrupted scans and full scans after migrations
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: run `analyze` when migration requires a full rescan
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: run `PRAGMA optimize` at the end of the scan
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: don't update artist's updated_at when updating external_metadata
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: handle multiple artists and roles in smart playlists
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(ui): dim missing tracks
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: album missing logic
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: error encoding in gob
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: separate warnings from errors
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: mark albums as missing if they were contained in a deleted folder
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: add participant names to media_file and album tables
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: use participations in criteria, instead of m2m relationship
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: rename participations to participants
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add moods to album child
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: albumartist role case
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(scanner): run scanner as an external process by default
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(ui): show albumArtist names
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(ui): dim out missing albums
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: flaky test
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(server): scrobble buffer mapping. fix #3583
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: more participations renaming
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: listenbrainz scrobbling
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: send release_group_mbid to listenbrainz
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): implement OpenSubsonic explicitStatus field (#3597 )
* feat: implement OpenSubsonic explicitStatus field
* fix(subsonic): fix failing snapshot tests
* refactor: create helper for setting explicitStatus
* fix: store smaller values for explicit-status on database
* test: ToAlbum explicitStatus
* refactor: rename explicitStatus helper function
---------
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
* fix: handle album and track tags in the DB based on the mappings.yaml file
Signed-off-by: Deluan <deluan@navidrome.org >
* save similar artists as JSONB
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: getAlbumList byGenre
Signed-off-by: Deluan <deluan@navidrome.org >
* detect changes in PID configuration
Signed-off-by: Deluan <deluan@navidrome.org >
* set default album PID to legacy_pid
Signed-off-by: Deluan <deluan@navidrome.org >
* fix tests
Signed-off-by: Deluan <deluan@navidrome.org >
* fix SIGSEGV
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: don't lose album stars/ratings when migrating
Signed-off-by: Deluan <deluan@navidrome.org >
* store full PID conf in properties
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: keep album annotations when changing PID.Album config
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: reassign album annotations
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: use (display) albumArtist and add links to each artist
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: not showing albums by albumartist
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: error msgs
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: hide PID from Native API
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: album cover art resolution
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: trim participant names
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: reduce watcher log spam
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: panic when initializing the watcher
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: various artists
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: don't store empty lyrics in the DB
Signed-off-by: Deluan <deluan@navidrome.org >
* remove unused methods
Signed-off-by: Deluan <deluan@navidrome.org >
* drop full_text indexes, as they are not being used by SQLite
Signed-off-by: Deluan <deluan@navidrome.org >
* keep album created_at when upgrading
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(ui): null pointer
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: album artwork cache
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: don't expose missing files in Subsonic API
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: searchable interface
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: filter out missing items from subsonic search
* fix: filter out missing items from playlists
* fix: filter out missing items from shares
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(ui): add filter by artist role
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): only return albumartists in getIndexes and getArtists endpoints
Signed-off-by: Deluan <deluan@navidrome.org >
* sort roles alphabetically
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: artist playcounts
Signed-off-by: Deluan <deluan@navidrome.org >
* change default Album PID conf
Signed-off-by: Deluan <deluan@navidrome.org >
* fix albumartist link when it does not match any albumartists values
Signed-off-by: Deluan <deluan@navidrome.org >
* fix `Ignoring filter not whitelisted` (role) message
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: trim any names/titles being imported
Signed-off-by: Deluan <deluan@navidrome.org >
* remove unused genre code
Signed-off-by: Deluan <deluan@navidrome.org >
* serialize calls to Last.fm's getArtist
Signed-off-by: Deluan <deluan@navidrome.org >
xxx
Signed-off-by: Deluan <deluan@navidrome.org >
* add counters to genres
Signed-off-by: Deluan <deluan@navidrome.org >
* nit: fix migration `notice` message
Signed-off-by: Deluan <deluan@navidrome.org >
* optimize similar artists query
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: last.fm.getInfo when mbid does not exist
Signed-off-by: Deluan <deluan@navidrome.org >
* ui only show missing items for admins
Signed-off-by: Deluan <deluan@navidrome.org >
* don't allow interaction with missing items
Signed-off-by: Deluan <deluan@navidrome.org >
* Add Missing Files view (WIP)
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: merged tag_counts into tag table
Signed-off-by: Deluan <deluan@navidrome.org >
* add option to completely disable automatic scanner
Signed-off-by: Deluan <deluan@navidrome.org >
* add delete missing files functionality
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: playlists not showing for regular users
Signed-off-by: Deluan <deluan@navidrome.org >
* reduce updateLastAccess frequency to once every minute
Signed-off-by: Deluan <deluan@navidrome.org >
* reduce update player frequency to once every minute
Signed-off-by: Deluan <deluan@navidrome.org >
* add timeout when updating player
Signed-off-by: Deluan <deluan@navidrome.org >
* remove dead code
Signed-off-by: Deluan <deluan@navidrome.org >
* fix duplicated roles in stats
Signed-off-by: Deluan <deluan@navidrome.org >
* add `; ` to artist splitters
Signed-off-by: Deluan <deluan@navidrome.org >
* fix stats query
Signed-off-by: Deluan <deluan@navidrome.org >
* more logs
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: support legacy clients (DSub) by removing OpenSubsonic extra fields - WIP
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: support legacy clients (DSub) by removing OpenSubsonic extra fields - WIP
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: support legacy clients (DSub) by removing OpenSubsonic extra fields - WIP
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: support legacy clients (DSub) by removing OpenSubsonic extra fields - WIP
Signed-off-by: Deluan <deluan@navidrome.org >
* add record label filter
Signed-off-by: Deluan <deluan@navidrome.org >
* add release type filter
Signed-off-by: Deluan <deluan@navidrome.org >
* fix purgeUnused tags
Signed-off-by: Deluan <deluan@navidrome.org >
* add grouping filter to albums
Signed-off-by: Deluan <deluan@navidrome.org >
* allow any album tags to be used in as filters in the API
Signed-off-by: Deluan <deluan@navidrome.org >
* remove empty tags from album info
Signed-off-by: Deluan <deluan@navidrome.org >
* comments in the migration
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: Cannot read properties of undefined
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: listenbrainz scrobbling (#3640 )
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: remove duplicated tag values
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: don't ignore the taglib folder!
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: show track subtitle tag
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: show artists stats based on selected role
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: inspect
Signed-off-by: Deluan <deluan@navidrome.org >
* add media type to album info/filters
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: change format of subtitle in the UI
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: subtitle in Subsonic API and search
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: subtitle in UI's player
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: split strings should be case-insensitive
Signed-off-by: Deluan <deluan@navidrome.org >
* disable ScanSchedule
Signed-off-by: Deluan <deluan@navidrome.org >
* increase default sessiontimeout
Signed-off-by: Deluan <deluan@navidrome.org >
* add sqlite command line tool to docker image
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: resources override
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: album PID conf
Signed-off-by: Deluan <deluan@navidrome.org >
* change migration to mark current artists as albumArtists
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(ui): Allow filtering on multiple genres (#3679 )
* feat(ui): Allow filtering on multiple genres
Signed-off-by: Henrik Nordvik <henrikno@gmail.com >
Signed-off-by: Deluan <deluan@navidrome.org >
* add multi-genre filter in Album list
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Henrik Nordvik <henrikno@gmail.com >
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Henrik Nordvik <henrikno@gmail.com >
* add more multi-valued tag filters to Album and Song views
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(ui): unselect missing files after removing
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(ui): song filter
Signed-off-by: Deluan <deluan@navidrome.org >
* fix sharing tracks. fix #3687
Signed-off-by: Deluan <deluan@navidrome.org >
* use rowids when using search for sync (ex: Symfonium)
Signed-off-by: Deluan <deluan@navidrome.org >
* fix "Report Real Paths" option for subsonic clients
Signed-off-by: Deluan <deluan@navidrome.org >
* fix "Report Real Paths" option for subsonic clients for search
Signed-off-by: Deluan <deluan@navidrome.org >
* add libraryPath to Native API /songs endpoint
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(subsonic): add album version
Signed-off-by: Deluan <deluan@navidrome.org >
* made all tags lowercase as they are case-insensitive anyways.
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(ui): Show full paths, extended properties for album/song (#3691 )
* feat(ui): Show full paths, extended properties for album/song
- uses library path + os separator + path
- show participants (album/song) and tags (song)
- make album/participant clickable in show info
* add source to path
* fix pathSeparator in UI
Signed-off-by: Deluan <deluan@navidrome.org >
* fix local artist artwork (#3695 )
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: parse vorbis performers
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: clean function into smaller functions
Signed-off-by: Deluan <deluan@navidrome.org >
* fix translations for en and pt
Signed-off-by: Deluan <deluan@navidrome.org >
* add trace log to show annotations reassignment
Signed-off-by: Deluan <deluan@navidrome.org >
* add trace log to show annotations reassignment
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: allow performers without instrument/subrole
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: metadata clean function again
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: optimize split function
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: split function is now a method of TagConf
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: humanize Artist total size
Signed-off-by: Deluan <deluan@navidrome.org >
* add album version to album details
Signed-off-by: Deluan <deluan@navidrome.org >
* don't display album-level tags in SongInfo
Signed-off-by: Deluan <deluan@navidrome.org >
* fix genre clicking in Album Page
Signed-off-by: Deluan <deluan@navidrome.org >
* don't use mbids in Last.fm api calls.
From https://discord.com/channels/671335427726114836/704303730660737113/1337574018143879248 :
With MBID:
```
GET https://ws.audioscrobbler.com/2.0/?api_key=XXXX&artist=Van+Morrison&format=json&lang=en&mbid=a41ac10f-0a56-4672-9161-b83f9b223559&method=artist.getInfo
{
artist: {
name: "Bee Gees",
mbid: "bf0f7e29-dfe1-416c-b5c6-f9ebc19ea810",
url: "https://www.last.fm/music/Bee+Gees ",
}
```
Without MBID:
```
GET https://ws.audioscrobbler.com/2.0/?api_key=XXXX&artist=Van+Morrison&format=json&lang=en&method=artist.getInfo
{
artist: {
name: "Van Morrison",
mbid: "a41ac10f-0a56-4672-9161-b83f9b223559",
url: "https://www.last.fm/music/Van+Morrison ",
}
```
Signed-off-by: Deluan <deluan@navidrome.org >
* better logging for when the artist folder is not found
Signed-off-by: Deluan <deluan@navidrome.org >
* fix various issues with artist image resolution
Signed-off-by: Deluan <deluan@navidrome.org >
* hide "Additional Tags" header if there are none.
Signed-off-by: Deluan <deluan@navidrome.org >
* simplify tag rendering
Signed-off-by: Deluan <deluan@navidrome.org >
* enhance logging for artist folder detection
Signed-off-by: Deluan <deluan@navidrome.org >
* make folderID consistent for relative and absolute folderPaths
Signed-off-by: Deluan <deluan@navidrome.org >
* handle more folder paths scenarios
Signed-off-by: Deluan <deluan@navidrome.org >
* filter out other roles when SubsonicArtistParticipations = true
Signed-off-by: Deluan <deluan@navidrome.org >
* fix "Cannot read properties of undefined"
Signed-off-by: Deluan <deluan@navidrome.org >
* fix lyrics and comments being truncated (#3701 )
* fix lyrics and comments being truncated
* specifically test for lyrics and comment length
* reorder assertions
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
* fix(server): Expose library_path for playlist (#3705 )
Allows showing absolute path for UI, and makes "report real path" work for playlists (Subsonic)
* fix BFR on Windows (#3704 )
* fix potential reflected cross-site scripting vulnerability
Signed-off-by: Deluan <deluan@navidrome.org >
* hack to make it work on Windows
* ignore windows executables
* try fixing the pipeline
Signed-off-by: Deluan <deluan@navidrome.org >
* allow MusicFolder in other drives
* move windows local drive logic to local storage implementation
---------
Signed-off-by: Deluan <deluan@navidrome.org >
* increase pagination sizes for missing files
Signed-off-by: Deluan <deluan@navidrome.org >
* reduce level of "already scanning" watcher log message
Signed-off-by: Deluan <deluan@navidrome.org >
* only count folders with audio files in it
See https://github.com/navidrome/navidrome/discussions/3676#discussioncomment-11990930
Signed-off-by: Deluan <deluan@navidrome.org >
* add album version and catalog number to search
Signed-off-by: Deluan <deluan@navidrome.org >
* add `organization` alias for `recordlabel`
Signed-off-by: Deluan <deluan@navidrome.org >
* remove mbid from Last.fm agent
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: support inspect in ui (#3726 )
* inspect in ui
* address round 1
* add catalogNum to AlbumInfo
Signed-off-by: Deluan <deluan@navidrome.org >
* remove dependency on metadata_old (deprecated) package
Signed-off-by: Deluan <deluan@navidrome.org >
* add `RawTags` to model
Signed-off-by: Deluan <deluan@navidrome.org >
* support parsing MBIDs for roles (from the https://github.com/kgarner7/picard-all-mbids plugin) (#3698 )
* parse standard roles, vorbis/m4a work for now
* fix djmixer
* working roles, use DJ-mix
* add performers to file
* map mbids
* add a few more tests
* add test
Signed-off-by: Deluan <deluan@navidrome.org >
* try to simplify the performers logic
Signed-off-by: Deluan <deluan@navidrome.org >
* stylistic changes
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
* remove param mutation
Signed-off-by: Deluan <deluan@navidrome.org >
* run automated SQLite optimizations
Signed-off-by: Deluan <deluan@navidrome.org >
* fix playlists import/export on Windows
* fix import playlists
* fix export playlists
* better handling of Windows volumes
Signed-off-by: Deluan <deluan@navidrome.org >
* handle more album ID reassignments
Signed-off-by: Deluan <deluan@navidrome.org >
* allow adding/overriding tags in the config file
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(ui): Fix playlist track id, handle missing tracks better (#3734 )
- Use `mediaFileId` instead of `id` for playlist tracks
- Only fetch if the file is not missing
- If extractor fails to get the file, also error (rather than panic)
* optimize DB after each scan.
Signed-off-by: Deluan <deluan@navidrome.org >
* remove sortable from AlbumSongs columns
Signed-off-by: Deluan <deluan@navidrome.org >
* simplify query to get missing tracks
Signed-off-by: Deluan <deluan@navidrome.org >
* mark Scanner.Extractor as deprecated
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Signed-off-by: Henrik Nordvik <henrikno@gmail.com >
Co-authored-by: Caio Cotts <caio@cotts.com.br >
Co-authored-by: Henrik Nordvik <henrikno@gmail.com >
Co-authored-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com >
2025-02-19 20:35:17 -05:00
RTapeLoadingError
46a963a02a
fix(ui): update Spanish translation ( #3682 )
...
Disambiguation for:
"recentlyAdded": "Añadidos recientemente",
"recentlyPlayed": "Reproducidos recientemente"
They share the same label: "Recientes".
2025-02-01 13:07:41 -05:00
Matvei Stefarov
195ae56001
fix(ui) Update Russian translation ( #3678 )
...
* fix(ui): Update Russian translations
- Adds missing strings added in the past couple releases
- Fixes a few confusing translations in the "share" section
* Add missing comma
2025-01-30 20:17:16 -05:00
Deluan Quintão
f9db449e7e
fix(ui): update ไทย translations from POEditor ( #3662 )
...
Co-authored-by: navidrome-bot <navidrome-bot@navidrome.org >
2025-01-24 18:11:54 -05:00
Deluan
657fe11f53
fix: remove Access-Control-Allow-Origin. closes #3660
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-01-22 18:24:11 -05:00
Deluan Quintão
47e3fdb1b8
fix(server): do not try to validate credentials if the request is canceled ( #3650 )
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-01-16 20:32:11 -05:00
Deluan Quintão
c37583fa9f
feat(server): create M3Us from shares ( #3652 )
2025-01-16 20:26:16 -05:00
Deluan
9d86f63f15
fix(server): add logs to public image endpoint
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-01-15 08:47:47 -05:00
Deluan Quintão
73ccfbd839
fix(ui): update Türkçe translations from POEditor ( #3636 )
...
Co-authored-by: navidrome-bot <navidrome-bot@navidrome.org >
2025-01-13 18:07:45 -05:00
Kendall Garner
920fd53e58
fix(ui): remove index.html from service worker cache after creating admin user ( #3642 )
2025-01-12 18:32:02 -05:00
Kendall Garner
3179966270
fix(metrics): write system metrics on start ( #3641 )
...
* fix(metrics): write system metrics on start
* add broken basic auth test
* refactor: simplify Prometheus instantiation
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: basic authentication
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: move magic strings to constants
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: simplify prometheus http handler
Signed-off-by: Deluan <deluan@navidrome.org >
* add artist metadata to aggregrate sql
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
2025-01-11 21:02:36 -05:00
Deluan
537e2fc033
chore(deps): bump go dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-01-09 22:27:59 -05:00
ChekeredList71
f1478d40f5
fix(ui): fix for typo in hu.json ( #3635 )
...
* Hungarian translation for v0.54.1 done
* Hungarian translation for v0.54.1 done
* Fix typo in hu.json
`metrikákat` was mistyped as `metrikükat`
---------
Co-authored-by: ChekeredList71 <null@example.com >
2025-01-09 18:30:53 -05:00
Deluan
beff1afad7
fix(subsonic): make Share's lastVisited optional
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-01-09 16:10:53 -05:00
Deluan
ba2623e3f1
feat(server): add more logs to backup
...
Signed-off-by: Deluan <deluan@navidrome.org >
2025-01-09 13:25:07 -05:00
Kendall Garner
d60e83176c
feat(cli): support getting playlists via cli ( #3634 )
...
* feat(cli): support getting playlists via cli
* address initial nit
* use csv writer and csv instead
2025-01-09 12:01:37 -05:00
Deluan
acce3c97d5
fix(release): make binaries executable before packaging
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-29 23:43:57 -03:00
Deluan Quintão
734eb30ac5
fix(ui): update Suomi, Polski, Türkçe translations from POEditor ( #3592 )
...
Co-authored-by: navidrome-bot <navidrome-bot@navidrome.org >
2024-12-28 20:58:08 -05:00
Deluan
1eedee9086
fix(insights): add more linux fs types
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-27 12:13:15 -05:00
Kendall Garner
51eed74a0e
fix(release): change owner of cache to Navidrome user ( #3599 )
2024-12-26 22:13:13 -05:00
Deluan
3942275689
chore(deps): bump github.com/andybalholm/cascadia from 1.3.2 to 1.3.3
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-25 17:49:42 -05:00
Deluan
98b038c1fb
chore(deps): upgrade golang.org/x/net (CVE-2024-45338)
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-25 17:16:05 -05:00
Kendall Garner
f0302525a7
fix(server): use cancellable context instead of Sleep for initial insights delay ( #3593 )
...
* bugfix(server): use cancellable contet instead of sleep for initial insights delay
* fix(server): initial delay time
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: Deluan <deluan@navidrome.org >
2024-12-24 17:35:19 -05:00
Deluan Quintão
0299e488b5
fix(server): backup and restore issues from the cli ( #3579 )
...
* fix(server): backup not working from cli
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(server): make backup-file required for restore
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-22 16:41:40 -05:00
whorfin
630c304080
fix(server): typo in backup prune message ( #3582 )
...
probably a copypasta oops
2024-12-22 16:38:59 -05:00
Deluan
0bebd396df
build(ci): use the head commit sha in PR versions
...
Ref: https://stackoverflow.com/a/68068674
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-21 20:21:13 -05:00
Deluan
0b18489327
build(poeditor): change commit message for translation update PRs
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-21 17:54:20 -05:00
Deluan Quintão
8880f67035
fix(ui): update Español, Français, Svenska translations from POEditor ( #3576 )
...
Co-authored-by: navidrome-bot <navidrome-bot@navidrome.org >
2024-12-21 17:52:10 -05:00
Deluan
99dfb832eb
fix(insights): get Windows version
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-21 14:54:14 -05:00
Deluan
51c16aa69f
chore: add PikaPods to release notes
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-21 14:39:34 -05:00
ChekeredList71
972229d1e8
fix(ui): update Hungarian translation ( #3574 )
...
* Hungarian translation for v0.54.1 done
* Hungarian translation for v0.54.1 done
---------
Co-authored-by: ChekeredList71 <null@example.com >
2024-12-21 14:26:22 -05:00
Deluan
c8f174ea84
fix(server): change log level for some last.fm warnings
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-21 13:39:39 -05:00
Deluan Quintão
d4dc8180a2
build(ci): fix release version label and package names ( #3573 )
...
* fix(ci): fix snapshot label
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(ci): fix package names
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-21 13:36:22 -05:00
Deluan Quintão
851f54ea57
fix(ci): fix linux packages upload ( #3569 )
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-20 23:38:28 -05:00
Deluan Quintão
72a0f59be3
fix(ui): update translations from POEditor ( #3568 )
...
Co-authored-by: navidrome-bot <navidrome-bot@navidrome.org >
2024-12-20 18:48:22 -05:00
Deluan Quintão
c11fd9ce28
feat(ci): add updated language names to the POEditor PR title ( #3566 )
...
* refactor(ci): add updated languages to the POEditor PR title
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor(ci): add an author to the PR
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-20 18:46:00 -05:00
Deluan
3e47819f7a
fix(server): reduce album placeholder image size by converting it to webp
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-19 18:42:31 -05:00
Deluan
906ac635c2
fix(insights): check if running in a container
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-19 18:05:33 -05:00
Deluan
6bc4c0317f
fix(insights): better status
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-19 17:21:08 -05:00
Deluan
04f296cc73
fix(ui): show last.fm api-key missing in a FormHelperText
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-19 16:59:26 -05:00
Dany Marcoux
21dd04cb7d
docs: set org.opencontainers.image.source label in Dockerfile ( #3564 )
...
As documented in the OCI Image Format,
org.opencontainers.image.source[1] identifies an image's source
repository. This is purely for documentation purposes. It does however
help tools such as Renovate[2] to find the changelogs when a new
Navidrome version is released. The changelogs would then be included in
the PR Renovate creates.
[1]: 5325ec4885/annotations.md (L24)
[2]: https://docs.renovatebot.com/modules/datasource/docker/#description
Signed-off-by: Dany Marcoux <git@dmarcoux.com >
2024-12-19 16:56:33 -05:00
Deluan Quintão
2d8507cfd7
fix(ui): don't hide Last.fm scrobble switch ( #3561 )
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-19 09:08:28 -05:00
Deluan Quintão
6c11649b06
fix(insights): fix issues and improve reports ( #3558 )
...
* fix(insights): show error whn reading library counts
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): wait 30 mins before send first report
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): send number of active players, grouped by client type
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): disable reports when running in dev mode
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): add Dockerfile to the docker build, to avoid `vcs.modified=true`
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): add more linux fs types
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): need admin permissions to retrieve library counts
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): dev flag to disable player insights
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-18 20:37:35 -05:00
Caio Cotts
4f8cd5307c
fix(ui): fix play queue for play button and context menus ( #3559 )
2024-12-18 17:57:42 -05:00
York
32afe9698c
fix(ui): completed the translation of zh-Hant and zh-Hans ( #3450 )
...
* Completed the translation of zh-Hant and zh-Hans
* Update translation terms in zh-Hans and zh-Hant files
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2024-12-17 17:56:27 -05:00
Deluan Quintão
3e7c4b6f70
fix(ui): update Turkish, Galician and Polish translations from POEditor ( #3426 )
...
Co-authored-by: deluan <331353+deluan@users.noreply.github.com >
2024-12-17 17:48:02 -05:00
qx100
dcc84e29d9
fix(ui): Update Chinese (simplified) Translation ( #3490 )
2024-12-17 17:45:53 -05:00
Xabi
0d520dea2d
fix(ui): update Basque ( #3542 )
...
* fix(ui): update eu.json
Added:
- lastAccessAt
Updated:
- lastLoginAt
* fix(ui): update eu.json
Updated:
- logout
2024-12-17 17:44:38 -05:00
Deluan
2bb918f8a1
chore(deps): bump Go dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-17 17:41:57 -05:00
Deluan Quintão
8e2052ff95
feat(Insights): add anonymous usage data collection ( #3543 )
...
* feat(insights): initial code (WIP)
* feat(insights): add more info
* feat(insights): add fs info
* feat(insights): export insights.Data
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(insights): more config info
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor(insights): move data struct to its own package
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor(insights): omit some attrs if empty
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(insights): send insights to server, add option to disable
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): remove info about anonymous login
Signed-off-by: Deluan <deluan@navidrome.org >
* chore(insights): fix lint
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): disable collector if EnableExternalServices is false
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): fix type casting for 32bit platforms
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): remove EnableExternalServices from the collection (as it will always be false)
Signed-off-by: Deluan <deluan@navidrome.org >
* chore(insights): fix lint
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor(insights): rename function for consistency
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(insights): log the data sent to the collector server
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(insights): add last collection timestamp to the "about" dialog.
Also add opt-out info to the SignUp form
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(insights): only sends the initial data collection after an admin user is created
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(insights): remove dangling comment
Signed-off-by: Deluan <deluan@navidrome.org >
* feat(insights): Translate insights messages
Signed-off-by: Deluan <deluan@navidrome.org >
* fix(insights): reporting empty library
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: move URL to consts.js
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-17 17:10:55 -05:00
Deluan
bc3576e092
chore(deps): bump prettier
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-10 11:17:30 -05:00
Deluan
44bc70b269
chore(deps): bump JS dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-10 11:14:21 -05:00
Deluan
297f72ff1a
chore(deps): bump Alpine version
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-09 16:54:11 -05:00
Deluan
181c29613f
chore(deps): bump Go dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-09 16:50:52 -05:00
Kendall Garner
1a36f06147
fix(ui): service worker crashing on precacheAndRoute ( #3528 )
2024-12-08 17:43:34 -05:00
Deluan
9cbdb20a31
fix(server): don't try to save JWT if it fails to encrypt
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-05 22:19:39 -05:00
Deluan
7f030b0859
fix(server): encrypt jwt secret at rest
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-05 21:52:15 -05:00
Deluan
177a1f853f
fix(server): more race conditions when updating artist/album from external sources
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-04 17:34:26 -05:00
Deluan
627417dae3
fix(server): add disc number to fake path.
...
Also revert "feat(server): enable "Report Real Path" by default"
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-02 09:35:39 -05:00
Deluan
2b0bfbd75a
fix(server): race condition when updating artist/album from external sources
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-01 20:16:40 -05:00
Deluan
8fb09e71b6
feat(server): get artist images from Last.fm
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-01 17:31:18 -05:00
Deluan
c94def801e
feat(server): enable "Report Real Path" by default
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-12-01 17:02:15 -05:00
Deluan Quintão
cbf5e3d51b
fix(ui): PWA not updating properly in new Vite config ( #3493 )
...
* fix: pwa not updating. use the custom code we had before
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: docker build
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-30 10:33:16 -05:00
Deluan
1c0ebb9460
chore(deps): bump JS dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-25 17:41:23 -05:00
Deluan
94bc1a1d41
chore(deps): bump Go dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-25 17:31:53 -05:00
Kursat Aktas
9ae898d071
feat: add Navidrome Guru on Gurubase.io ( #3491 )
...
Signed-off-by: Kursat Aktas <kursat.ce@gmail.com >
2024-11-23 17:29:00 -05:00
Deluan
054946dc42
chore: update sanitize with updated diacritics
...
See https://github.com/navidrome/navidrome/issues/255#issuecomment-2488595427
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-20 11:31:13 -05:00
Deluan
ccce1c0f6d
fix: pre-cache square images, or else they are not useful for the Album Grid
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-19 18:41:50 -05:00
Deluan
81edef925c
refactor: when resizing, don't buffer the original image "just in case"
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-19 18:41:50 -05:00
Deluan
2d4f483812
refactor: remove unnecessary intermediate buffer for ffmpeg image extraction
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-19 18:41:50 -05:00
Deluan
d229ff39e5
refactor: reduce GC pressure by pre-allocating slices
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-19 18:41:50 -05:00
Deluan
3982ba7258
revert: separation of write and read DBs
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-19 18:41:50 -05:00
Deluan
1bf94531fd
refactor: better implementation of newRefreshQueue.
...
- use pointer references in channel
- actually exits when context is canceled
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-19 18:07:03 -05:00
Deluan
6c38dc234f
refactor: change toSQL to use ReplaceAllStringFunc, to cause less static allocations
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-18 14:07:41 +02:00
Deluan
c1adf407a1
refactor: load translations with sync.OnceValues
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-18 14:07:31 +02:00
Deluan
c952dc343a
chore(deps): bump JS dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-11 13:47:01 -05:00
Deluan
3671598121
chore(deps): bump Go dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-11 13:30:09 -05:00
Deluan Quintão
cd0cf7c12b
feat: cache login background images ( #3462 )
...
* feat: use direct links to unsplash for background images
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: cache images from unsplash
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: use cache.HTTPClient to reduce complexity
Signed-off-by: Deluan <deluan@navidrome.org >
* refactor: remove magic numbers
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-08 20:23:30 -05:00
Deluan Quintão
6c6223f2f9
fix: forcing transcoding when client does not specify transcoding options ( #3455 )
...
* fix: wip
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: revert #3227
It is not respecting the server configured transcoding for the player
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-05 20:39:05 -05:00
Deluan
6ff7ab52f4
chore(deps): bump JS dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-04 12:27:55 -05:00
Deluan
faed2ea8d7
chore(deps): bump Go dependencies
...
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-04 12:26:39 -05:00
Deluan
cf69df877a
chore(deps): bump js dependencies
2024-10-28 22:07:36 -04:00
Deluan
075a7e2640
chore(deps): bump go dependencies
2024-10-28 22:02:52 -04:00
Deluan Quintão
3fda7445b0
fix(server): try to find proper embedded front cover - only for vorbis comments for now ( #3348 )
...
* fix(artwork): get the first image from vorbis comments, not the last. fixes #3254
This uses a fork for now.
* fix(artwork): prioritize getting embedded types that are listed as "front" covers
* fix: cleanup
2024-10-27 21:59:22 -04:00
Deluan Quintão
fcb5e1b806
fix(server): fix case-insensitive sort order and add indexes to improve performance ( #3425 )
...
* refactor(server): better sort mappings
* refactor(server): simplify GetIndex
* fix: recreate tables and indexes using proper collation
Also add tests to ensure proper collation
* chore: remove unused method
* fix: sort expressions
* fix: lint errors
* fix: cleanup
2024-10-26 14:06:34 -04:00
Kendall Garner
154e13f7c9
build: add packages for deb and rpm to release ( #3202 )
...
* support packing deb/rpm/archlinux
* .-.
* initial test
* fix postinstall, remove execstop
* bash -> sh, create toml manually if it doesn't exist (thanks debian)
* don't forget that newline
* postrm
* comments, contrib -> packaging/linux
* contrib > packaging in .goreleaser
* actually add toml
* openrc/sysv templates
* add apk. nothing else yet
* wait, we have a ntive uninstall
* fix: merge errors, move packaging to release
* chore: remove old goreleaser conf
* ci: remove `release` dependency on `docker push`
* ci: fix release version
* ci: upload packages
* ci: try to fix json file list
* ci: replace the json file list with a txt artifact
* postremove -> preremove, skip install/remove error
* actually do preremove
* better preremove
* ci: fix
* ci: fix?
* ci: clean-up
* ci: try to change labels and filenames
* ci: fix?
* ci: fix?
* ci: add `make package` target
* ci: make labels more readable
hope it doesn't break the pipeline again
* build: remove alpine and archlinux packages, for now.
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2024-10-26 13:31:45 -04:00
Deluan Quintão
69e2a6d620
build(netgo): make sure the project is always compiled with netgo build tag ( #3428 )
...
* build(netgo): make sure the project is always compiled with `netgo` build tag
* docs(netgo): better comments
2024-10-26 13:28:23 -04:00
dependabot[bot]
15b2dc6b48
chore(deps-dev): bump eslint-plugin-jsx-a11y in /ui ( #3416 )
...
Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y ) from 6.10.0 to 6.10.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.10.0...v6.10.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 23:24:43 -04:00
dependabot[bot]
1c48a55759
chore(deps-dev): bump eslint-plugin-react-refresh in /ui ( #3419 )
...
Bumps [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh ) from 0.4.12 to 0.4.13.
- [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases )
- [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.12...v0.4.13 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react-refresh
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 23:16:45 -04:00
dependabot[bot]
a9b301dfc5
chore(deps-dev): bump @testing-library/jest-dom in /ui ( #3418 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.6.1 to 6.6.2.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.6.1...v6.6.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 23:16:21 -04:00
dependabot[bot]
b86a69567d
chore(deps-dev): bump @types/node from 22.7.6 to 22.7.7 in /ui ( #3417 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 22.7.6 to 22.7.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 23:13:39 -04:00
dependabot[bot]
67474b776c
chore(deps-dev): bump @vitejs/plugin-react from 4.3.2 to 4.3.3 in /ui ( #3415 )
...
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.3/packages/plugin-react )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 23:13:30 -04:00
Deluan
9d8c49750e
ci: ignore refactor commits in release notes
2024-10-23 23:00:32 -04:00
Deluan Quintão
a557f37834
refactor: small improvements and clean up ( #3423 )
...
* refactor: replace custom map functions with slice.Map
* refactor: extract StringerValue function
* refactor: removed unnecessary if
* chore: removed invalid comment
* refactor: replace more map functions
* chore: fix FFmpeg typo
2024-10-22 22:54:31 -04:00
Kendall Garner
0a650de357
feat(subsonic): add MusicBrainz ID and Sort Name to getArtists
2024-10-22 22:00:31 -04:00
Rob Emery
9c3b456165
feat(build): MSI installer improvements ( #3376 )
...
* feat(build): add a make target to build a msi installer locally
* Testing wrapping the executable in cmd
* build(ci): build msis in parallel
* feat(server): add LogFile config option
* Revert "Testing wrapping the executable in cmd"
This reverts commit be29592254 .
* Adding --log-file for service executable
* feat(ini): wip
* feat(ini): parse nested ini section
* fix(conf): fix fatal error messages
* Now navidrome supports INI, we can use the built-in msi ini system
and not require the VBScript to convert it into toml
* File needs to be called .ini to be parsed as an INI and correct filename
needs to be passed to the service
* fix(msi): build msi locally
* fix(msi): pipeline
* fix(msi): pipeline
* fix(msi): pipeline
* fix(msi): pipeline
* fix(msi): pipeline
* fix(msi): Makefile
* fix(msi): more clean up
* fix(log): convert LF to CRLF on Windows
* fix(msi): config filename should be case-insensitive
* fix(msi): make it a little more idiomatic
* Including the latest windows release of ffmpeg into the msi
as built by https://www.gyan.dev/ffmpeg/builds/ (linked
to on the official ffmpeg source)
* This should version independent
* Need bash expansion for the * to work
* This will run twice, once for x86 and once for x64, I'll make it cache
the executable for now as it'll be quicker
* Silencing wget
* Add ffmpeg path to the config so Navidrome knows where to find it
* refactor: download ffmpeg from our repository
* When going back from the "Are you ready to install?" it should go back to the
Settings dialogue that you just came from
* fix: comments
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2024-10-22 19:32:56 -04:00
Deluan
23bebe4e06
feat(subsonic): getOpenSubsonicExtensions is now public
2024-10-21 17:21:18 -04:00
Deluan
8808eaddda
fix(server): allow extra spaces in transcoding commands
2024-10-20 19:35:16 -04:00
Deluan
bbb3182bc9
refactor(server): remove ffmpeg unused code
2024-10-20 19:35:16 -04:00
Caio Cotts
82633d7490
fix(playlists): make the m3u parser case-insensitive again #3410
2024-10-20 14:21:39 -04:00
Deluan
28668782c6
fix(server): FFmpegPath can contain spaces
2024-10-20 13:58:39 -04:00
Deluan
97c06aba1a
perf(server): add index for sort tags.
...
Improves search performance when searching with PreferSortTags=true
2024-10-19 20:46:54 -04:00
Deluan
9c46e2b262
fix: use docker buildx, as required by Linux
2024-10-19 11:55:03 -04:00
Deluan Quintão
3713032f57
fix(ui): update translations from POEditor ( #3349 )
...
Co-authored-by: deluan <331353+deluan@users.noreply.github.com >
2024-10-17 20:29:54 -04:00
Ivan Pešić
a358d107aa
fix(ui): update Serbian translation ( #3361 )
2024-10-17 20:24:50 -04:00
jan666
5f6a90e5aa
build: fix build on FreeBSD ( #3403 )
...
- vite: use rollup/wasm-node
- use vitejs/plugin-react instead of plugin-react-swc
2024-10-17 19:26:53 -04:00
Deluan Quintão
0232afd98d
fix(ui): service worker does not load new version of ui ( #3402 )
...
* fix(pwa): wip
* fix(pwa): wip
2024-10-16 21:39:14 -04:00
Deluan
270ae3549d
chore(deps): bump peter-evans/create-pull-request from 6 to 7
2024-10-16 20:31:45 -04:00
Deluan Quintão
8b5af67647
feat(subsonic): support OS clearing play queue ( #3399 )
2024-10-16 10:59:22 -04:00
Deluan Quintão
00c6a0ed1f
fix: use target platform to build final image ( #3397 )
...
* fix: use target platform to build final image
* fix: remove armv5 from supported images
2024-10-15 22:47:05 -04:00
dependabot[bot]
ff79ac4336
chore(deps-dev): bump eslint-plugin-react from 7.37.0 to 7.37.1 in /ui ( #3362 )
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.37.0 to 7.37.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.0...v7.37.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 19:59:19 -04:00
dependabot[bot]
8d37781a47
chore(deps-dev): bump eslint-plugin-react-hooks in /ui ( #3381 )
...
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks ) from 4.6.2 to 5.0.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/eslint-plugin-react-hooks@5.0.0/packages/eslint-plugin-react-hooks )
---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 19:47:38 -04:00
dependabot[bot]
a6fb7fd705
chore(deps-dev): bump typescript from 5.6.2 to 5.6.3 in /ui ( #3380 )
...
Bumps [typescript](https://github.com/microsoft/TypeScript ) from 5.6.2 to 5.6.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.2...v5.6.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 19:45:16 -04:00
dependabot[bot]
fd81039f1b
chore(deps-dev): bump @vitest/coverage-v8 from 2.1.1 to 2.1.3 in /ui ( #3379 )
...
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8 ) from 2.1.1 to 2.1.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.3/packages/coverage-v8 )
---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 19:32:13 -04:00
dependabot[bot]
bc4aa55de3
chore(deps-dev): bump @types/node from 22.7.4 to 22.7.5 in /ui ( #3378 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 22.7.4 to 22.7.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 19:31:54 -04:00
dependabot[bot]
6ec6ac1595
chore(deps-dev): bump vite from 5.4.8 to 5.4.9 in /ui ( #3382 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.8 to 5.4.9.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.9/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.9/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 19:31:28 -04:00
Deluan
06e38a8024
chore(deps): go mod tidy
2024-10-15 19:29:13 -04:00
Deluan
6e5eea980d
chore(deps): bump Go dependencies
2024-10-15 19:24:22 -04:00
Deluan Quintão
943b456d3f
fix: do not try to push to ghcr.io without proper permissions ( #3395 )
2024-10-15 19:10:44 -04:00
Deluan Quintão
16d1314a68
fix: do not add nil filters ( #3394 )
2024-10-15 19:03:16 -04:00
Deluan Quintão
ae6499b941
fix: PRs should not try to push to docker ( #3393 )
2024-10-15 18:28:27 -04:00
Deluan Quintão
214287e00d
build: new pipeline, new way to cross-compile and build docker images locally. ( #3388 )
...
* build: new pipeline, new way to cross-compile and build docker images locally. (#3383 )
* build: use alternative repositories
* build: fix
* build: validate taglib downloads
* build: control concurrency
* build: validate xx version
* build: remove taglib download validation as the version can be changed as an argument.
2024-10-15 16:46:01 -04:00
Deluan
af1add4312
Revert "build: new pipeline, new way to cross-compile and build docker images locally. ( #3383 )"
...
This reverts commit b14c790641 .
2024-10-14 18:52:02 -04:00
Deluan Quintão
b14c790641
build: new pipeline, new way to cross-compile and build docker images locally. ( #3383 )
...
* refactor(ci): faster pipeline, add support for darwin/arm64 (#26 )
* feat: WIP
* feat: WIP - all except windows
* fix: Bump crazymax/osxcross to 14.5
* feat: bundle UI
* fix: works on all 10!
* fix: WIP
* fix: add git sha and tag
* fix: download taglib from cross-taglib
* feat: add more dependabot coverage
* feat: build JS bundle using Docker
* refactor: pipeline
* fix: wip
* fix: wip
* fix: wip
* fix: wip
* fix: wip
* fix: wip
* fix: wip
* fix: wip
* fix: wip
* fix: real
* fix: no container
* fix: no container
* fix: pkg-config
* fix: pkg-config
* fix: pkg-config
* fix: pkg-config
* fix: pkg-config
* fix: add lint
* fix: add lint
* fix: add lint
* fix: add lint
* fix: add lint
* fix: add lint
* fix: add js
* fix: gittags
* fix: gittags
* test: is_release
* test: is_release
* test: is_release
* test: push image
* test: push image
* test: push image
* test: push image
* test: push image
* test: push image
* test: push image
* test: push image
* test: push image
* fix: extract download taglib action
* fix: extract prepare docker action
* fix: extract prepare docker action
* fix: extract prepare docker action
* fix: extract prepare docker action
* fix: extract prepare docker action
* fix: extract prepare docker action
* fix: extract prepare docker action
* fix: extract prepare docker action
* fix: extract prepare docker action
* fix: extract prepare docker action
* fix: extract prepare docker action
* fix: add msi
* fix: add msi
* fix: add msi
* fix: add msi
* fix: add msi
* test: full
* test: full
* test: disable some platforms to avoid hitting the rate limit
* test: disable some platforms to avoid hitting the rate limit
* fix: use ecr.aws for base images
* test: full release
* test: full release
* fix: clean-up
* refactor: pipeline clean-up (#32 )
* fix: clean-up
* fix: clean-up
* fix: clean-up
* fix: fetch all tags
* fix: version
* fix: version
* fix: no need to setup QEMU
* fix: don't try to push images in unauthorized branches
* fix: check push enabled
* fix: change layout?
2024-10-14 18:41:19 -04:00
Deluan
d9fa19dab3
build(ci): bump goreleaser to 2.3.2
2024-10-06 13:20:31 -04:00
Egor
0281d06b01
feat(ui): Allow drag-and-drop song title from player to sidebar playlist ( #2435 )
...
* feat(ui): Allow drag-and-drop song title from player to sidebar playlist
Signed-off-by: egor.aristov <egor.aristov@vk.team >
* prettier
---------
Signed-off-by: egor.aristov <egor.aristov@vk.team >
Co-authored-by: egor.aristov <egor.aristov@vk.team >
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
2024-10-02 13:10:24 -04:00
Lokke
de04393b47
fix(ui): update German translation ( #3345 )
...
Update German translation with minor adjustments
2024-10-02 08:48:47 -04:00
Kendall Garner
55730514ea
feat(server): provide native backup/restore mechanism ( #3194 )
...
* [enhancement]: Provide native backup/restore mechanism
- db.go: add Backup/Restore functions that utilize Sqlite's built-in online backup mechanism
- support automatic backup with schedule, limit number of files
- provide commands to manually backup/restore Navidrome
Notes:
`Step(-1)` results in a read-only lock being held for the entire duration of the backup.
This will block out any other write operation (and may hold additional locks.
An alternate implementation that doesn't block but instead retries is available at https://www.sqlite.org/backup.html#:~:text=of%20a%20Running-,database,-%2F*%0A**%20Perform%20an%20online (easily adaptable to go), but has the potential problem of continually getting restarted by background writes.
Additionally, the restore should still only be called when Navidrome is offline, as the restore process does not run migrations that are missing.
* remove empty line
* add more granular backup schedule
* do not remove files when bypass is set
* move prune
* refactor: small nitpicks
* change commands and flags
* tests, return path from backup
* refactor: small nitpicks
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2024-10-01 19:58:54 -04:00
Rob Emery
768160b05e
feat: Windows MSI installer and service support ( #3125 )
...
* First version/rough layout of the required wix to build an MSI that embeds everything
* Don't need revision number
* produced exe from existing build process is navidrome not Navidrome
* Adding Kardianos wrapper around Cobra so the callbacks are handled
automatically (this is basically only for windows)
* Adding pointless check to shut up lint for now
* make format
* Revert disabling npm tidy
* Using Kardianos always will result in the application hanging so it
needs only be wrapped to handle the callbacks if it's being used in
the service context, otherwise use cobra directly
* Copying in service installation etc from https://github.com/navidrome/navidrome/pull/2295
* Under Linux this installs a user service (I don't think this is
correct, but lets get this working first). User units/services
cannot depends on system units, so previously this bombed out
with Exit Code 5.
* Under Windows we can install both the x86 and x64 builds, they
will install to different folders, but previously they would
overwrite the service as they were both called Navidrome. Now,
it will install 2 services. This will still be weird/broken as
they will attempt to listen on the same port, however uninstalling
the "wrong" arch will not cause the "right" one to be partially
uninstalled anymore
* Reverting changes to the context as they don't really seem necessary anyway
* Need to consistently name the service
* Fixing broken context
* The included files should be removed when the app is uninstalled
* Reverting back to the original context here, I don't think
it makes any difference to running under kardianos
* Let's see what we have immediately available
* OK, the build takes ages so let's just try and do the whole thing in one go, maybe we'll get lucky
* Need -r on directory copy, plus we'll probably need to install wixl
* No sudo cmd, so I assume this runs as root
* WORKSPACE!
* Moving the version to be a single variable, we'll probably be able to pull it from the github tag or whatever
* Might as well put the msi in the right folder, it's tidier
* Writing the version number into the msi, from the output of goreleaser
* Using jq to parse the goreleaser metadata, so need to install it
* MSI only supports numerical version numbers, so I'll make the "snapshot" version .1 minor patch greater
* -r or --raw (on newer versions) means we don't get the "" around the value
* Running as a user service I think makes limited sense for this
* Will now ask for configuration settings during install.
MSI/WiX only supports writing out INI files, Toml is almost
INI compatable, except that the INI needs to write out a section
first, so we need to have a script to strip that off.
We are forced to display a License.rtf file by the UI so I think
the build process should probably rename the default licence file
and that will suffice.
Uninstalling works cleanly, howvever upgrades seem to leave the old
version installed in "programs and features" currently.
Adding the UI has introduced a requirement for WiX 0.103
* Updating the build to include --ext ui for the new config ui
* Configuration dialog should not display for upgrades as the config file
is already written
* Making description consistent with the systemd service and making
the build process produce the required License.rtf
* Fixing " non-constant format string in call to fmt.Errorf (govet)"
* Its a string, not an int; read better.
* Wixl 103 is required for --ext ui, so we need 24.04
* OK this is still installing Wix 0.101, maybe it all needs to be 24.04?
* Switching the builds back to ubuntu-latest (22.04 at current)
as it runs on a custom container, it's actually debian anyway
Moving msi build into its own job so it can run on 24.04 so
we have access to wixl 0.103 for --ext ui support
* Forcing build
* Whitespace fix
* Adding sudo I guess
* Gotta checkout as well
* Adding debugging for when there's soemthing wrong with the paths
* Adding more ls to see if the output has worked
* The msi's are in subdirs
* Actually they're in the ./wix directory
* Still can't find these msi's?
* I think that was being treated literally previously
* No idea why this isn't working, give it a relative path instead?
* Making explicit on the dialogue that the configuration file will be
where the installation dir is
* The lint keeps failing and it's just getting in the way so I'll
turn this off for now and we'll edit out this commit from the merge
* Cutting more out of the build to get more stuff out of the way
* Need to increase the width to fit the text in
* Calling everything License.rtf, presumably one of them is correct
* I am pretty sure the License.rtf loading is broken under Wixl; so
let's just bypass the EULA from the UI which is a nicer experience
for the users anyway
* This needs to be after WelcomeDlg now the Eula isn't displayed
* You're supposed to be able to use <WixVariable> to override the
location that the bmp's are loaded from, I can't get this to work
under wixl so I'm guessing given that the ui extension is new, it
hasn't been implemented with that in mind. So we'll hack it by
overwriting the files installed with the package.
* We should make this less brittle so when wixl is updated it still works
* Re-enabling the lint and tests etc
* Improving the scaling quality and removing borders from images to
tidy them up a tad
* Pretty sure this isn't necessary as MY_PROPERTY will always be false
* Without publishing this event, we can't continue to the next dialogue
however I think we should be able to get away without the property
* Refactoring out the duplication so we only have one service
defined and we can run that either way
* Pushing the Interactive check into the root commmand? Feels like it
is probably getting closer to the right place at least
* go tidy
* OK this didn't work under windows, I'm guessing it's because
it's lacking all the metadata about the service it needs to
report back to Windows on.
* We need to run service execute now so that the windows
service will behave (hopefully)!
* Lint
* go tidy
* Renaming service to "navidrome" rather than "Navidrome" as this
is the filename that systemd writes and it's unusual to have
capital letters in service names under Linux.
Switching to use service execute for Linux to mirror Windows
* Need to provide the arguments to append
* Without passing the context around, the DB isn't closed gracefully
so we end up with with .db-shm and .db-wal files for recovery
* We should log fatal rather than outputting directly to stdout
* go tidy
* refactor: small nitpicks
* fix: terminate service gracefully
---------
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
2024-10-01 19:40:53 -04:00
Deluan
b7285b28cf
fix(test): vitest was hanging due to vite-plugin-eslint plugin
2024-10-01 17:12:54 -04:00
Deluan
eab6aadc0f
chore(deps): bump Go to 1.23.2
2024-10-01 14:54:22 -04:00
ChekeredList71
640a734896
fix(ui): update Hungarian translation ( #3346 )
...
Added new Hungarian translation for "lastAccessAt".
2024-10-01 14:13:15 -04:00
Deluan Quintão
a9334b7787
feat(ui): show user's lastAccess ( #3342 )
...
* feat(server): update user's lastAccess
* feat(ui): show user's lastAccess
2024-09-30 20:46:10 -04:00
dependabot[bot]
5e8085bf3c
chore(deps-dev): bump eslint-plugin-react from 7.36.1 to 7.37.0 in /ui ( #3334 )
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.36.1 to 7.37.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.36.1...v7.37.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
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-09-30 14:31:58 -04:00
dependabot[bot]
b2eb533082
chore(deps-dev): bump @vitejs/plugin-react-swc in /ui ( #3339 )
...
Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc ) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react-swc/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react-swc/blob/main/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react-swc/compare/v3.7.0...v3.7.1 )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react-swc"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 14:31:41 -04:00
dependabot[bot]
936af2d895
chore(deps-dev): bump @types/node from 22.6.1 to 22.7.4 in /ui ( #3335 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 22.6.1 to 22.7.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
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-09-30 14:31:25 -04:00
dependabot[bot]
b1c18a428b
chore(deps-dev): bump vite from 5.4.7 to 5.4.8 in /ui ( #3340 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.7 to 5.4.8.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.8/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.8/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 14:31:10 -04:00
Deluan Quintão
1fac9cc3ee
chore: add poeditor logo to readme ( #3329 )
2024-09-30 13:25:03 -04:00
Deluan
92a1f19271
fix(scanner): make activity panel update rate configurable
2024-09-30 12:06:23 -04:00
crazygolem
06c9c1e64a
feat(server): require explicitly enabling reverse proxy auth for unix sockets ( #3062 )
2024-09-29 13:28:44 -04:00
Deluan
ed3ab5385d
chore(deps): bump rollup from 2.79.1 to 2.79.2 in /ui
2024-09-28 11:56:35 -04:00
Deluan Quintão
fcdd30ba8f
build(ui): migrate from CRA/Jest to Vite/Vitest ( #3311 )
...
* feat: create vite project
* feat: it's alive!
* feat: `make dev` working!
* feat: replace custom serviceWorker with vite plugin
* test: replace Jest with Vitest
* fix: run prettier
* fix: skip eslint for now.
* chore: remove ui.old folder
* refactor: replace lodash.pick with simple destructuring
* fix: eslint errors (wip)
* fix: eslint errors (wip)
* fix: display-name eslint errors (wip)
* fix: no-console eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: build
* fix: pwa manifest
* refactor: pwa manifest
* refactor: simplify PORT configuration
* refactor: rename simple JS files
* test: cover playlistUtils
* fix: react-image-lightbox
* feat(ui): add sourcemaps to help debug issues
2024-09-28 11:54:36 -04:00
dependabot[bot]
dd48a23f92
chore(deps): bump github.com/unrolled/secure from 1.15.0 to 1.16.0 ( #3327 )
...
Bumps [github.com/unrolled/secure](https://github.com/unrolled/secure ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/unrolled/secure/releases )
- [Commits](https://github.com/unrolled/secure/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/unrolled/secure
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-09-28 11:32:21 -04:00
dependabot[bot]
6040a50297
chore(deps): bump alpine from 3.18 to 3.20 in /.github/workflows ( #3326 )
...
Bumps alpine from 3.18 to 3.20.
---
updated-dependencies:
- dependency-name: alpine
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-09-28 11:30:36 -04:00
Deluan
9e5849e4dc
build(dependabot): add docker configuration
2024-09-28 10:52:23 -04:00
Kendall Garner
13af8ed43a
fix(server): preserve m3u file order on import ( #3314 )
...
* fix(playlist): preserve m3u file order on import - 3307
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com >
* test(server): cover playlist order
* refactor(server): micro-optimizations
* refactor(server): micro-optimizations
* fix(server): playlists imported from reader (POST /playlist) are not synced
* refactor(server): only allocate the capacity required to hold a playlist chunk
---------
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com >
Co-authored-by: Deluan <deluan@navidrome.org >
2024-09-27 16:05:12 -04:00
Deluan
825cbcbf53
fix(readme): reddit badge is working again.
2024-09-27 15:52:27 -04:00
Deluan
5be73d404f
fix(server): allow changing local login background url
2024-09-27 15:18:20 -04:00
Andy
1fa245d141
fix(ui) update Swedish translation ( #3316 )
2024-09-27 14:53:11 -04:00
Kendall Garner
782cd26b3d
fix(ui): save play mode for player ( #3315 )
...
* fix(ui): save play mode for player - 3019
* redux
* redux
2024-09-27 13:13:22 -04:00
Deluan
10a1b5faf8
test(scanner): remove redundant fixture file
2024-09-27 09:53:08 -04:00
dependabot[bot]
84dc10529d
chore(deps): bump github.com/prometheus/client_golang from 1.20.3 to 1.20.4 ( #3301 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.3 to 1.20.4.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.3...v1.20.4 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 18:52:34 -04:00
dependabot[bot]
24d911744e
build(deps): bump github.com/pressly/goose/v3 from 3.22.0 to 3.22.1 ( #3302 )
...
Bumps [github.com/pressly/goose/v3](https://github.com/pressly/goose ) from 3.22.0 to 3.22.1.
- [Release notes](https://github.com/pressly/goose/releases )
- [Changelog](https://github.com/pressly/goose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pressly/goose/compare/v3.22.0...v3.22.1 )
---
updated-dependencies:
- dependency-name: github.com/pressly/goose/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 18:45:04 -04:00
dependabot[bot]
6031d97c9d
chore(deps): bump rollup from 2.79.1 to 2.79.2 in /ui ( #3319 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.79.1 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-26 18:44:23 -04:00
Deluan
80acfc103f
fix(server): throttle events sent to UI when scanning. Relates to #1511
...
See also: https://github.com/navidrome/navidrome/issues/1186#issuecomment-1554818537
2024-09-26 18:19:20 -04:00
Deluan Quintão
76614b8f16
fix(scanner): update lib.LastScanAt on each rescan ( #3313 )
2024-09-26 06:16:27 -04:00
Deluan
d31952f469
fix(ui): avoid invalid requests after logoff
2024-09-25 15:14:47 -04:00
Xabi
32d2d7c15b
fix(ui): update Basque translation ( #3306 )
...
Small, unimportant changes
2024-09-22 12:26:09 -04:00
Deluan Quintão
669c8f4c49
refactor(server): replace RangeByChunks with Go 1.23 iterators ( #3292 )
...
* refactor(server): replace RangeByChunks with Go 1.23 iterators
* chore: fix comments re: SQLITE_MAX_VARIABLE_NUMBER
* test: improve playqueue test
* refactor(server): don't create a new iterator when it is not required
2024-09-22 11:47:10 -04:00
Deluan Quintão
3910e77a7a
build(ci): change GitHub release notes ( #3300 )
2024-09-21 17:00:13 -04:00
Kendall Garner
196557a41a
fix(ui): show effective dB of track when playing ( #3293 )
...
* show effective db of track when playing
* tests
2024-09-21 16:46:14 -04:00
Caio Cotts
11d96f1da4
fix(ui): sort mappings ( #3296 )
...
* fix(ui): update sort mapping for title in mediafile repository
* fix(ui): create sort mapping for username in share repository
* fix(ui): create sort mapping for owner_name in playlist repository
* fix(ui): create sort mapping for username in player repository
* fix(ui): remove sort mapping for track number in mediafile repository
* chore: add todo to change user_name
2024-09-20 21:36:59 -04:00
Deluan
e628aafa4b
build(go): set toolchain to latest version
2024-09-20 18:04:36 -04:00
Deluan
ecf934feab
fix(subsonic): random albums not reshuffling.
...
See: https://github.com/navidrome/navidrome/issues/3277#issuecomment-2364269787
2024-09-20 16:59:46 -04:00
Deluan
5b89bf747f
fix(server): play queue should not return empty entries for deleted tracks
2024-09-20 11:22:37 -04:00
Ivan Pešić
7a6845fa5a
feat(ui): add Serbian translation ( #3287 )
2024-09-20 08:51:40 -04:00
Deluan
b6433057e9
fix(ui): make random albums order stick when coming back to the grid
2024-09-19 20:16:50 -04:00
Deluan
d0784b6a21
chore(ci): change "update translations" PR title
2024-09-19 17:28:01 -04:00
gruneforth
b0e7941abe
fix(ui): fix Nuclear Theme ( #3291 )
...
* Add Nuclear Theme
* Fix login screen color & Softened "link" coloring
---------
Co-authored-by: grune <grune@grunk.me >
2024-09-19 17:13:44 -04:00
Deluan Quintão
a02cfbe2a7
fix(ui): update German translation ( #3290 )
...
Co-authored-by: deluan <331353+deluan@users.noreply.github.com >
2024-09-19 14:08:44 -04:00
naiar
04603a1ea2
fix(subsonic): honour PreferSortTag when building indexes for getArtist and getIndexes ( #3286 )
...
* fix(scanner): use sort_artist_name when the config PreferSortTags is true - #3285
* revert unwanted modifications
* refactor(server): use cmp.Or to simplify nested ifs
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2024-09-19 13:44:29 -04:00
Deluan
50870d3e61
fix(ui): sort by favourited
2024-09-19 13:05:26 -04:00
DDinghoya
27780683aa
feat(ui): update Korean translation ( #3288 )
2024-09-19 12:13:50 -04:00
Deluan
5baf0b80aa
fix(ui): sort playlist by song duration ( #3284 )
2024-09-19 08:45:49 -04:00
Deluan
46be041e7b
fix(scanner): improve M3U playlist import times ( #2706 )
2024-09-18 20:12:12 -04:00
Kendall Garner
ee2e04b832
fix(ui): random seed for album list on page reload ( #3279 )
...
* random seed for album list on page reload
* Nit: inline variable
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2024-09-18 12:35:13 -04:00
Kendall Garner
1ba390a72a
random -> SEEDRAND ( #3274 )
2024-09-17 17:03:12 -04:00
Deluan Quintão
8134edb5d1
Fix genre and id filters ( #3273 )
2024-09-17 16:59:55 -04:00
dependabot[bot]
910a46120b
Bump dompurify from 2.4.5 to 2.5.6 in /ui ( #3270 )
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 2.4.5 to 2.5.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/2.4.5...2.5.6 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 20:04:37 -04:00
dependabot[bot]
8c86d0945c
Bump github.com/mileusna/useragent from 1.3.4 to 1.3.5 ( #3269 )
...
Bumps [github.com/mileusna/useragent](https://github.com/mileusna/useragent ) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/mileusna/useragent/releases )
- [Commits](https://github.com/mileusna/useragent/compare/v1.3.4...v1.3.5 )
---
updated-dependencies:
- dependency-name: github.com/mileusna/useragent
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 19:13:29 -04:00
Caio Cotts
42047fde1a
Remove shareURL value from config.js
2024-09-15 17:26:58 -04:00
Caio Cotts
2887cd65fc
Fix wrong placement of When in test
2024-09-15 17:26:58 -04:00
Caio Cotts
8ac133027d
Make the UI use the new ShareURL option
2024-09-15 17:26:58 -04:00
Caio Cotts
f0240280eb
Add ShareURL configuration option
2024-09-15 17:26:58 -04:00
Reilly MacKenzie-Cree
d683688b0e
Recursively refresh playlist tracks within smart playlist rules ( #3018 )
...
* Recursively refresh playlists within smart playlist rules
Signed-off-by: reillymc <reilly@mackenzie-cree.net >
* Clean up recursive smart playlist functions
Signed-off-by: reillymc <reilly@mackenzie-cree.net >
* Add smart playlist refresh timeout config and tests for nested track refetching
Signed-off-by: reillymc <reilly@mackenzie-cree.net >
* Change SmartPlaylistRefreshTimeout to SmartPlaylistRefreshDelay, increase default value
* Revert `smartPlaylistRefreshDelay` default to 5 seconds
---------
Signed-off-by: reillymc <reilly@mackenzie-cree.net >
Co-authored-by: Deluan <deluan@navidrome.org >
2024-09-15 13:27:54 -04:00
ChekeredList71
180035c1e3
Hungarian patch and typo fix for English ( #3263 )
...
* English typo fix
* hungarian-patch
You can find the changes here in detail: https://pastebin.com/GLtmwELv
2024-09-15 11:00:25 -04:00
Deluan
a132755d67
Move update-translations.sh script to workflow directory
2024-09-14 21:37:25 -04:00
Deluan
3107170afd
Improve SQL sanitization
2024-09-14 18:53:34 -04:00
dependabot[bot]
d3bb4bb9a1
Bump send and express in /ui ( #3260 )
...
Bumps [send](https://github.com/pillarjs/send ) and [express](https://github.com/expressjs/express ). These dependencies needed to be updated together.
Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases )
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md )
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0 )
Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0 )
---
updated-dependencies:
- dependency-name: send
dependency-type: indirect
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-14 12:36:32 -04:00
dependabot[bot]
41f380451c
Bump path-to-regexp and express in /ui ( #3255 )
...
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp ) and [express](https://github.com/expressjs/express ). These dependencies needed to be updated together.
Updates `path-to-regexp` from 1.8.0 to 1.9.0
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases )
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md )
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v1.8.0...v1.9.0 )
Updates `express` from 4.18.1 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.1...4.20.0 )
---
updated-dependencies:
- dependency-name: path-to-regexp
dependency-type: indirect
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-14 12:30:29 -04:00
Deluan
e65eb225c8
Small refactoring
...
- Remove duplication
- Remove warning about builtin keyword `new`
2024-09-13 20:18:00 -04:00
Deluan
e8d0f2ec2c
Allow searching songs by filepath, for songs without Title
2024-09-13 18:04:21 -04:00
Deluan
47872c9e8a
Fix pipeline
2024-09-13 17:43:50 -04:00
Deluan
9ae2ec1a07
Ignore #snapshot folders when scanning. Fixes #3257
2024-09-13 17:30:08 -04:00
Deluan
a1866c7ff3
Fix log message
2024-09-13 09:13:51 -04:00
Kendall Garner
9f1794b97e
Only refresh smart playlist when fetching first track ( #3244 )
...
* Only refresh smart playlist when fetching first track
* res -> w
2024-09-10 20:18:37 -04:00
dependabot[bot]
e1762882e3
Bump github.com/prometheus/client_golang from 1.20.2 to 1.20.3 ( #3245 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.2 to 1.20.3.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.3/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.2...v1.20.3 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 18:03:16 -04:00
dependabot[bot]
870b217eb9
Bump github.com/pressly/goose/v3 from 3.21.1 to 3.22.0 ( #3247 )
...
Bumps [github.com/pressly/goose/v3](https://github.com/pressly/goose ) from 3.21.1 to 3.22.0.
- [Release notes](https://github.com/pressly/goose/releases )
- [Changelog](https://github.com/pressly/goose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pressly/goose/compare/v3.21.1...v3.22.0 )
---
updated-dependencies:
- dependency-name: github.com/pressly/goose/v3
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-09-09 17:59:30 -04:00
dependabot[bot]
53af567b45
Bump golang.org/x/image from 0.19.0 to 0.20.0 ( #3248 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/image/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
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-09-09 17:59:01 -04:00
dependabot[bot]
605aaf87d8
Bump github.com/mattn/go-sqlite3 from 1.14.22 to 1.14.23 ( #3249 )
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.22 to 1.14.23.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.22...v1.14.23 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 17:58:50 -04:00
dependabot[bot]
9950538089
Bump github.com/mattn/go-zglob from 0.0.5 to 0.0.6 ( #3231 )
...
Bumps [github.com/mattn/go-zglob](https://github.com/mattn/go-zglob ) from 0.0.5 to 0.0.6.
- [Commits](https://github.com/mattn/go-zglob/compare/v0.0.5...v0.0.6 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-zglob
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 13:22:49 -04:00
Vlad Shulcz
4a55a148cf
refactor(core): Refactor selectTranscodingOptions function ( #3227 )
...
* refactor(core): Refactor selectTranscodingOptions function - #3226
Signed-off-by: shulcz <vshulcz@gmail.com >
* chore: Fix selectTranscodingOptions function - #3226
Signed-off-by: shulcz <vshulcz@gmail.com >
* Small refactoring to make code more concise
* Fix log message
---------
Signed-off-by: shulcz <vshulcz@gmail.com >
Co-authored-by: Deluan <deluan@navidrome.org >
2024-09-02 12:20:23 -04:00
Deluan
c1b75bca51
Improve change detection for POEditor files
2024-09-02 11:02:24 -04:00
Reilly MacKenzie-Cree
5baab4af77
Update dev container to use Go 1.23 and customizations object ( #3228 )
...
Signed-off-by: reillymc <reilly@mackenzie-cree.net >
2024-09-01 22:22:32 -04:00
Xabi
4c87a39242
Add Basque localisation ( #3221 )
...
* Add Basque localisation
Initial Basque localisation
* Update eu.json
fixes extra dash
* Update eu.json
fixes
* Update eu.json
653098th time's the charm
2024-09-01 16:03:15 -04:00
Deluan
fc5d18feb7
Change error code type to avoid integer overflow conversion warning
2024-09-01 14:49:48 -04:00
Deluan
4612b0a518
Bump Go dependencies
2024-08-31 19:20:38 -04:00
Deluan Quintão
68ddbf4856
Add i18n lint job
2024-08-31 14:54:04 -04:00
dependabot[bot]
a6d72d8623
Bump webpack from 5.76.1 to 5.94.0 in /ui ( #3218 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.76.1 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.76.1...v5.94.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 16:11:25 -04:00
Deluan
1a41525a7e
Upgrade go.mod to 1.23, allow override CI_RELEASER_VERSION for make single and make all
2024-08-29 15:14:20 -04:00
Deluan
8ca1aefad6
Change DefaultPlaylistPublicVisibility to false
2024-08-28 19:23:19 -04:00
John White
67d11dd144
feat: imported playlists are public by default ( #3143 )
...
* feat: imported playlists are public by default
* chore: make linter happy
---------
Co-authored-by: John White <john@activecode.dev >
2024-08-28 19:20:05 -04:00
Deluan Quintão
9f65f8f5a8
Update translations ( #3164 )
...
Co-authored-by: deluan <331353+deluan@users.noreply.github.com >
2024-08-28 19:14:27 -04:00
Deluan Quintão
bc06a59919
Upgrade TagLib 2.0.2, GoReleaser 2.2.0 ( #3217 )
...
* Upgrade ci-goreleaser
* Fix tests
* Fix taglib lib path in macOS
2024-08-28 19:13:08 -04:00
Sunny
6709ab3c5e
fix(common): Hide Share/Get Info items in disc context menu - #3204 ( #3209 )
...
Signed-off-by: Sunny <sunny@sny.sh >
2024-08-26 21:40:05 -04:00
dependabot[bot]
195f2b3f38
Bump @testing-library/jest-dom from 6.4.8 to 6.5.0 in /ui ( #3216 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.4.8 to 6.5.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.8...v6.5.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
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-08-26 21:30:56 -04:00
dependabot[bot]
6ea688e720
Bump github.com/prometheus/client_golang from 1.20.0 to 1.20.2 ( #3213 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.0 to 1.20.2.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.0...v1.20.2 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 21:30:44 -04:00
dependabot[bot]
496c95fd47
Bump github.com/go-chi/httprate from 0.12.1 to 0.14.0 ( #3211 )
...
Bumps [github.com/go-chi/httprate](https://github.com/go-chi/httprate ) from 0.12.1 to 0.14.0.
- [Release notes](https://github.com/go-chi/httprate/releases )
- [Commits](https://github.com/go-chi/httprate/compare/v0.12.1...v0.14.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/httprate
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-08-26 21:30:31 -04:00
dependabot[bot]
108bf31148
Bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 ( #3212 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.2...v2.2.3 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 21:30:14 -04:00
dependabot[bot]
7c81143ca9
Bump github.com/onsi/ginkgo/v2 from 2.20.0 to 2.20.1 ( #3215 )
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.20.0 to 2.20.1.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.20.0...v2.20.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 21:29:39 -04:00
dependabot[bot]
533c394f09
Bump github.com/jellydator/ttlcache/v3 from 3.2.0 to 3.2.1 ( #3214 )
...
Bumps [github.com/jellydator/ttlcache/v3](https://github.com/jellydator/ttlcache ) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/jellydator/ttlcache/releases )
- [Commits](https://github.com/jellydator/ttlcache/compare/v3.2.0...v3.2.1 )
---
updated-dependencies:
- dependency-name: github.com/jellydator/ttlcache/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 21:29:28 -04:00
Deluan
c95fa11a2f
Remove potential integer overflow conversion uint64 -> int64
2024-08-22 19:28:22 -04:00
Deluan
5d81849603
Fix lint errors
2024-08-21 12:15:25 -04:00
dependabot[bot]
1a8bef0743
Bump react-icons from 5.2.1 to 5.3.0 in /ui ( #3200 )
...
Bumps [react-icons](https://github.com/react-icons/react-icons ) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/react-icons/react-icons/releases )
- [Commits](https://github.com/react-icons/react-icons/compare/v5.2.1...v5.3.0 )
---
updated-dependencies:
- dependency-name: react-icons
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-08-19 18:21:10 -04:00
dependabot[bot]
85bf7b5684
Bump @testing-library/jest-dom from 6.4.6 to 6.4.8 in /ui ( #3172 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.4.6 to 6.4.8.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.6...v6.4.8 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 18:13:38 -04:00
dependabot[bot]
bdbff1ea38
Bump prettier from 3.3.2 to 3.3.3 in /ui ( #3171 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.3.2...3.3.3 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 18:12:45 -04:00
dependabot[bot]
5d58048780
Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0 ( #3199 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
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-08-19 18:12:29 -04:00
Rob Emery
723f01d98c
Fixing Build/lint error: "non-constant format string in call to fmt.Errorf (govet)" ( #3198 )
...
* Fixing " non-constant format string in call to fmt.Errorf (govet)"
* Its a string, not an int; read better.
2024-08-19 17:58:35 -04:00
Deluan Quintão
c4bd0e67fa
Upgrade Go to 1.23 ( #3190 )
...
* Upgrade to Golang 1.23rc1
* Fix imports
* Go 1.23 final version
* Fix lint compatibility with ci-goreleaser
2024-08-19 17:47:54 -04:00
Deluan
0c33523f45
Bump dependencies
2024-08-10 12:22:36 -04:00
Deluan
14d085f651
Deprecate buildall
2024-08-07 16:19:44 -04:00
Deluan
4d4c71212f
Build UI bundle on demand
2024-08-07 15:36:29 -04:00
Deluan
e1ba152a38
Reduce noise in logs when pre-caching artwork
2024-08-07 13:08:54 -04:00
Deluan
eaa7f7c7e9
Fix Player filter
2024-08-05 18:21:21 -04:00
Kendall Garner
290333ec59
Use same key for replaygain's preAmp ( #3184 )
...
Resolves #2933 . To prevent this from happening again, make the localstorage keys consts for set/get
2024-08-03 21:18:41 -04:00
Kendall Garner
fa85e2a781
Use userId in player, other fixes ( #3182 )
...
* [bugfix] player: use userId, other fixes
This PR primarily resolves #1928 by switching the foreign key of `player` from `user.user_name` to `user.id`.
There are also a few other fixes/changes:
- For some bizarre reason, `ip_address` is never returned from `read`/`get`. Change the field to `ip`, which works. Somehow
- Update `players_test.go` mock to also check for user agent, replicating the actual code
- Update `player_repository.go` `isPermitted` to check user id. I don't know how this worked before...
- tests!
- a few places referred to `typ`, when it is really `userAgent`. Change the field names
* baseRequest -> selectPlayer
* remove comment
* update migration, make all of persistence foreign key enabled
* maybe don't forget to save the file first
2024-08-03 13:37:21 -04:00
dependabot[bot]
5360283bb0
Bump github.com/onsi/gomega from 1.33.1 to 1.34.0 ( #3176 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.33.1 to 1.34.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.33.1...v1.34.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
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-07-31 21:35:00 -04:00
dependabot[bot]
e59d81bf78
Bump github.com/microcosm-cc/bluemonday from 1.0.26 to 1.0.27 ( #3141 )
...
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday ) from 1.0.26 to 1.0.27.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases )
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.26...v1.0.27 )
---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-28 15:33:40 -04:00
Deluan
7b2ddfd65a
Fix "Cannot read properties of undefined". Closes #3070
2024-07-25 17:22:04 -04:00
Deluan
76c3f5131a
Use SHA256 in Gravatar URLs
2024-07-23 17:49:46 -04:00
Soderes
f577704d7a
Add Hungarian language ( #3157 )
2024-07-22 18:10:41 -04:00
dependabot[bot]
f46ff73c53
Bump github.com/go-chi/httprate from 0.9.0 to 0.10.0 ( #3160 )
...
Bumps [github.com/go-chi/httprate](https://github.com/go-chi/httprate ) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/go-chi/httprate/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/httprate
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-07-22 15:31:46 -04:00
Deluan
d046c180bf
Fix race condition
2024-07-22 14:27:02 -04:00
Caio Cotts
9b4abd9e5a
Add Auto-Import toggle switch to playlists list view.
2024-07-18 00:07:59 +02:00
Caio Cotts
0de5f594fe
Remove unnecessary Fragment component.
2024-07-18 00:07:59 +02:00
Deluan
33717f26d4
Fix album sorting in Artist page
2024-07-04 17:21:31 -04:00
dependabot[bot]
6722395879
Bump github.com/unrolled/secure from 1.14.0 to 1.15.0 ( #3127 )
...
Bumps [github.com/unrolled/secure](https://github.com/unrolled/secure ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/unrolled/secure/releases )
- [Commits](https://github.com/unrolled/secure/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/unrolled/secure
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-07-01 15:53:01 -04:00
dependabot[bot]
2667ad3921
Bump github.com/go-chi/chi/v5 from 5.0.14 to 5.1.0 ( #3126 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.14 to 5.1.0.
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.0.14...v5.1.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
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-07-01 15:52:29 -04:00
Kendall Garner
3e1fa20413
fix background color for nord theme ( #3124 )
2024-06-29 18:50:33 -04:00
gruneforth
1802015737
Add Nuclear Theme ( #3098 )
2024-06-29 17:04:30 -04:00
Deluan
47378c6882
Remove unnecessary annotation table primary key
2024-06-29 11:45:41 -04:00
dependabot[bot]
81459cc421
Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 ( #3095 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-26 17:47:24 -04:00
dependabot[bot]
4cda3a58dc
Bump braces from 3.0.2 to 3.0.3 in /ui ( #3085 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-26 17:47:00 -04:00
dependabot[bot]
56557bb0f3
Bump @testing-library/jest-dom from 6.4.5 to 6.4.6 in /ui ( #3096 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.4.5 to 6.4.6.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.5...v6.4.6 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-26 17:46:44 -04:00
dependabot[bot]
c60f443179
Bump prettier from 3.3.1 to 3.3.2 in /ui ( #3097 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.3.1...3.3.2 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-26 17:46:34 -04:00
dependabot[bot]
fa3998d6e1
Bump github.com/pressly/goose/v3 from 3.20.0 to 3.21.1 ( #3114 )
...
Bumps [github.com/pressly/goose/v3](https://github.com/pressly/goose ) from 3.20.0 to 3.21.1.
- [Release notes](https://github.com/pressly/goose/releases )
- [Changelog](https://github.com/pressly/goose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pressly/goose/compare/v3.20.0...v3.21.1 )
---
updated-dependencies:
- dependency-name: github.com/pressly/goose/v3
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-06-26 17:45:44 -04:00
dependabot[bot]
8542ac96c0
Bump github.com/go-chi/chi/v5 from 5.0.12 to 5.0.14 ( #3115 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.12 to 5.0.14.
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.0.12...v5.0.14 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-26 17:45:25 -04:00
dependabot[bot]
4557add7ef
Bump github.com/lestrrat-go/jwx/v2 from 2.0.21 to 2.1.0 ( #3113 )
...
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx ) from 2.0.21 to 2.1.0.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.21...v2.1.0 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/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-06-26 17:45:13 -04:00
dependabot[bot]
004fae43f5
Bump golang.org/x/image from 0.17.0 to 0.18.0 ( #3119 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/image/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-26 17:44:58 -04:00
Deluan
7111535963
Don't panic on PostScan errors. Fix #3118
2024-06-25 17:14:17 -04:00
Deluan
3bc9e75b28
Evict expired items from SimpleCache
2024-06-24 17:32:34 -04:00
Deluan
3993c4d17f
Upgrade to ttlcache/v3
2024-06-21 18:09:34 -04:00
Deluan
29b7b740ce
Also use SimpleCache in cache.HTTPClient
2024-06-21 17:40:18 -04:00
Deluan
29bc17acd7
Wrap ttlcache in our own SimpleCache implementation
2024-06-21 17:21:09 -04:00
Deluan
4044642abf
Add http headers to trace log
2024-06-16 22:31:47 -04:00
Kendall Garner
88eac6d7f3
fix album/media file random sort ( #3089 )
2024-06-12 21:06:59 -04:00
dependabot[bot]
f267f55713
Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 22:56:03 -04:00
dependabot[bot]
58990c4830
Bump @testing-library/jest-dom from 6.4.2 to 6.4.5 in /ui
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.4.2 to 6.4.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.2...v6.4.5 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 22:50:38 -04:00
dependabot[bot]
7a20233a35
Bump ejs from 3.1.9 to 3.1.10 in /ui
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 22:48:44 -04:00
dependabot[bot]
45679e11c2
Bump clsx from 2.1.0 to 2.1.1 in /ui
...
Bumps [clsx](https://github.com/lukeed/clsx ) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/lukeed/clsx/releases )
- [Commits](https://github.com/lukeed/clsx/compare/v2.1.0...v2.1.1 )
---
updated-dependencies:
- dependency-name: clsx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 22:42:52 -04:00
dependabot[bot]
05f34b0cce
Bump golang.org/x/image from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/image/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 22:35:02 -04:00
dependabot[bot]
586e725d6c
Bump react-icons from 5.1.0 to 5.2.1 in /ui
...
Bumps [react-icons](https://github.com/react-icons/react-icons ) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/react-icons/react-icons/releases )
- [Commits](https://github.com/react-icons/react-icons/compare/v5.1.0...v5.2.1 )
---
updated-dependencies:
- dependency-name: react-icons
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 22:27:47 -04:00
dependabot[bot]
a7c4c72dc6
Bump uuid from 9.0.1 to 10.0.0 in /ui
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 9.0.1 to 10.0.0.
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.1...v10.0.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 22:17:49 -04:00
Deluan
232c45bd06
Increase artist image url sizes.
...
See https://support.symfonium.app/t/artist-picture-less-compressed/4447
2024-06-10 16:33:41 -04:00
Caio Cotts
1b77830eb4
Do not use lastFM api key and secret to determine if LastFM.Enabled should be set.
2024-06-10 16:26:39 -04:00
dependabot[bot]
e535f7eb78
Bump prettier from 3.3.0 to 3.3.1 in /ui
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.3.0...3.3.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 15:31:43 -04:00
Deluan
d8b2f3d2cf
Don't expose fullText data in the Native API
2024-06-09 11:19:22 -04:00
kartikynwa
56303cde23
Add R128_{TRACK,ALBUM}_GAIN support to the scanner ( #3072 )
...
* Add R128 gain tags support to the scanner
* Add R128 test to metadata_internal_test.go
* Pass explicit tag names to getGainValue function
2024-06-08 13:45:06 -04:00
Deluan
e434ca9372
Change resized image cache key
2024-06-08 13:37:30 -04:00
Deluan
3252fab171
Increase artist image url sizes.
...
See https://support.symfonium.app/t/artist-picture-less-compressed/4447
2024-06-08 13:32:57 -04:00
Deluan
6d526870b7
Fix race condition in external metadata retrieval
2024-06-06 21:01:35 -04:00
Deluan
34678611c0
Small refactoring
2024-06-06 20:15:34 -04:00
Deluan
0f7d6b5bc4
More micro-optimizations
2024-06-06 07:11:43 -04:00
Deluan
939f3eee97
Initialize Index Groups regex just once
2024-06-05 23:00:36 -04:00
Deluan
b4ef1b1e38
Replace gg.If with cmp.Or
2024-06-05 22:48:00 -04:00
Deluan
11bef060a3
Small refactoring
2024-06-05 22:40:22 -04:00
Deluan
abe5690018
Refactor string utilities into its own package str
2024-06-05 22:09:27 -04:00
Deluan
46fc38bf61
Fix tests expectations
2024-06-05 19:54:25 -04:00
dependabot[bot]
6d8d519807
Bump prettier from 3.2.5 to 3.3.0 in /ui ( #3069 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.2.5 to 3.3.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.2.5...3.3.0 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
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-06-03 14:02:49 -04:00
dependabot[bot]
da9cf22b6b
Bump github.com/spf13/viper from 1.18.2 to 1.19.0 ( #3068 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.18.2 to 1.19.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.18.2...v1.19.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
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-06-03 13:25:33 -04:00
Deluan
8c3919d6a0
Simplify dbx wrapper
2024-06-01 15:01:28 -04:00
dependabot[bot]
4df69bd334
Bump github.com/onsi/ginkgo/v2 from 2.17.3 to 2.19.0 ( #3054 )
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.17.3 to 2.19.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.17.3...v2.19.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/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-27 14:10:56 -04:00
Deluan
ee73a9d297
Small optimization in MediaFiles.ToAlbum()
2024-05-26 14:28:23 -04:00
Caio Cotts
0488fb92cb
Fix image stuttering ( #3035 )
...
* Fix image stuttering.
* Fix docker publishing for PRs
* Write tests for new square parameter.
* Simplify code for createImage.
---------
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
2024-05-24 20:19:26 -04:00
Deluan
61903facdf
Revert isDBInitialized
2024-05-22 16:20:57 -04:00
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 5d41165b5b .
2024-05-18 11:54:16 -04:00
Deluan
1c0551f4f7
Revert "Fix docker publishing for PRs"
...
This reverts commit 15c9a0ded3 .
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
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
Deluan
747069b229
Remove unused code
2024-05-09 07:47:32 -04:00
Deluan
885cd345ab
Clean up runNavidrome function
2024-05-09 07:44:08 -04:00
Deluan Quintão
c4b05dac28
Make sorting lists by name/title case-insensitive ( #2993 )
...
* Make sort by order_* fields case-insensitive.
* Sort internet radios by name case-insensitive
2024-05-09 07:08:15 -04:00
Deluan Quintão
6408dda948
Terminate all MPV instances when stopping Navidrome ( #3008 )
...
* Terminate all mpv instances when stopping Navidrome
* Exit trackSwitcher goroutine when terminating
* Remove potential race condition when starting the Playback device
* Fix lint error
* Removed unused and unneeded vars/functions
* Use device short name in log
* Small refactor
* Small nitpick
* Make start functions more uniform
2024-05-09 06:57:24 -04:00
Deluan
677d9947f3
Make dependency injection more consistent
2024-05-08 22:21:38 -04:00
Deluan
a0290587b9
Fix migration package name mismatch
2024-05-08 19:54:48 -04:00
Deluan
eb93136b3f
Change default transcodings to a proper typed struct
2024-05-08 17:39:25 -04:00
Deluan
62cc8a2d4b
Fix ambiguous column when sorting media_files by created_at.
...
Fix #3006
2024-05-08 08:24:26 -04:00
Deluan
dd4374cec6
Limit access to Jukebox for admins only (configurable).
...
Closes #2849
2024-05-07 19:35:43 -04:00
Deluan
86567f5406
Bump Go dependencies
2024-05-07 19:26:02 -04:00
Matthias Schmidt
ff8dca5abe
Guard against missing active track ( #2996 )
...
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
2024-05-07 19:22:39 -04:00
Matthias Schmidt
b3d70e9264
Persist adjusted volume ( #2997 )
...
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
2024-05-07 19:21:35 -04:00
Ludovic Fernandez
4d29184998
Improves golangci-lint configuration and workflow ( #3004 )
...
* chore: the default Go version is based on the go.mod
* chore: use linter configuration instead of exclude-rules
* chore: update workflow
2024-05-07 18:52:26 -04:00
Deluan
2470471b2b
Pin golangci-lint-action version as a workaround to fix the pipeline.
...
See https://github.com/golangci/golangci-lint/issues/4695
2024-05-06 21:53:47 +02:00
Deluan
544ae90ec1
Fix CollapsibleComment in PlaylistDetails. Closes #2992
2024-05-02 13:48:10 -04:00
Deluan
aef49cb8d6
Add HTTPSecurityHeaders.CustomFrameOptionsValue option.
...
Requested in https://github.com/navidrome/navidrome/issues/248#issuecomment-1783768985
2024-05-02 12:35:16 -04:00
Deluan
7c5eec715d
Fix typo
2024-05-01 23:09:11 -04:00
Kendall Garner
a4c2232041
Sort repeated lyrics that may be out of order ( #2989 )
...
With synchronized lyrics with repeated text, there is not a guarantee that the repeat is in order (e.g. `[00:00.00][00:10.00] a\n[00:05.00]b`).
This change will post-process lyrics with repeated timestamps in one line to ensure that it is always sorted.
2024-05-01 21:54:46 -04:00
Deluan
8f11b991d2
Bump Go dependencies
2024-05-01 20:40:34 -04:00
Deluan
d4a9a9e555
Fix PlaylistTracks's loadAllGenres. Fix #2988
2024-05-01 20:17:42 -04:00
Deluan
a8955f24e0
Fix AlbumPlayCountMode. Closes #2984
2024-05-01 20:05:36 -04:00
Deluan
2c06a4234e
Fix int types in OpenSubsonic responses.
...
Refer to https://support.symfonium.app/t/symfonium-sync-crashes-when-tpos-is-not-an-int/4204
2024-05-01 13:57:11 -04:00
Deluan
7ab7b5df5e
Fix signaler on Windows
2024-04-28 18:32:28 -04:00
Deluan
3d9fff36f7
Use signal.NotifyContext
2024-04-28 17:44:11 -04:00
Deluan
31fcab07d2
Refactor loadGenres, remove duplication
2024-04-28 17:04:12 -04:00
Deluan
de90152a71
Refactor DB Album mapping to model.Album
2024-04-28 13:51:57 -04:00
Deluan
27875ba2dd
Load mime_types from external file
2024-04-28 12:18:24 -04:00
Deluan
28f7ef43c1
Remove AlbumPlayCountMode from command line options
2024-04-27 20:39:16 -04:00
Deluan
92a98cd558
Add tests for AlbumPlayCountMode, change the calc to match the request from #1032
2024-04-27 15:20:46 -04:00
Deluan
5d50558610
Add tests for AlbumPlayCountMode
2024-04-27 15:07:50 -04:00
vvdveen
8bff1ad512
Add AlbumPlayCountMode config option ( #2803 )
...
Closes #1032
* feat(album_repository.go): add kodi-style album playcount option - #1032
Signed-off-by: Victor van der Veen <vvdveen@gmail.com >
* fix format issue and remove reference to kodi (now normalized)
Signed-off-by: Victor van der Veen <vvdveen@gmail.com >
* reduced complexity but added rounding
Signed-off-by: Victor van der Veen <vvdveen@gmail.com >
* Use constants for AlbumPlayCountMode values
---------
Signed-off-by: Victor van der Veen <vvdveen@gmail.com >
Co-authored-by: Deluan <deluan@navidrome.org >
2024-04-27 14:10:40 -04:00
crazygolem
1e96b858a9
Add support for Reverse Proxy auth in Subsonic endpoints ( #2558 )
...
* feat(subsonic): Add support for Reverse Proxy auth - #2557
Signed-off-by: Jeremiah Menétrey <superjun1@gmail.com >
* Small refactoring
---------
Signed-off-by: Jeremiah Menétrey <superjun1@gmail.com >
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
2024-04-27 13:47:42 -04:00
Deluan
aafd5a952c
Bump github.com/spf13/viper from 1.15.0 to 1.18.2
2024-04-26 22:11:43 -04:00
Deluan Quintão
d9cd5efd67
Bump Go dependencies ( #2976 )
...
* Fix build
* Bump dependencies
2024-04-26 18:21:10 -04:00
Deluan
affa9c3478
Bump github.com/pressly/goose/v3 from 3.19.2 to 3.20.0
2024-04-26 18:07:06 -04:00
Anna Smith
651a8fdaf9
Fix typo in comment ( #2974 )
2024-04-26 17:59:39 -04:00
Deluan
f7fc17c0f7
Add OpenSubsonic channelCount
2024-04-26 17:51:04 -04:00
Deluan
f5df948eb1
Fix scrobble error spam in the logs.
...
Relates to #2831 and #2975
2024-04-26 16:59:14 -04:00
crazygolem
18143fa5a1
Use the RealIP middleware also behind a reverse proxy ( #2858 )
...
* Use the RealIP middleware only behind a reverse proxy
* Fix proxy ip source in tests
* Fix test for PR#2087
The PR did not update the test after changing the behavior, but the test still
passed because another condition was preventing the user from being created in
the test.
* Use RealIP even without a trusted reverse proxy
* Use own type for context key
* Fix casing to follow go's conventions
* Do not apply RealIP middleware twice
* Fix IP source in logs
The most interesting data point in the log message is the proxy's IP, but
having the client IP too can help identify integration issues.
2024-04-25 20:43:58 -04:00
Tim
8f9ed1b994
Handling long playlist comments ( #2973 )
...
Closes #1737
* wrapping playlist comment in a <Collapse> element
* Extract common collapsible logic into a component
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2024-04-25 20:28:25 -04:00
dependabot[bot]
cf66594b6d
Bump github.com/onsi/gomega from 1.32.0 to 1.33.0 ( #2968 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.32.0 to 1.33.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.32.0...v1.33.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
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-04-22 17:09:51 -04:00
Deluan
ca005f6457
Include MPV in release Docker image. Refers to #2910
2024-04-21 21:02:36 -04:00
Deluan
6dcfe4d455
Fix typo
2024-04-20 13:16:50 -04:00
Deluan
7871d69adb
Allow comments in the NSP file.
...
See comment https://github.com/navidrome/navidrome/issues/1417#issuecomment-2064731407
2024-04-20 12:50:45 -04:00
Deluan
78182f40d6
Block regular users from changing their own playlists ownership
2024-04-20 12:08:07 -04:00
Deluan
9aeaaa6610
Fix issue in https://github.com/navidrome/navidrome/issues/2767#issuecomment-2065636352
2024-04-19 12:38:02 -04:00
dependabot[bot]
068c1e9a23
Bump golang.org/x/net from 0.21.0 to 0.23.0 ( #2962 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 09:15:08 -04:00
Jonathan
bcec15dc13
Externalize MPV command template ( #2948 )
...
* externalise MPVTemplate
* Remove unnecessary comment
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2024-04-15 21:31:54 -04:00
dependabot[bot]
cf6603e3ec
Bump react-icons from 5.0.1 to 5.1.0 in /ui ( #2957 )
...
Bumps [react-icons](https://github.com/react-icons/react-icons ) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/react-icons/react-icons/releases )
- [Commits](https://github.com/react-icons/react-icons/compare/v5.0.1...v5.1.0 )
---
updated-dependencies:
- dependency-name: react-icons
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-04-15 14:35:00 -04:00
dependabot[bot]
88d6757121
Bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 ( #2956 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.0...v2.2.1 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 14:34:33 -04:00
Andrew Katsikas
c2f932c21c
Fix jukebox mode under Windows ( #2774 )
...
* bug(core/playback/mpv): jukebox mode under windows - #2767
Use named pipe for socket path under windows during mpv playback, change function name, unexport function
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
* bug(core/playback/mpv): jukebox mode under windows - #2767
Fix typo
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
* bug(core/playback/mpv): jukebox mode under windows - navidrome#2767
Early return for Close on Windows
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
* bug(core/playback/mpv): jukebox mode under windows - navidrome#2767
Update import and run prettier
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
* bug(core/playback/mpv): jukebox mode under windows - navidrome#2767
Update function name
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
* bug(core/playback/mpv): jukebox mode under windows - navidrome#2767
Create track_close files for both platforms and move MpvTrack Close into new file
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
* bug(core/playback/mpv): jukebox mode under windows - navidrome#2767
Create SocketName function for both platforms, restore name of TempFileName
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
* bug(core/playback/mpv): jukebox mode under windows - navidrome#2767
Add missing params to SocketName on windows
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
* Unexport SocketName, use socketName in NewTrack
---------
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
2024-04-14 13:50:37 -04:00
Deluan
d968f7f530
Remove deprecation warning about notify
2024-04-13 15:27:54 -04:00
dependabot[bot]
5fc78f120c
Bump prettier from 3.2.2 to 3.2.5 in /ui ( #2844 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.2.2 to 3.2.5.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.2.2...3.2.5 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 15:10:03 -04:00
dependabot[bot]
52dfa97262
Bump @testing-library/jest-dom from 6.2.0 to 6.4.2 in /ui ( #2845 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.2.0 to 6.4.2.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.2.0...v6.4.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
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-04-13 15:09:53 -04:00
dependabot[bot]
c1eef058a4
Bump follow-redirects from 1.15.4 to 1.15.6 in /ui ( #2911 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 15:09:34 -04:00
Deluan
7f551a7932
Add make target to build docker image
2024-04-13 13:29:45 -04:00
oftenoccur
bcb71b85c0
Fix some typos in comments ( #2949 )
...
Signed-off-by: oftenoccur <ezc5@sina.com >
2024-04-11 14:58:14 -04:00
Deluan
8720bd154f
Ignore formatting diffs when checking for POEditor changes
2024-04-11 14:55:53 -04:00
Cyrille
699be19bb9
Fix a few mistakes in the French translation ( #2872 )
...
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
2024-04-10 19:37:08 -04:00
looklose
22cc9e0cd5
Fix function name in comment ( #2947 )
...
Signed-off-by: looklose <shishuaiqun@yeah.net >
2024-04-10 12:53:21 -04:00
dependabot[bot]
6e36abdd62
Bump github.com/go-chi/jwtauth/v5 from 5.3.0 to 5.3.1
...
Bumps [github.com/go-chi/jwtauth/v5](https://github.com/go-chi/jwtauth ) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/go-chi/jwtauth/releases )
- [Commits](https://github.com/go-chi/jwtauth/compare/v5.3.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/jwtauth/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-09 20:45:43 -04:00
dependabot[bot]
e98c7374a9
Bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.1.1...v2.2.0 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-09 20:45:27 -04:00
Deluan Quintão
de7f553526
Update Go to 1.22.2 and TagLib to 2.0.1 ( #2946 )
2024-04-09 19:00:38 -04:00
dependabot[bot]
9cc0cc2e93
Bump github.com/pressly/goose/v3 from 3.18.0 to 3.19.2
...
Bumps [github.com/pressly/goose/v3](https://github.com/pressly/goose ) from 3.18.0 to 3.19.2.
- [Release notes](https://github.com/pressly/goose/releases )
- [Changelog](https://github.com/pressly/goose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pressly/goose/compare/v3.18.0...v3.19.2 )
---
updated-dependencies:
- dependency-name: github.com/pressly/goose/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-08 19:52:34 -04:00
dependabot[bot]
24298605d4
Bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.17.1
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.15.0 to 2.17.1.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.15.0...v2.17.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-08 19:46:24 -04:00
Deluan
4865d04ec6
Fix DiscTitle OpenSubsonic compatibility. Closes #2929
2024-04-08 19:05:36 -04:00
dependabot[bot]
81770351de
Bump github.com/onsi/gomega from 1.31.1 to 1.32.0
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.31.1 to 1.32.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.31.1...v1.32.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-08 19:03:15 -04:00
dependabot[bot]
b6bbba754a
Bump golang.org/x/sync from 0.6.0 to 0.7.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.6.0 to 0.7.0.
- [Commits](https://github.com/golang/sync/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-08 18:57:52 -04:00
deluan
4f6121fae1
Update translations
2024-04-03 07:31:54 -04:00
Kendall Garner
f12dfb485a
Expose OpenSubsonic release date for album ( #2906 )
...
* [enhancement]: OS expose release date for album, make original optional
* not optional
* remove omitempty
2024-04-03 07:30:01 -04:00
Deluan
e81bf5125f
Bump actions versions
2024-04-02 19:37:59 -04:00
dependabot[bot]
a47acb6674
Bump github.com/lestrrat-go/jwx/v2 from 2.0.20 to 2.0.21
...
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx ) from 2.0.20 to 2.0.21.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.20...v2.0.21 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-26 11:54:28 -04:00
dependabot[bot]
4a15677474
Bump google.golang.org/protobuf from 1.32.0 to 1.33.0
...
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-26 11:53:51 -04:00
Deluan
859cdda0bd
Bump Go dependencies
2024-03-03 21:30:28 -05:00
Deluan
87ecd118bb
Bump goose to 3.18.0.
...
To fix the ambiguous import issue, I used:
go get -u google.golang.org/genproto/googleapis/rpc
2024-03-03 21:27:33 -05:00
Deluan
5abe156777
Logs don't panic when receiving a nil *time.Time
2024-02-18 13:06:01 -05:00
Deluan
fa72aaa462
Move TempFileName to utils
2024-02-18 12:52:06 -05:00
Deluan
6eb13c9f79
Run Test job in ci-goreleaser container
2024-02-18 12:52:06 -05:00
Deluan
b67d1c0830
Show taglib and ffmpeg versions in the log
2024-02-18 12:52:06 -05:00
Deluan
effd588406
Stop using deprecated TagLib method length
2024-02-18 12:52:06 -05:00
Deluan
6f4c55dbde
Use new ci-goreleaser (with TagLib 2)
2024-02-18 12:52:06 -05:00
Deluan
176329343a
Send Subsonic formatted response on marshalling errors
2024-02-17 10:39:29 -05:00
Deluan
97c7e5daaf
Use new slices package from Go standard lib
2024-02-16 22:00:44 -05:00
Deluan
166eb37787
Use Go builtin min/max func
2024-02-16 21:53:16 -05:00
Deluan
f7a4387d0e
Bump github.com/jellydator/ttlcache/v2 to v2.11.1
2024-02-16 21:42:22 -05:00
Deluan
71e5b271fb
Bump github.com/xrash/smetrics version
2024-02-16 20:52:23 -05:00
Deluan
d51148ea4c
Bump github.com/go-chi/chi/v5 to v5.0.12
2024-02-16 20:51:30 -05:00
Deluan
7cb8cc115e
Bump github.com/mattn/go-sqlite3 to v1.14.22
2024-02-16 20:50:45 -05:00
Deluan
69d91189c2
Upgrade ginkgo and gomega
2024-02-16 20:49:37 -05:00
Deluan
88063fc189
Upgrade ginkgo and gomega
2024-02-16 20:47:53 -05:00
Deluan
912e144b71
Bump github.com/google/uuid to 1.6.0
2024-02-16 20:46:41 -05:00
Deluan
87484fe7a9
Bump github.com/google/wire to 0.6.0
2024-02-16 20:45:11 -05:00
Deluan
58f64355c2
Bump golang.org/x/exp version
2024-02-16 20:43:12 -05:00
Deluan Quintão
7167e5ac87
Upgrade to Go 1.22 and Node v20 ( #2861 )
...
* Remove workaround for missing `context.WithoutCancel` in Go 1.20
* Upgrade to Go 1.22
* Upgrade GitHub Actions
* Upgrade Node to v20
2024-02-16 20:29:16 -05:00
Deluan
d8e1748928
Return 500 in case of Subsonic response marshalling errors
2024-02-16 19:59:24 -05:00
Deluan
9a051967f6
Handle "Infinity" values for ReplayGain. Fix #2862
2024-02-16 18:44:58 -05:00
Deluan
0b2cf30096
Don't swallow marshalling errors in the Subsonic API
2024-02-16 18:43:36 -05:00
Deluan
6d253225de
Use order/sort album/artist when sorting tracks in playlists. Fixes #2819
2024-02-15 21:52:00 -05:00
Caio Cotts
bf2bcb1279
Fix null values in DB ( #2840 )
...
* Fix album image_files being null.
* Fix small nitpick.
* Use ExecContext instead of Exec.
* Change more columns to not null and set default values.
* Remove columns that don't need to be changed from migration.
* Fix typo.
* Remove unnecessary select statements.
* Remove duplicate code.
* Do not apply changes to radio table.
* Do not apply changes full_text columns and respective indexes.
* Fix musicbrainz columns.
* Rename migration.
* Make ExternalInfoUpdatedAt nullable
* Make Share's timestamps nullable
---------
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
2024-02-07 20:45:08 -05:00
Deluan Quintão
ac4ceab143
Update French translation ( #2834 )
...
Co-authored-by: deluan <deluan@users.noreply.github.com >
2024-02-05 20:10:21 -05:00
Deluan
6226741517
Create resources.FS only once
2024-02-03 12:05:19 -05:00
Deluan
79a4d8f6ad
Simplify ShortDur code and tests
2024-02-02 21:07:27 -05:00
Deluan Quintão
61257f89d2
Update translations ( #2832 )
...
Co-authored-by: deluan <deluan@users.noreply.github.com >
2024-01-30 07:25:42 -05:00
Deluan
1f71e56741
Don't expose Last.fm API Key in the index.html
2024-01-29 21:42:27 -05:00
Kendall Garner
3a9b3452a2
Set rating value to 0 when value is null ( #2824 )
2024-01-29 06:26:15 -05:00
Deluan
5125558f52
Make Subsonic search query default to "" if not present.
...
See https://github.com/orgs/music-assistant/discussions/414#discussioncomment-8265985
2024-01-27 20:00:02 -05:00
Deluan
5f9b6b632d
Add a "upgrading schema" log message to the DB initialization when there are pending migrations.
2024-01-27 19:44:49 -05:00
Deluan
fa7cc40d23
Add tests for toSQL
2024-01-27 12:16:38 -05:00
caiocotts
58218e6dc4
Fix fields not being sent on getPlaylist.view responses.
2024-01-26 12:41:55 -05:00
Deluan
67c82f524b
"Fix" Reddit badge
2024-01-24 20:24:13 -05:00
Deluan
fb7fd21984
Don't add empty TIPL roles
2024-01-24 19:22:25 -05:00
Deluan
a6fc84a2e1
Parse the ID3v2.4 TIPL frame
2024-01-23 20:50:43 -05:00
Deluan
1e5e8be192
Import ID3 sort_* tags
2024-01-23 18:07:11 -05:00
Deluan
fd61b29a84
Small readability improvement in MergeFS tests
2024-01-21 16:20:47 -05:00
Deluan
2b33ef72e3
Remove offset and limit from count queries. Fixes #2443
2024-01-20 22:02:05 -05:00
Deluan
2fb913f5c9
Add log message to try to capture error in #2735
2024-01-20 20:18:59 -05:00
Deluan
6c05493cda
Improve some Jukebox error messages
2024-01-20 20:10:32 -05:00
Deluan
3ca4f44118
Simplify default middlewares setup
2024-01-20 19:17:21 -05:00
Deluan
34c29a156f
Simplify RealIP middleware setup
2024-01-20 18:58:12 -05:00
dependabot[bot]
b442736a0f
Bump connected-react-router from 6.9.1 to 6.9.3 in /ui ( #2741 )
...
Bumps [connected-react-router](https://github.com/supasate/connected-react-router ) from 6.9.1 to 6.9.3.
- [Release notes](https://github.com/supasate/connected-react-router/releases )
- [Commits](https://github.com/supasate/connected-react-router/compare/v6.9.1...v6.9.3 )
---
updated-dependencies:
- dependency-name: connected-react-router
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 18:42:43 -05:00
dependabot[bot]
90fccf00d1
Bump workbox-cli from 6.5.4 to 7.0.0 in /ui ( #2737 )
...
Bumps [workbox-cli](https://github.com/googlechrome/workbox ) from 6.5.4 to 7.0.0.
- [Release notes](https://github.com/googlechrome/workbox/releases )
- [Commits](https://github.com/googlechrome/workbox/compare/v6.5.4...v7.0.0 )
---
updated-dependencies:
- dependency-name: workbox-cli
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 18:38:44 -05:00
dependabot[bot]
bcd4a52616
Bump golang.org/x/sync from 0.5.0 to 0.6.0 ( #2779 )
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.5.0 to 0.6.0.
- [Commits](https://github.com/golang/sync/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
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-01-20 18:37:46 -05:00
dependabot[bot]
84cffa6b94
Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 ( #2759 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
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-01-20 18:37:01 -05:00
dependabot[bot]
a51b1b25d2
Bump uuid from 8.3.2 to 9.0.1 in /ui ( #2740 )
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 8.3.2 to 9.0.1.
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v8.3.2...v9.0.1 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 18:36:14 -05:00
dependabot[bot]
9f317c054b
Bump @testing-library/user-event from 14.5.1 to 14.5.2 in /ui ( #2757 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 14.5.1 to 14.5.2.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v14.5.1...v14.5.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 18:35:20 -05:00
dependabot[bot]
5f8d01a207
Bump clsx from 2.0.0 to 2.1.0 in /ui ( #2758 )
...
Bumps [clsx](https://github.com/lukeed/clsx ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/lukeed/clsx/releases )
- [Commits](https://github.com/lukeed/clsx/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: clsx
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-01-20 18:35:08 -05:00
dependabot[bot]
8a648d717a
Bump github.com/go-chi/chi/v5 from 5.0.10 to 5.0.11 ( #2742 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.10 to 5.0.11.
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.0.10...v5.0.11 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 18:34:58 -05:00
dependabot[bot]
a0dc2ee051
Bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.1.1 ( #2760 )
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.0.6 to 2.1.1.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.6...v2.1.1 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/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-01-20 18:32:53 -05:00
dependabot[bot]
ffb4de1e27
Bump github.com/unrolled/secure from 1.13.0 to 1.14.0 ( #2761 )
...
Bumps [github.com/unrolled/secure](https://github.com/unrolled/secure ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/unrolled/secure/releases )
- [Commits](https://github.com/unrolled/secure/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/unrolled/secure
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-01-20 18:31:50 -05:00
dependabot[bot]
e1fc7983a5
Bump golang.org/x/image from 0.14.0 to 0.15.0 ( #2778 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/image/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
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-01-20 18:31:18 -05:00
dependabot[bot]
2a43f54eb1
Bump follow-redirects from 1.15.2 to 1.15.4 in /ui ( #2786 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 18:30:55 -05:00
dependabot[bot]
f654e92113
Bump github.com/lestrrat-go/jwx/v2 from 2.0.18 to 2.0.19 ( #2792 )
...
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx ) from 2.0.18 to 2.0.19.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.18...v2.0.19 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 18:29:46 -05:00
flyingOwl
dfa453cc4a
Add (not)inplaylist operator to smart playlists ( #1884 )
...
Closes #1417
A smart playlist can use the playlist id for filtering. This can be
used to create combined playlists or to filter multiple playlists.
To filter by a playlist id, a subquery is created that will match the
media ids with the playlists within the playlist_tracks table.
Signed-off-by: flyingOwl <ofenfisch@googlemail.com >
2024-01-20 18:22:17 -05:00
Johannes Engl
8f03454312
Make server unix socket file permission configurable via flag UnixSocketPerm ( #2763 )
...
* feat(any): Add flag unixsocketperm with default 0017 - #2625
Signed-off-by: johannesengl <hello@johannesengl.com >
* feat(server): Update unix socket file perm based on config - #2625
Signed-off-by: johannesengl <hello@johannesengl.com >
* Fix default value of socket.
* Refactor unix socket file creation.
* Remove misplaced comment
---------
Signed-off-by: johannesengl <hello@johannesengl.com >
Co-authored-by: Caio Cotts <caio@cotts.com.br >
Co-authored-by: Deluan <deluan@navidrome.org >
2024-01-20 14:50:30 -05:00
dependabot[bot]
8570773b90
Bump prettier from 3.1.1 to 3.2.2 in /ui
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.1.1 to 3.2.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.1.1...3.2.2 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-18 09:23:10 -05:00
caiocotts
6cff91e17d
Use the default import path for jest-dom.
2024-01-17 17:07:43 -05:00
dependabot[bot]
d0df81a8df
Bump @testing-library/jest-dom from 5.16.5 to 6.2.0 in /ui
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.16.5 to 6.2.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.5...v6.2.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-17 17:07:43 -05:00
dependabot[bot]
75f3ef64e2
Bump react-icons from 4.4.0 to 5.0.1 in /ui
...
Bumps [react-icons](https://github.com/react-icons/react-icons ) from 4.4.0 to 5.0.1.
- [Release notes](https://github.com/react-icons/react-icons/releases )
- [Commits](https://github.com/react-icons/react-icons/compare/v4.4.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: react-icons
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-17 16:10:00 -05:00
dependabot[bot]
170ac93926
Bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.13.2 to 2.14.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.13.2...v2.14.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-17 15:58:57 -05:00
Deluan
6f7b48202e
Make the GetInstance concurrent test more readable
2023-12-28 16:50:07 -05:00
Deluan
6e2be7f95f
Don't force a full scan after upgrading the lyrics
2023-12-28 04:55:45 -05:00
Deluan
0d8f8e3afd
Optimize Singleton (sometimes a simple lock is a better solution)
2023-12-27 22:12:34 -05:00
Deluan
e50382e3bf
Fix ReplayGain values not being retrieved from DB
2023-12-27 21:14:54 -05:00
Kendall Garner
814161d78d
Add OS Lyrics extension ( #2656 )
...
* draft commit
* time to fight pipeline
* round 2 changes
* remove unnecessary line
* fight taglib. again
* make taglib work again???
* add id3 tags
* taglib 1.12 vs 1.13
* use int instead for windows
* store as json now
* add migration, more tests
* support repeated line, multiline
* fix ms and support .m, .mm, .mmm
* address some concerns, make cpp a bit safer
* separate responses from model
* remove [:]
* Add trace log
* Try to unblock pipeline
* Fix merge errors
* Fix SIGSEGV error (proper handling of empty frames)
* Add fallback artist/title to structured lyrics
* Rename conflicting named vars
* Fix tests
* Do we still need ffmpeg in the pipeline?
* Revert "Do we still need ffmpeg in the pipeline?"
Yes we do.
This reverts commit 87df7f6df7 .
* Does this passes now, with a newer ffmpeg version?
* Revert "Does this passes now, with a newer ffmpeg version?"
No, it does not :(
This reverts commit 372eb4b0ae .
* My OCD made me do it :P
---------
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
2023-12-27 20:20:29 -05:00
Deluan
130ab76c79
go mod tidy
2023-12-27 13:04:26 -05:00
Deluan
a186a795f6
Omit empty Genre attributes
2023-12-27 12:44:25 -05:00
Deluan
798b03eabd
Add "inspect" command to CLI
2023-12-27 12:41:28 -05:00
Deluan
ea7ba22699
Discard duplicated tags
2023-12-26 19:35:14 -05:00
Andrew Katsikas
b4815ecee5
Add TAK support ( #2745 )
...
* bug(consts/mime_types): tak-support - 2514
Add tak to mime_types audioFormats
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
* bug(scanner): tak-support - 2514
Add tak test fixture file and add fixes for tag_scanner and walk_dir_tree tests
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
* Remove comment
---------
Signed-off-by: apkatsikas <apkatsikas@gmail.com >
2023-12-26 18:39:15 -05:00
Deluan
51e07d4cb5
Add log.IsGreaterOrEqualTo, that take into consideration path-scoped log levels
2023-12-25 16:35:16 -05:00
Deluan
03119e5ccf
Add more trace log to TagLib Wrapper
2023-12-23 14:10:38 -05:00
Deluan Quintão
15e1394fa3
Implement originalReleaseDate in OpenSubsonic responses. ( #2733 )
...
See https://github.com/opensubsonic/open-subsonic-api/pull/80
2023-12-22 21:03:55 -05:00
Deluan
3f349b1b58
Add todo as a reminder to replace min/max in Go 1.22
2023-12-21 19:19:46 -05:00
Deluan
dfcc189cff
Replace all utils.Param* with req.Params
2023-12-21 17:41:09 -05:00
Deluan
00597e01e9
Add req.Params to replace utils.Param*
2023-12-21 16:32:37 -05:00
Dany Marcoux
965fc9d9be
Remove beep and the files where it was imported ( #2731 )
...
Beep isn't needed anymore since we rely on MPV instead.
The changes to `go.mod` and `go.sum` were done with:
```
go get github.com/faiface/beep@none
go mod tidy
```
Signed-off-by: Dany Marcoux <git@dmarcoux.com >
2023-12-21 08:00:31 -05:00
Deluan Quintão
781ff40464
Bump Go version to 1.21.5 ( #2729 )
2023-12-20 20:02:40 -05:00
Deluan
a6ed0442f2
Name mapDates return values
2023-12-20 16:29:39 -05:00
dependabot[bot]
515efe37f0
Bump @testing-library/user-event from 13.5.0 to 14.5.1 in /ui
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.5.0 to 14.5.1.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v13.5.0...v14.5.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-19 13:18:13 -05:00
dependabot[bot]
6c28c111bb
Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /ui
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md )
- [Commits](https://github.com/adobe/css-tools/commits )
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-19 12:34:13 -05:00
dependabot[bot]
92a88ad4d9
Bump golang.org/x/crypto from 0.16.0 to 0.17.0 ( #2722 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 17:45:37 -05:00
dependabot[bot]
4ccc0a92bf
Bump jwt-decode from 3.1.2 to 4.0.0 in /ui ( #2714 )
...
* Bump jwt-decode from 3.1.2 to 4.0.0 in /ui
Bumps [jwt-decode](https://github.com/auth0/jwt-decode ) from 3.1.2 to 4.0.0.
- [Release notes](https://github.com/auth0/jwt-decode/releases )
- [Changelog](https://github.com/auth0/jwt-decode/blob/main/CHANGELOG.md )
- [Commits](https://github.com/auth0/jwt-decode/compare/v3.1.2...v4.0.0 )
---
updated-dependencies:
- dependency-name: jwt-decode
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Make jwt-decode a named import.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Caio Cotts <caio@cotts.com.br >
2023-12-18 17:28:42 -05:00
dependabot[bot]
df3de047ca
Bump clsx from 1.1.1 to 2.0.0 in /ui
...
Bumps [clsx](https://github.com/lukeed/clsx ) from 1.1.1 to 2.0.0.
- [Release notes](https://github.com/lukeed/clsx/releases )
- [Commits](https://github.com/lukeed/clsx/compare/v1.1.1...v2.0.0 )
---
updated-dependencies:
- dependency-name: clsx
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 15:15:00 -05:00
Caio Cotts
86757663d6
Reformat code with Prettier's new rules.
2023-12-18 15:12:24 -05:00
dependabot[bot]
735d670a5b
Bump prettier from 2.8.2 to 3.1.1 in /ui
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.2 to 3.1.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.2...3.1.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 15:12:24 -05:00
dependabot[bot]
30179146c3
Bump deepmerge from 4.2.2 to 4.3.1 in /ui
...
Bumps [deepmerge](https://github.com/TehShrike/deepmerge ) from 4.2.2 to 4.3.1.
- [Changelog](https://github.com/TehShrike/deepmerge/blob/master/changelog.md )
- [Commits](https://github.com/TehShrike/deepmerge/compare/v4.2.2...v4.3.1 )
---
updated-dependencies:
- dependency-name: deepmerge
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 14:22:11 -05:00
dependabot[bot]
03a9f22ed9
Bump @material-ui/icons from 4.11.2 to 4.11.3 in /ui
...
Bumps [@material-ui/icons](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui-icons ) from 4.11.2 to 4.11.3.
- [Release notes](https://github.com/mui-org/material-ui/releases )
- [Changelog](https://github.com/mui/material-ui/blob/v4.11.3/CHANGELOG.md )
- [Commits](https://github.com/mui-org/material-ui/commits/v4.11.3/packages/material-ui-icons )
---
updated-dependencies:
- dependency-name: "@material-ui/icons"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 14:17:25 -05:00
dependabot[bot]
39e92a1918
Bump github.com/mattn/go-sqlite3 from 1.14.18 to 1.14.19
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.18 to 1.14.19.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.18...v1.14.19 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 14:07:07 -05:00
Deluan
421ce91a9e
Fix mpvipc dependency
2023-12-17 13:57:15 -05:00
Deluan
12aae5e951
Some cleanup in the jukebox code, specially log messages
2023-12-17 13:15:47 -05:00
Deluan
932152eb7e
Change required fields in Subsonic Jukebox endpoint
...
See discussion here: https://gitlab.com/ultrasonic/ultrasonic/-/issues/1266#note_1621953651
2023-12-17 13:15:47 -05:00
Deluan
0e3175ea17
Better workaround for Go 1.20 missing context.WithoutCancel
2023-12-16 13:33:03 -05:00
Deluan
d3f6b4692d
Temporary fix for scan context cancellation for Go 1.20
2023-12-15 07:59:34 -05:00
Deluan
70effa09e8
Don't cancel Scan on context cancellation
2023-12-14 22:52:48 -05:00
Deluan
7ccf685973
Fix PreferSortTags
2023-12-14 21:45:47 -05:00
Deluan
2aef227572
Add context to SQL queries, enabling cancellation
2023-12-14 17:13:09 -05:00
Deluan
d80e1a260b
Fix possible authentication bypass
2023-12-13 19:32:05 -05:00
dependabot[bot]
fd4605d7dc
Bump github.com/mattn/go-zglob from 0.0.3 to 0.0.4 ( #2015 )
...
Bumps [github.com/mattn/go-zglob](https://github.com/mattn/go-zglob ) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/mattn/go-zglob/releases )
- [Commits](https://github.com/mattn/go-zglob/compare/v0.0.3...v0.0.4 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-zglob
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 17:27:42 -05:00
Deluan
a6493c4c36
Bump github.com/google/uuid to v1.5.0
2023-12-13 16:47:05 -05:00
Kendall Garner
54597bd575
Allow reverse proxy auth for unix socket ( #2701 )
2023-12-12 06:06:27 -05:00
Deluan Quintão
ab53313273
Add new PrefSortTags option ( #2696 )
2023-12-11 20:37:11 -05:00
Deluan
d3669f46a9
go mod tidy
2023-12-11 19:03:27 -05:00
Deluan
d89de9060a
Bump Go dependencies
2023-12-11 17:25:14 -05:00
Deluan
ac3668a33e
Removed unused diodes package
2023-12-11 17:22:10 -05:00
dependabot[bot]
6d924ad742
Bump github.com/go-chi/jwtauth/v5 from 5.2.0 to 5.3.0 ( #2699 )
...
Bumps [github.com/go-chi/jwtauth/v5](https://github.com/go-chi/jwtauth ) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/go-chi/jwtauth/releases )
- [Commits](https://github.com/go-chi/jwtauth/compare/v5.2.0...v5.3.0 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/jwtauth/v5
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>
2023-12-11 13:41:03 -05:00
Deluan
78d557c185
Remove LastFM shared key
2023-12-10 21:11:40 -05:00
Deluan
546aa26a0a
Removed duplicated code
2023-12-09 14:11:07 -05:00
dependabot[bot]
fc677f7951
Bump github.com/lestrrat-go/jwx/v2 from 2.0.17 to 2.0.18 ( #2684 )
...
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx ) from 2.0.17 to 2.0.18.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.17...v2.0.18 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-09 14:04:56 -05:00
Deluan
aed0309161
Return AlbumID3 in search3 results
2023-12-09 14:01:22 -05:00
Deluan
465cc091b0
Convert internal disc number representation to int
2023-12-09 13:53:38 -05:00
Deluan
2c9035fdd0
Add discTitles to OpenSubsonic responses
2023-12-09 13:53:38 -05:00
Deluan
af7eead037
Add discs to album
2023-12-09 13:53:38 -05:00
Deluan Quintão
0ca0d5da22
Replace beego/orm with dbx ( #2693 )
...
* Start migration to dbx package
* Fix annotations and bookmarks bindings
* Fix tests
* Fix more tests
* Remove remaining references to beego/orm
* Add PostScanner/PostMapper interfaces
* Fix importing SmartPlaylists
* Renaming
* More renaming
* Fix artist DB mapping
* Fix playlist updates
* Remove bookmarks at the end of the test
* Remove remaining `orm` struct tags
* Fix user timestamps DB access
* Fix smart playlist evaluated_at DB access
* Fix search3
2023-12-09 13:52:17 -05:00
dependabot[bot]
7074455e0e
Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.13.1...v2.13.2 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-08 21:35:42 -05:00
caiocotts
2f2fbeb009
Fix ld warnings on taglib_wrapper.
2023-12-04 15:19:12 -05:00
Kendall Garner
742fd16a01
Parse more itunes keys, optimize taglib wrapper ( #2680 )
...
* parse more itunes keys
* Move special iTunes M4A logic to Go code
* Simplify ASF/WMA tags handling
* Simplify ASF/WMA tags handling even more, moving compilation logic to `metadata` normalizer
* Remove strdups from C++ code, `C.GoString` already duplicates the strings
* reduced set
* remove strdup
* Small nitpick
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2023-12-03 14:19:16 -05:00
Deluan Quintão
7766ee069c
Return http form post extension (OpenSubsonic) ( #2676 )
2023-12-02 19:46:57 -05:00
Deluan
4cd7c7f39f
Fix FileHaunter tests
2023-12-02 19:40:59 -05:00
Deluan
81daee3b9b
Fix FileHaunter tests
2023-12-02 18:43:24 -05:00
Deluan
9b434d743f
Ignore flaky FileHaunter tests
2023-12-02 18:32:48 -05:00
Deluan
4641dc0b2b
Add ReplayGain to OpenSubsonic API Child response
2023-12-02 15:28:44 -05:00
Deluan
812dc2090f
Add support for timeOffset in /stream endpoint
2023-12-02 13:10:36 -05:00
Deluan
a9cf54afef
Return genres in bookmark endpoints (OpenSubsonic)
2023-12-02 11:36:16 -05:00
Deluan
595186b1b2
Coalesce null annotation values, to better rank them against annotations with value 0
2023-12-02 11:35:54 -05:00
Deluan
cdccdc56c9
Add more OpenSubsonic fields
...
- isCompilation
- sortName
2023-11-28 21:26:00 -05:00
Deluan
f580c5b8bc
Add more OpenSubsonic fields
...
- mediaType
- musicBrainzId (Child)
2023-11-28 21:12:28 -05:00
deluan
f0e25c251d
Update translations
2023-11-28 06:10:03 -05:00
Deluan
abde399e7b
Upgrade to Goose 3.15.1
2023-11-27 14:46:44 -05:00
Deluan
1b4483d32b
Remove tools.go
2023-11-27 14:06:00 -05:00
Deluan
f7fe8ba938
npx update-browserslist-db@latest
2023-11-27 13:56:16 -05:00
Deluan
f543e7accc
Fix getOpenSubsonicExtensions endpoint
...
Match the current doc: https://opensubsonic.netlify.app/docs/endpoints/getopensubsonicextensions/
openSubsonicExtensions must be an array, not a struct
2023-11-27 13:27:10 -05:00
Deluan Quintão
60a5fbe1fe
Optimize search3, by removing OFFSET when paginating ( #2655 )
...
* Optimize pagination, removing offset
* For search, don't add `where` clause for empty queries
* Revert "Replace `COUNT(DISTINCT primary_key)` with `COUNT(*)`"
Genres are required as part of the count queries, so filter by genres work
* Optimize search3 query, using order by id if it is a "" query.
Also fix the optimizePagination query logic
* Allow offset optimizer threshold to be configured
2023-11-27 13:06:23 -05:00
Deluan
28dc98dec4
Revert "Replace COUNT(DISTINCT primary_key) with COUNT(*)"
...
Genres are required as part of the count queries, so filter by genres work
2023-11-25 23:08:20 -05:00
Deluan
8c8e1ea701
Replace COUNT(DISTINCT primary_key) with COUNT(*)
2023-11-25 22:46:15 -05:00
Deluan
b964018cd7
Show SQL errors in queryAll
2023-11-25 13:54:38 -05:00
Deluan
9aa7b80d0d
Generalize BreakUp/RangByChunks functions
2023-11-25 12:13:36 -05:00
Deluan
c3efc57259
Use TagLib 1.13.1 for snapshots/releases
2023-11-24 20:35:38 -05:00
Deluan
27a92b05e7
Fixed deprecated GoReleaser options
2023-11-24 18:08:34 -05:00
Deluan
21f1354cd1
Revert "Bump golang.org/x/exp, change slices.SortFunc function call"
...
This reverts commit 474f32f1
2023-11-24 17:57:22 -05:00
Deluan
069da5d91c
Bump Go to 1.21.4
2023-11-24 17:51:36 -05:00
Deluan
69d2ced852
Bump Go dependencies
2023-11-24 16:45:52 -05:00
Deluan
17ac8d25cb
Bump dependencies
2023-11-24 16:40:20 -05:00
Deluan
474f32f1b8
Bump golang.org/x/exp, change slices.SortFunc function call
2023-11-24 16:38:47 -05:00
Deluan
ecadcfb403
Make ParamInt generic (any int type)
2023-11-23 13:40:06 -05:00
Caio Cotts
f69c27d146
Return genres in search3 endpoint.
2023-11-21 21:34:03 -05:00
Caio Cotts
bb7186ce2f
Fix marshaling for genres.
2023-11-21 21:34:03 -05:00
dependabot[bot]
5d1493e845
Bump @adobe/css-tools from 4.0.1 to 4.3.1 in /ui
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.0.1 to 4.3.1.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md )
- [Commits](https://github.com/adobe/css-tools/commits )
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-21 08:47:14 -05:00
Deluan
d0fe406800
Fix Go 1.20 build
2023-11-21 08:32:22 -05:00
Deluan
c8fbf6b60e
Bump dependencies
2023-11-21 08:22:02 -05:00
deluan
e5bc3ca200
Update translations
2023-11-21 08:15:32 -05:00
tarokeitaro
6d88dd2c66
Add Indonesian Language
2023-11-21 08:06:51 -05:00
caiocotts
eebfbc5381
Revert walk_dir_tree.go back to using the os package.
2023-11-21 07:17:22 -05:00
Deluan
a5dfd2d4a1
Format subsonic response snapshots
2023-11-18 14:43:40 -05:00
Drew Weymouth
7773522803
Expose OpenSubsonic fields Genres, MusicBrainzId, Bpm, Comment ( #2597 )
...
* add Genres to subsonic responses
* add genres in GetAlbum response
* add musicBrainzId
* add Bpm and Comment OpenSubsonic fields
* remove omitempty on OpenSubsonic fields
* add custom JSON marshalers to ensure genres attribute is non-nil
* regenerate snapshots to capture now-mandatory fields
2023-11-18 14:40:00 -05:00
Deluan
53607fe114
Publish all new images to Docker Registry
2023-11-16 23:21:20 -05:00
Caio Cotts
fee0f40a52
Bump dependencies
2023-11-16 20:38:45 -05:00
Caio Cotts
9d2aaff8cb
Bump golang.org/x/tools from 0.13.0 to 0.15.0
2023-11-16 20:19:29 -05:00
Caio Cotts
2ff4023cce
Bump golang.org/x/image from 0.12.0 to 0.14.0
2023-11-16 20:16:25 -05:00
Kendall Garner
79870b1090
Do not empty old artist metadata ( #2423 )
2023-11-16 19:20:37 -05:00
Kendall Garner
7a858a2db3
Fix external link for artist page if LastFM is missinb but Musicbrainz is not ( #2533 )
...
* fix mbz link if lastfm does not exist
* use lastfmUrl field
* fix artist info undefined
2023-11-16 19:07:52 -05:00
dependabot[bot]
9cefaf66a4
Bump github.com/onsi/gomega from 1.29.0 to 1.30.0
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.29.0...v1.30.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-16 18:45:21 -05:00
Kendall Garner
3debd31b12
Add more replaygain tests, fix wma ( #2356 )
...
* add more replaygain tests, fix wma
* Convert individual specs to a table spec
* Fix pipeline, by commenting incompatible tests
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2023-11-14 20:25:18 -05:00
Deluan Quintão
24d9fb5b48
Update translations ( #2409 )
...
Co-authored-by: deluan <deluan@users.noreply.github.com >
2023-11-14 19:21:26 -05:00
certuna
40841ab917
Small date mapping fix ( #2584 )
...
* Update mapping.go
fallback in the case there's no Date tagged but Original Date or Release Date are tagged
* Add tests
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2023-11-11 17:13:07 -05:00
certuna
bae5fc946b
Fix hardcoded IPv4 literals ( #2602 )
...
* Update server_test.go
no hardcoded IPv4 literals
* Update package.json
no hardcoded IPv4 literals
2023-11-11 16:46:53 -05:00
Deluan
e055826068
Fix devcontainer for Go 1.21
2023-11-09 18:23:44 -05:00
dependabot[bot]
54bde266b4
Bump github.com/mattn/go-sqlite3 from 1.14.16 to 1.14.18
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.16 to 1.14.18.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.16...v1.14.18 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-07 18:24:08 -05:00
dependabot[bot]
3a7376901b
Bump golang.org/x/sync from 0.3.0 to 0.5.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.3.0 to 0.5.0.
- [Commits](https://github.com/golang/sync/compare/v0.3.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-07 18:19:32 -05:00
dependabot[bot]
de3d870100
Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-07 18:08:13 -05:00
certuna
03175e1a9d
Use file creation date for Date Added/CreatedAt ( #2553 )
...
* Update mapping.go
CreatedAt = BirthTime
* Update metadata.go
Add BirthTime() function
* Update spread_fs.go
Replacing djherbis/atime package with djherbis/times, as times includes the functionality of atime
* Update go.mod
remove djherbis/atime, add djherbis/times
* Update mapping.go
time package not used anymore
* Update go.sum
removed djherbis/atime, added djherbis/times
* Update spread_fs.go
revert to previous, cannot get rid of /atime after all since it's a dependency of /fscache
* Update go.mod
djherbis/times 1.6.0 now released
* Update go.sum
new sums
* Update metadata.go
Inverted if statement, more readable
* Update go.mod
format fix
* Update go.sum
format fix
* Update go.sum
format fix
* Update go.sum
format fix
* Update metadata.go
variable name times -> fileProperties
check for errors
* Update metadata.go
reverse order of error check
* Update metadata.go
typo
* Update metadata.go
https://github.com/navidrome/navidrome/pull/2553#issuecomment-1787967615
2023-11-01 16:41:07 -04:00
Sam Watson
26472f46fe
POST endpoint for importing m3u playlists - #2078 ( #2273 )
...
* wip: API endpoint for creating playlists from m3u files
* wip: get user id from context
* temporarily disable failing test
* custom logic for playlist route to accomodate m3u content type
* incorporate playlist parsing into existing logic in core
* re-enable test
* fix locally failing test
* Address requested changes.
* Improve ImportFile tests.
* Remove ownerID as a parameter of ImportM3U.
* Write tests for ImportM3U.
* Separate ImportM3U test into two.
* Test OwnerID and playlist Name.
---------
Co-authored-by: Sam Watson <SwatsonCodes@users.noreply.github.com >
Co-authored-by: caiocotts <caio@cotts.com.br >
2023-11-01 14:59:47 -04:00
dependabot[bot]
6bca7531aa
Bump @babel/traverse from 7.19.3 to 7.23.2 in /ui
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.19.3 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 17:46:10 -04:00
dependabot[bot]
68d1d5c99f
Bump github.com/lestrrat-go/jwx/v2 from 2.0.12 to 2.0.16
...
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx ) from 2.0.12 to 2.0.16.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.12...v2.0.16 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 17:27:45 -04:00
dependabot[bot]
db6c46091e
Bump github.com/beego/beego/v2 from 2.0.7 to 2.1.3
...
Bumps [github.com/beego/beego/v2](https://github.com/beego/beego ) from 2.0.7 to 2.1.3.
- [Release notes](https://github.com/beego/beego/releases )
- [Changelog](https://github.com/beego/beego/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/beego/beego/compare/v2.0.7...v2.1.3 )
---
updated-dependencies:
- dependency-name: github.com/beego/beego/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 17:24:55 -04:00
dependabot[bot]
4cd916bb78
Bump react-router-dom from 5.3.0 to 5.3.4 in /ui
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 5.3.0 to 5.3.4.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/v5.3.4/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 16:55:59 -04:00
dependabot[bot]
c40e83efab
Bump github.com/go-chi/chi/v5 from 5.0.8 to 5.0.10
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.8 to 5.0.10.
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.0.8...v5.0.10 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 16:44:35 -04:00
Stephan Wahlen
9094f41f25
Improve TopSongs findMatchingTrack by de-prioritizing compilations ( #2532 )
...
in reference to https://github.com/navidrome/navidrome/issues/1701
2023-10-31 16:00:53 -04:00
dependabot[bot]
9ff95b6ced
Bump github.com/onsi/gomega from 1.27.10 to 1.29.0
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.27.10 to 1.29.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.27.10...v1.29.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 15:48:16 -04:00
Kendall Garner
77ace8570c
Coalesce genre to null for smart playlist ( #2573 )
2023-10-31 13:22:57 -04:00
Matthias Schmidt
59f0c487e7
Jukebox cleanup ( #2554 )
...
* Fixing typo FFmpegPath -> MPVPath
* Fixing panic by applying afontenot patch
* Using mpv audio-device flag and naming for config and playback
2023-10-17 18:12:48 -04:00
Deluan
2cd4358172
Make Jukebox available to Subsonic clients
2023-09-14 20:15:39 -04:00
dependabot[bot]
248bf232ff
Bump github.com/lestrrat-go/jwx/v2 from 2.0.11 to 2.0.12 ( #2480 )
...
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx ) from 2.0.11 to 2.0.12.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.11...v2.0.12 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-10 18:06:51 -04:00
dependabot[bot]
b5664ab905
Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0 ( #2497 )
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.11.0...v2.12.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/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>
2023-09-10 12:28:43 -04:00
Lukas H
ac7f94e620
Fix text being unreadable with Ligera theme ( #2517 )
...
Change MuiFormGroup color to make it readable.
2023-09-10 12:28:21 -04:00
dependabot[bot]
d45f9f172d
Bump github.com/google/uuid from 1.3.0 to 1.3.1 ( #2489 )
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.3.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-10 12:05:58 -04:00
dependabot[bot]
250107d668
Bump golang.org/x/image from 0.9.0 to 0.12.0 ( #2507 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.9.0 to 0.12.0.
- [Commits](https://github.com/golang/image/compare/v0.9.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
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>
2023-09-10 12:05:28 -04:00
BoniK
64b14db55a
Add Korean Language ( #2463 )
2023-09-10 11:52:18 -04:00
dependabot[bot]
73d1851c0d
Bump golang.org/x/tools from 0.9.1 to 0.13.0 ( #2516 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.9.1 to 0.13.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.9.1...v0.13.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
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>
2023-09-10 11:48:33 -04:00
Matthias Schmidt
1b16e1140f
Jukebox mode ( #2289 )
...
* Adding cache directory to ignore-list
* Adding jukebox-related config options
* Adding DevEnableJukebox config option pls. dummy server
* Adding types and routers
* Now without panic
* First draft on parsing the action
* Some cleanups
* Adding playback server
* Verify audio device configuration
* Adding debug-build target to have full symbol support
* Adding beep sound library pls some example code. Not working yet
* Play a fixed mp3 on any interface access for testing purposes
* Put action code into separate file, adding stringer, more debug output, prepare structs, validation
* Put action parameter parser code where it belongs
* Have a single Action transporting all information
* User fmt.Errorf for error-generation
* Adding wide playback interface
* Use action map for parsing, stringer instead switch stmt.
* Use but only one switch case and direct dispatch, refactoring
* Add error handling and pushing to client
* send decent errormessage, no internal server error
* Adding playback devices slice and load it from config
* Combine config-verification and structure init
* Return user-specific device
* Separate playback server from device
* Use dataStore to retrieve mediafile by id
* WIP: Playlist and start/stop handling. Doing start/stop the hard way as of now
* WIP: set, start and stop work on one single song. More to come
* Dont need to wait for the end
* Merge jukebox_action.go into jukebox.go
* Remove getParameterAsInt64(). Use existing requiredParamInt() instead
* Dont need to call newFailure() explicitly
* Remove int64, use int instead.
* Add and set action now accept multiple ids
* Kickout copy of childFromMediaFile(). It is not needed here.
* Refactoring devices and playbackServer
* Turn (internal) playback.DeviceStatus into subsonic JukeboxStatus when rendering output. Indexes int64 -> int
* Now we have a position and playing status
* Switching gain to float32, xs:float is defined as 32 bit. Fixing nasty copy/pointer bug
* Now with volume control
* Start working the queue
* Remove user from device interface
* Rename function GetDevice -> GetDeviceForUser to make intention clearer
* Have a nice stringer for the queue
* User Prepared boolean for now to allow pause/unpause
* Skipping works, but without offsets
* Make ChildFromMediaFile public to be used in jukebox get() implementation
* Return position in seconds and implement offset-skip in seconds
* Default offset to 0
* Adding a simple setGain implementation
* Prepare for transcoding AAC
* WIP: transcode to WAV to use beeps wav decoder. Not done yet.
* WIP: out of sheer desparation: convert to MP3 (which works) rather than WAV to troubleshoot issue.
* Use FLAC as intermediate format to play Apple AAC
* A bit of cleanup
* Catching the end-of-stream event for further reactions
* Have a trackSwitching goroutine waiting on channel when track ends
* Move decoder code into own file. Restructure code a bit
* Now with going on to play the next song in the playlist
* Adding shuffle feature
* Implementing remove action
* Cleanup code
* Remove templates for ffmpeg mp3 generation. Not needed anymore.
* Adding some documentation
* Check whether offset into track is in range. Fixing potential remove track bug. Documentation
* Make golangci-lint happy: handling return values
* Adding test suite and example dummy for playback package
* Adding some basic queue tests
* Only use Jukebox.Enabled config option
* Adding stream closing handling
* Pass context.Context to all PlaybackDevice methods
* Remove unneeded function
* Correct spelling
* Reduce visibility of ChildFromMediaFile
* Decomplicate action-parsing
* Adding simple tempfile-based AAC->FLAC transcoding. No parallel reading and writing yet.
* Try to optimize pipe-writing, tempfile-handling and reading. Not done yet.
* Do a synchronous copy of the tempfile. Racecondition detected
* More debugging statements and fixing the play/pause bug. More work needed
* Start the trackSwitcher() with each device once. Return JSON position even if its 0. More debug-output
* Moving all track-handling code into own module
* Fix typo. Do not pass ctx around when not applicable
* WIP: More refactoring, debugging output
* Fix nil pointer
* Repairing MP3 playback by pinning indirect dependencies: hajimehoshi/go-mp3 and hajimehoshi/oto
* Do not forget to cleanup after a skip action
* Make resync with master easy
* Adding missing mocks
* Adding missing error-handling found by linter
* Updating github.com/hajimehoshi/oto
* Removing duplicate function
* Move BEEP-related code into own package
* Juggle beep-related code around as preparation for interface access
* More refactoring for interface separation
* Gather CloseDevice() behind Track interface.
* Adding skeleton, draft audio-interface using mpv.io
* Adding majority of interface commands using messages to mpv socket.
* Adding end-of-stream handling
* MPV: start/stop are working
* postition is given in float in mpv
* Unify Close() and CloseDevice(). Using temp filename for controlling socket
* Wait until control-socket shows up. Cleanup socket in Close()
* Use canceable command. Rename to Executor
* Skipping tracks works now
* Now with actually setting the position
* Fix regain
* Add missing error-handling found by linter
* Adding retry mode on time-pos property getter
* Remove unneeded code on queue
* Putting build-tag beep onto beep files
* Remove deprecated call to rand.Seed()
"As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator."
* Using int32 to conform to Subsonic API spec
* Fix merge error
* Minor style changes
* Get username from context
---------
Co-authored-by: Deluan <deluan@navidrome.org >
2023-09-10 11:25:22 -04:00
Deluan Quintão
f941347cf1
Upgrade to Go 1.21 ( #2475 )
...
* Upgrade to Go 1.21
* Remove 'replacements' from goreleaser config
2023-08-09 11:39:49 -04:00
dependabot[bot]
1b5cefdada
Bump github.com/onsi/gomega from 1.27.8 to 1.27.9 ( #2450 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.27.8 to 1.27.9.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.27.8...v1.27.9 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 19:21:39 -04:00
dependabot[bot]
4cf25fc611
Bump github.com/microcosm-cc/bluemonday from 1.0.24 to 1.0.25 ( #2449 )
...
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday ) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases )
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.24...v1.0.25 )
---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 19:11:15 -04:00
dependabot[bot]
14ba83ea1b
Bump github.com/go-chi/chi/v5 from 5.0.8 to 5.0.10 ( #2444 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.8 to 5.0.10.
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.0.8...v5.0.10 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 19:12:56 -04:00
dependabot[bot]
08f3fd1343
Bump github.com/pressly/goose/v3 from 3.13.1 to 3.13.4 ( #2442 )
...
Bumps [github.com/pressly/goose/v3](https://github.com/pressly/goose ) from 3.13.1 to 3.13.4.
- [Release notes](https://github.com/pressly/goose/releases )
- [Changelog](https://github.com/pressly/goose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pressly/goose/compare/v3.13.1...v3.13.4 )
---
updated-dependencies:
- dependency-name: github.com/pressly/goose/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Deluan Quintão <deluan@navidrome.org >
2023-07-21 19:11:59 -04:00
dependabot[bot]
3d66f58725
Bump tough-cookie from 4.1.2 to 4.1.3 in /ui ( #2441 )
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 19:04:32 -04:00
dependabot[bot]
5b1ba3df05
Bump word-wrap from 1.2.3 to 1.2.4 in /ui ( #2446 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 19:02:10 -04:00
Deluan
a002830775
Fix EnableMediaFileCoverArt option default value
2023-07-10 18:07:58 -04:00
dependabot[bot]
7b600bed05
Bump golang.org/x/tools from 0.10.0 to 0.11.0 ( #2432 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
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>
2023-07-05 16:38:32 -04:00
dependabot[bot]
7d0a1916d8
Bump golang.org/x/image from 0.8.0 to 0.9.0 ( #2430 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/image/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
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>
2023-07-05 16:34:58 -04:00
dependabot[bot]
c7fe311c7f
Bump github.com/go-chi/jwtauth/v5 from 5.1.0 to 5.1.1 ( #2427 )
...
Bumps [github.com/go-chi/jwtauth/v5](https://github.com/go-chi/jwtauth ) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/go-chi/jwtauth/releases )
- [Commits](https://github.com/go-chi/jwtauth/compare/v5.1.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/jwtauth/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 16:31:38 -04:00
dependabot[bot]
4520a34648
Bump github.com/pressly/goose/v3 from 3.11.2 to 3.13.1 ( #2428 )
...
Bumps [github.com/pressly/goose/v3](https://github.com/pressly/goose ) from 3.11.2 to 3.13.1.
- [Release notes](https://github.com/pressly/goose/releases )
- [Changelog](https://github.com/pressly/goose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pressly/goose/compare/v3.11.2...v3.13.1 )
---
updated-dependencies:
- dependency-name: github.com/pressly/goose/v3
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>
2023-07-05 16:31:22 -04:00
BenzLeung
3e14c3c4f8
Add support for lyrics tag unsynced lyrics ( #2391 )
...
* Add support for lyrics tag `unsynced_lyrics`
* Update metadata.go
* Update metadata.go
resolve lint issue
* format the code with `goimports`
format the code with `goimports`
2023-06-20 09:32:49 -04:00
dependabot[bot]
1e891d6b07
Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 ( #2408 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
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>
2023-06-19 14:23:36 -04:00
dependabot[bot]
caf9b22d35
Bump golang.org/x/image from 0.7.0 to 0.8.0 ( #2407 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/image/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
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>
2023-06-19 14:23:01 -04:00
Deluan Quintão
4f8742bcd1
Update translations ( #2329 )
...
Co-authored-by: deluan <deluan@users.noreply.github.com >
2023-06-19 12:27:56 -04:00
Deluan
26aa0f4fff
Fix typo
2023-06-19 11:19:43 -04:00
Deluan
4898f31f6d
Add format target to Makefile
2023-06-19 11:15:51 -04:00
Philipp Wolfer
9da013f339
Submit duration to ListenBrainz ( #2405 )
2023-06-17 12:27:00 -04:00
Deluan
5af67c78af
Upgrade Go dependencies
2023-06-16 22:34:02 -04:00
Philipp Wolfer
c8608956be
Fix listenbrainz submission and clarify MusicBrainz recording ID field ( #2279 )
...
* Fix MB recording ID parameter name for ListenBrainz submission
This follows the ListenBrainz API documentation.
Fixes #1657
* Rename MediaFile.MbzTrackID to MbzRecordingID
This better reflects the actual data. That the MusicBrainz
recording ID is stored in file metadata as musicbrainz_trackid
is a historical artifact.
* Rename database column mbz_track_id to mbz_recording_id
2023-06-16 18:00:01 -04:00
Deluan
36eda871f6
Fix locale-dependent tests. Closes #2402
2023-06-16 16:38:03 -04:00
David Casado
7c92a73208
Ignore playlists starting with a dot - #2367 ( #2390 )
2023-06-16 15:55:17 -04:00