Deluan
a002830775
Fix EnableMediaFileCoverArt option default value
2023-07-10 18:07:58 -04:00
tomleb
257ccc5f43
Allow configuring cache folder ( #2357 )
...
* Set all clients to dev_download for make get-music
* Use multiple TranscodingCache instances in tests
This fixes flaky tests. The issue is that the TranscodingCache object
was being reused in tests from media_stream_Internal_test.go and
media_stream_test.go. If tests from the former was run first, the cache
would be filled up, so that when running tests from the latter, the `NON
seekable` test would fail.
* Allow configuring cache folder
This commit introduces a new configuration option to configure the cache
folder. This allows the cache to be in a separate folder such as
/var/cache/navidrome on Linux distributions.
* Fix tests
* Removed unused test setup code
---------
Co-authored-by: Deluan <deluan@deluan.com>
Co-authored-by: Deluan <deluan@navidrome.org>
2023-06-02 17:14:11 -04:00
Deluan
c4c99b7f75
Make GroupAlbumReleases false by default
2023-05-31 15:40:20 -04:00
certuna
52b77e4194
Support for Original Date, Release Date & splitting/grouping of album editions ( #2162 )
...
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update AlbumDetails.js
* Create DoubleRangeField.js
* Update and rename DoubleRangeField.js to RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update index.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update en.json
* Update en.json
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update ContextMenus.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongList.js
* Update playlist_track_repository.go
* Update 20230113000000_release_year.go
* Update PlayButton.js
* Update mediafile_repository.go
* Update album.go
* Update playlist_track_repository.go
* Update playlist_track_repository.go
* Update SongDatagrid.js
* Update 20230113000000_release_year.go
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update AlbumSongs.js
* Update RangeFieldDouble.js
* Update SongDatagrid.js
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update AlbumSongs.js
* Update AlbumSongs.js
* Update mapping.go
* Update RangeFieldDouble.js
* Update AlbumGridView.js
* Update AlbumSongs.js
* Update en.json
* Update SongDatagrid.js
* Update SongDatagrid.js
* Update metadata.go
* Update mapping.go
* Update AlbumDetails.js
* Update AlbumGridView.js
* Update RangeFieldDouble.js
* Update mapping.go
* Update metadata.go
* Update mapping.go
* Update AlbumDetails.js
* Update 20230113000000_release_year.go
* Update AlbumDetails.js
* Update en.json
* Update configuration.go
* Update mapping.go
* Update configuration.go
* Update mediafile.go
* Update metadata.go
* Update RangeFieldDouble.js
* Update 20230113000000_release_year.go
* Update configuration.go
* Update mapping.go
* Update mediafile.go
* Update mapping.go
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update RangeFieldDouble.js
* Update 20230113000000_release_year.go
* Update AlbumDetails.js
* Update RangeFieldDouble.js
* Update mapping.go
* Update metadata.go
* Update album.go
* Update mediafile.go
* Update mediafile.go
* Update album.go
* Update fields.go
* Update mediafile_repository.go
* Update playlist_track_repository.go
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update PlayButton.js
* Update SongList.js
* Update ContextMenus.js
* Update SongDatagrid.js
* Update metadata.go
* Update ArtistShow.js
* Update mapping.go
* Update configuration.go
* Update mapping.go
* Update metadata.go
* Update metadata.go
* Update mapping.go
* Update metadata.go
* Update metadata.go
* Update mapping.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update mapping.go
* Update metadata.go
* Update metadata.go
* Update album.go
* Update mediafile.go
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update album.go
* Update mediafile.go
* Update metadata.go
* Update mediafile.go
* Update 20230113000000_release_year.go
* Update 20230113000000_release_year.go
* Update album.go
* Update mediafile.go
* Update RangeFieldDouble.js
* Update AlbumDetails.js
* Update AlbumGridView.js
* Update en.json
* Update AlbumGridView.js
* Update RangeFieldDouble.js
* Update and rename 20230113000000_release_year.go to 20230113000000_release_date.go
* Update album.go
* Update mediafile.go
* Update fields.go
* Update playlist_track_repository.go
* Update mediafile_repository.go
* Update mapping.go
* Update metadata.go
* Update mapping.go
* Update SongDatagrid.js
* Update RangeFieldDouble.js
* Update index.js
* Update ContextMenus.js
* Update PlayButton.js
* Create FormatDate.js
* Update SongList.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update AlbumSongs.js
* Update en.json
* Update AlbumDetails.js
* Update album.go
fixed conflict I think?
* Update mediafile.go
fixed conflict
* Format with goimports
* Update SongDatagrid.js
only show Cat # in desktop view
* Update metadata_internal_test.go
* Update metadata_test.go
* Delete test.mp3
* Add files via upload
mp3 test file with Date, Original Date and Release Date
* Update metadata_test.go
* Update metadata_test.go
* Update metadata_test.go
* Update metadata_test.go
* Update taglib_test.go
* Delete test.mp3
* Add files via upload
file with replaygain & dates
* Update AlbumGridView.js
* Update AlbumDetails.js
* Update AlbumSongs.js
* Update ContextMenus.js
* Update FormatDate.js
* Update PlayButton.js
* Update RangeFieldDouble.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update AlbumSongs.js
* Fix formatting
* Update mapping.go
* Update AlbumSongs.js
* Update SongDatagrid.js
* Update SongDatagrid.js
prettier
* Create RangeDoubleField.js
rename of RangeFieldDouble.js
* Update AlbumGridView.js
RangeFieldDouble -> RangeDoubleField
* Update mediafile.go
AllOrNothing() -> allOrNothing()
* Update metadata_internal_test.go
getYear -> getDate
* Update AlbumDetails.js
wrote suggested changes
* Update en.json
Editions -> Releases & fixed the field name
* Update configuration.go
Rename Editions -> Releases
* Update 20230113000000_release_date.go
Editions -> Releases
* Update album.go
Editions -> Releases
* Update mediafile.go
Editions -> Releases
* Update AlbumDetails.js
Editions -> Releases
* Update AlbumSongs.js
Editions -> Releases
* Update RangeDoubleField.js
Editions -> Releases
* Update SongDatagrid.js
Editions -> Releases
* Update index.js
FormatFullDate and RangeDoubleField
* Rename FormatDate.js to FormatFullDate.js
* Delete RangeFieldDouble.js
* Update mediafile.go
AllOrNothing -> allOrNothing
* Update mapping.go
Editions -> Releases
* Update AlbumDetails.js
prettier
* Update SongDatagrid.js
showReleaseRow -> showReleaseDivider
* Update AlbumSongs.js
showReleaseRow -> showReleaseDivider for clarity
* Update and rename 20230113000000_release_date.go to 20230515184510_add_release_date.go
- rename the migration file
- fixed the import to goose/v3
- additional db fields for original date & year
* Update 20230515184510_add_release_date.go
* Update fields.go
* Update album.go
* Update mediafile.go
* Update mapping.go
* Update AlbumDetails.js
* Update en.json
* Update AlbumDetails.js
* Update AlbumDetails.js
now hopefully prettier
* Update mapping.go
---------
Co-authored-by: Deluan <deluan@navidrome.org>
2023-05-19 15:27:47 -04:00
Joakim Repomaa
2ccc5bc941
Implement artist art priority ( #2266 )
...
* implement artist art priority
* add tests
2023-03-30 18:28:05 -04:00
Deluan
673880d661
Add option to load TLS cert/key, and use HTTPS
2023-03-17 16:32:13 -04:00
Deluan
1f6ec1d9f5
Add pprof endpoint, disabled by default
2023-03-15 10:56:16 -04:00
Deluan
a7d3e6e1f1
Add option to allow share to be downloaded
2023-03-10 23:33:29 -05:00
Deluan
10108c63c9
Allow BaseURL to contain full server url, including scheme and host. Fix #2183
2023-02-15 21:13:38 -05:00
Deluan
0c3ac906b8
Enable ReplayGain by default and always import RG tags
2023-02-09 17:45:38 -05:00
Deluan
759ff844e2
Make ffmpeg path configurable, also finds it automatically in current folder. Fixes #1932
2023-02-07 13:46:09 -05:00
Deluan
9d459fbd0a
Abort start-up if config file is invalid
2023-02-06 13:00:07 -05:00
Deluan
ee8f6447eb
Add option to disable Cache Warmer. Related to #2142
2023-02-06 10:41:33 -05:00
Deluan
ad2ad514b3
Add dev option to increase external metadata cache expiration. More logs
2023-02-02 16:55:12 -05:00
Deluan
bcab3cc0f9
Add throttling to /share/img endpoint.
...
See: https://github.com/navidrome/navidrome/issues/2130#issuecomment-1414152343
2023-02-02 13:59:04 -05:00
Deluan
128b626ec9
Add option to change max playlists shown in UI's sidebar, MaxSidebarPlaylists. Fix #2077
2023-02-01 10:25:25 -05:00
Deluan
68e6115789
Rename DevEnableShare to EnableSharing
2023-01-29 20:33:10 -05:00
Deluan
136d5f9a83
Add config option to show album participations under artists in Subsonic clients
2023-01-18 14:20:06 -05:00
Kendall Garner
93adda66d9
Get album info (when available) from Last.fm, add getAlbumInfo endpoint ( #2061 )
...
* lastfm album.getInfo, getAlbuminfo(2) endpoints
* ... for description and reduce not found log level
* address first comments
* return all images
* Update migration timestamp
* Handle a few edge cases
* Add CoverArtPriority option to retrieve albumart from external sources
* Make agents methods more descriptive
* Use Last.fm name consistently
Co-authored-by: Deluan <deluan@navidrome.org>
2023-01-17 20:22:54 -05:00
Kendall Garner
1324a16fc5
ReplayGain support + audio normalization (web player) ( #1988 )
...
* ReplayGain support
- extract ReplayGain tags from files, expose via native api
- use metadata to normalize audio in web player
* make pre-push happy
* remove unnecessary prints
* remove another unnecessary print
* add tooltips, see metadata
* address comments, use settings instead
* remove console.log
* use better language for gain modes
2023-01-17 15:57:19 -05:00
Deluan
c46a2a5f5f
New dev options to control getCoverArt throttling
2023-01-13 22:18:34 -05:00
Deluan
332900774d
Rename DevFastAccessCoverArt to EnableMediaFileCoverArt
2022-12-28 15:31:56 -05:00
Deluan
57c3334ea0
Remove unused DevPreCacheAlbumArtwork config option
2022-12-28 15:31:56 -05:00
Deluan
28389fb05e
Add command line M3U exporter. Closes #1914
2022-12-21 14:39:40 -05:00
Kendall Garner
54395e7e6a
Enable transcoding of downlods ( #1667 )
...
* feat(download): Enable transcoding of downlods - #573
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
* feat(download): Make automatic transcoding of downloads optional
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
* Fix spelling
* address changes
* prettier
* fix config
* use previous name
Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
2022-12-18 12:12:37 -05:00
gauth-fr
55ba39cb79
Add global Downsampling feature ( #1575 )
...
* Add global downsampling feature
* Default to Opus & consider player transcoder
* Add a test case for DefaultDownsamplingFormat
Co-authored-by: Deluan <deluan@navidrome.org>
2022-12-06 19:41:16 -05:00
Deluan
03640ca93d
Fix background images when BaseURL is specified
2022-11-29 14:48:05 -05:00
Deluan
1467036efd
Add DefaultUIVolume option. Closes #1679
2022-11-11 16:31:28 -05:00
Aleksey Lobanov
552989a05b
Add basic Prometheus metrics handler ( #1830 )
...
* feat: Add Prometheus configuration options
* feat: Add Prometheus metrics handler
* build: prometheus became direct dependency
* docs: change description for prometheus metrics path
2022-10-02 19:59:53 -04:00
Andy Klimczak
2f7a3c5eda
feat: Add listenbrainz base url configuration ( #1774 )
...
* feat: Add listenbrainz base url configuration
- ListenBrainz.BaseURL config value
* Don't need to store baseUrl
* Use `url.JoinPath` to concatenate url paths
* Replace url.JoinPath (Go 1.19 only) with custom function
Co-authored-by: Deluan <deluan@navidrome.org>
2022-09-27 21:06:28 -04:00
Deluan
cb3ba23fce
New config DefaultLanguage. Closes #1561
2022-09-27 19:31:09 -04:00
Deluan
20cdd38fc4
Better logging for agents configuration
2021-11-25 15:48:32 -05:00
Steve Richter
3bd6f82c80
Rename ListenBrainz config flag and enable by default ( #1443 )
2021-11-17 21:11:53 -05:00
Deluan
b2acec0a09
When externals services are disabled, only disable UILoginBackgroundURL if it is not set by the user
2021-11-01 09:11:32 -04:00
Deluan
1823159b25
New config to disable all external integrations. Closes #102
2021-10-30 18:03:46 -04:00
Steve Richter
a56d5bc850
Listenbrainz scrobbling ( #1424 )
...
* Refactor session_keys to its own package
* Adjust play_tracker
- Don't send external NowPlaying/Scrobble for tracks with unknown artist
- Continue to the next agent on error
* Implement ListenBrainz Agent and Auth Router
* Implement frontend for ListenBrainz linking
* Update listenBrainzRequest
- Don't marshal Player to json
- Rename Track to Title
* Return ErrRetryLater on ListenBrainz server errors
* Add tests for listenBrainzAgent
* Add tests for ListenBrainz Client
* Adjust ListenBrainzTokenDialog to handle errors better
* Refactor listenbrainz.formatListen and listenBrainzRequest structs
* Refactor agent auth_routers
* Refactor session_keys to agents package
* Add test for listenBrainzResponse
* Add tests for ListenBrainz auth_router
* Update ListenBrainzTokenDialog and auth_router
* Adjust player scrobble toggle
2021-10-30 12:17:42 -04:00
Deluan
0d2a8f5338
Enable new Artist Page by default
2021-10-17 11:07:59 -04:00
Deluan
2b105ca77b
Enable DevSidebarPlaylists by default.
...
Closes #771
2021-10-02 13:56:42 -04:00
Deluan
6752e0a17d
Fix harmless error message in logs when ScanSchedule set was "0"
...
Message:
`ERRO[0000] Error scheduling periodic scan error="expected exactly 5 fields, found 1: [0]"`
2021-09-26 15:57:27 -04:00
Dnouv
482c2dec0c
Artist Detail Page (first cut) ( #1287 )
...
* Configure fetching from API and route
* pretty
* Remove errors
* Remove errors
* Remove errors
* Complete page for Desktop view
* Fix error
* Add xs Artist page
* Remove unused import
* Add styles for theme
* Change route path
* Remove artId useEffect array
* Remove array
* Fix cover load err
* Add redirect on err
* Remove route
* What's in a name? consistency :)
* Fix err
* Fix UI changes
* Fetch album from resource
* Renaming done
* Review changes
* Some touch-up
* Small refactor, to make naming and structure more consistent with AlbumShow
* Make artist's album list similar to original implementation
* Reuse AlbumGridView, to avoid duplication
* Add feature flag to enable new Artist Page, default false
* Better biography styling. Small refactorings,
* Don't encode quotes and other symbols
* Moved AlbumShow to correct folder
Co-authored-by: Deluan <deluan@navidrome.org>
2021-09-26 15:32:40 -04:00
Deluan
ab2912b4fa
Only import playlists from configured paths in option PlaylistsPath. Closes #1181
...
Syntax is Ant-style Globs, with support for '**' (any subfolder). Default: '.:**' (or '.;**' in Windows`, meaning all folders and subfolders under `MusicFolder`
2021-09-12 21:07:51 -04:00
Deluan Quintão
79363d6c07
Move Playlists to the sidebar menu ( #1339 )
...
* Show playlists in sidebar menu
* Fix menu
* Refresh playlist submenu when adding new playlist
* Group shared playlists below user's playlists
* Fix text overflow in menu options
* Add button in playlist menu to go to Playlists list
* Add config option `DevSidebarPlaylists` to enable this feature (default false)
2021-09-11 13:11:15 -04:00
caiocotts
54f98497c2
Use wchar_t for TagLib filenames on Windows ( #1310 )
...
* Use wchar_t for tagLib filenames on Windows
* Make TagLib default extractor for all platforms.
* Organize imports
Co-authored-by: Deluan <deluan@navidrome.org>
2021-08-28 19:35:54 -04:00
Deluan
b44ef81c6f
Allow 0 value to disable ScanSchedule.
...
Seems that Viper does not recognize empty environment vars as valid values
Closes #1274
2021-08-03 19:37:36 -04:00
Deluan
4ed01bad86
Use ffmpeg extractor by default on Windows
...
This is to avoid issue with unicode chars in filenames. See #810
2021-07-24 11:35:49 -04:00
Deluan
4f9d546da4
Abort startup if config file is invalid
2021-07-20 22:35:22 -04:00
Deluan
39da741a80
Add multiple genres to MediaFile
2021-07-20 17:45:08 -04:00
Deluan
7cd3a8ba67
Add genre tables, read multiple-genres from tags
2021-07-20 17:45:08 -04:00
Deluan
19c2ef3803
Enable buffered scrobbles by default
2021-07-19 16:10:37 -04:00
Deluan
f78257235e
Add option to have different loglevels per source folder/file
2021-07-14 18:44:14 -04:00
Deluan
94e36d7f60
Remove old feature flag for cache layout
2021-07-02 10:04:41 -04:00
Deluan
f49205733b
Add feature flag for buffered scrobbling
2021-07-02 10:04:41 -04:00
Deluan
cfb113bd33
Disable Last.FM features based on LastFM.Enabled config option
2021-07-02 10:04:41 -04:00
Deluan
a73f885afb
Add option to disable album cover animation in the player. Closes #1185
2021-06-28 17:11:05 -04:00
Deluan
d2fcab78a5
Fix ND_DEVFASTACCESSCOVERART flag not available as env var
2021-06-26 15:40:12 -04:00
Deluan
26bcf0b877
Enable Last.fm scrobbling by default (still requires user's authorization)
2021-06-25 23:09:09 -04:00
Deluan
1f997357a9
Expose Last.fm's ApiKey to UI
2021-06-21 18:14:01 -04:00
Deluan
ffa76bba6a
Add flag to disable Scrobble config in the UI
2021-06-21 18:14:01 -04:00
Deluan
c09468e135
Option to allow auto-login during development.
2021-06-19 10:56:39 -04:00
Deluan Quintão
66b74c81f1
Encrypt passwords in DB ( #1187 )
...
* Encode/Encrypt passwords in DB
* Only decrypts passwords if it is necessary
* Add tests for encryption functions
2021-06-18 18:38:38 -04:00
Deluan Quintão
03efc48137
Refactor routing, changes API URLs ( #1171 )
...
* Make authentication part of the server, so it can be reused outside the Native API
This commit has broken tests after a rebase
* Serve frontend assets from `server`, and not from Native API
* Change Native API URL
* Fix auth tests
* Refactor server authentication
* Simplify authProvider, now subsonic token+salt comes from the server
* Don't send JWT token to UI when authenticated via Request Header
* Enable ReverseProxyWhitelist to be read from environment
2021-06-13 12:46:36 -04:00
Igor Rzegocki
6bd4c0f6bf
Reverse proxy authentication support ( #1152 )
...
* feat(auth): reverse proxy authentication support - #176
* address PR remarks
* Fix redaction of UI appConfig
Co-authored-by: Deluan <deluan@navidrome.org>
2021-06-11 23:17:21 -04:00
Deluan
ead2095dd0
Respect EnableLogRedacting config when pretty printing configuration
2021-05-30 16:02:23 -04:00
Yash Jipkate
7b05c49215
Add devEnableShare config option ( #1141 )
...
* add devEnableShare config option
* Toggle in config.js
2021-05-30 15:36:10 -04:00
Deluan
b398053223
Include a shared Last.FM api key, providing zero conf ArtistInfo (bio/top songs/similar artists)
2021-05-27 16:14:24 -04:00
Deluan
39d68e8287
Restore pretty formatted config options in debug level
2021-05-12 14:43:09 -04:00
Deluan
751e2d6147
Make ScanInterval=0 disable the periodic scan
2021-05-12 14:08:38 -04:00
Deluan
47f4e0a4de
Refactor to remove some nesting
2021-05-06 20:49:26 -04:00
Deluan
f8dbc41b6d
Breaking change: Add ScanSchedule, allows interval and cron based configurations.
...
See https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format for expression syntax.
`ScanInterval` will still work for the time being. The only situation it does not work is when you want to disable periodic scanning by setting `ScanInterval=0`. If you want to disable it, please set `ScanSchedule=""`
Closes #1085
2021-05-06 17:56:10 -04:00
Deluan
7feda4bea4
Add EnableUserEditing, to control whether a regular user can change their own details (default true)
2021-05-02 17:11:12 -04:00
Deluan
2ff1c79b64
Fix EnableLogRedacting case
2021-05-02 16:49:20 -04:00
Deluan
cfbc39fb7f
Add log redacting, controlled by the new EnableLogRedacting config option (default true)
...
Imported redacting code from https://github.com/whuang8/redactrus (thanks William Huang)
Didn't use it as a dependency as it was too small and we want to keep dependencies at a minimum
2021-05-02 16:45:16 -04:00
Deluan
f63a912341
Add config option to set default theme
2021-04-18 13:51:00 -04:00
Neil Chauhan
48ae4f7479
Add 5-star rating system( #986 )
...
* Added Star Rating functionality for Songs
* Added Star Rating functionality for Artists
* Added Star Rating functionality for AlbumListView
* Added Star Rating functionality for AlbumDetails and improved typography for title
* Added functionality to turn on/off Star Rating functionality for Songs
* Added functionality to turn on/off Star Rating functionality for Artists
* Added functionality to turn on/off Star Rating functionality for Albums
* Added enableStarRating to server config
* Resolved the bugs and improved the ratings functionality.
* synced repo and removed duplicate key
* changed the default rating size to small, and changed the color to match the theme.
* Added translations for ratings, and Top Rated tab in side menu.
* Changed rating translation to topRated in albumLists, and added has_rating filter to topRated.
* Added empty stars icon to RatingField.
* Added sortable=false in AlbumSongs and added sortByOrder=DESC in all List components.
* Added translations for rating, for artists and albums, and removed the sortByOrder=DESC from SimpleLists.
2021-04-07 16:02:52 -04:00
Neil Chauhan
404253a881
Enable turn on/off Favorites/Loved feature. ( #917 )
...
* Added option to enable/disable favorites in Song
* Added option to enable/disable favorites in Artist
* Added option to enable/disable favorites in Albums and Favorites tab in sidebar
* Added option to enable/disable favorites in Player
* Set default value of enableFavourites as true
* Improved the functionality to enable/disable Favorites
* Add `EnableFavourites` config option
Co-authored-by: Deluan <deluan@navidrome.org>
2021-03-28 20:35:49 -04:00
Deluan
4b68260b83
Move constant to consts.go file
2021-03-24 10:21:31 -04:00
Deluan
720e2357b7
Add option to sort Recently Added by file's mtime instead of time of import.
2021-03-12 18:18:35 -05:00
Deluan
9d24106066
Incomplete implementation of agents
2021-02-08 16:54:51 -05:00
Deluan
6ee45a9ccc
Move project to Navidrome GitHub organization
2021-02-06 21:46:35 -05:00
Deluan
b47ec02f02
Reenable ImageCache and ActivityPanel as default
2021-02-01 00:31:02 -05:00
Deluan
240149cda4
DIsable Image Cache by default.
...
See: https://github.com/deluan/navidrome/issues/446#issuecomment-736574447
2020-12-01 18:01:16 +00:00
Deluan
63171368ed
Disable Activity Panel by default.
...
You'll need to set `DevActivityPanel` (or `ND_DEVACTIVITYPANEL`) to `true` to re-enable it
2020-11-25 15:29:46 -05:00
Deluan
088af9004a
Only try to check cover art file for lastUpdated if fast access is not set
2020-11-16 16:39:31 -05:00
Deluan
a4ef31251d
Enable activity panel by default
2020-11-13 13:44:38 -05:00
Deluan
9d7995fd4d
Redesign UserMenu, now with support for Gravatar
2020-11-13 00:40:30 -05:00
Deluan
08e63c867b
Add config option to globally enable/disable downloads
2020-11-10 16:14:43 -05:00
Deluan
a2e76d6898
Add flag to enable activity menu
2020-11-09 16:12:50 -05:00
Deluan
a6bd9f627e
Make new cache layout the default
2020-11-04 23:25:38 -05:00
Deluan
d913108de2
Add option to disable track cover art. Should help with cloud mounting (rclone)
2020-10-29 10:57:33 -04:00
Deluan
bf5318d776
Add flag to enable new cache layout
2020-10-26 09:54:36 -04:00
Deluan
1e56f4da76
Add simple cache warmer, disabled by default
2020-10-25 23:22:52 -04:00
Deluan
f3bb51f01b
Add formatting to config dump
2020-10-25 23:22:52 -04:00
Deluan
f9e0de31b8
Fix missing last.fm and spotify config keys. Closes #589
2020-10-22 08:31:47 -04:00
Deluan
19ead8f7e8
Add initial spotify client implementation
2020-10-20 16:07:31 -04:00
Deluan
eb74dad7cd
Add initial last.fm client implementation
2020-10-20 16:07:31 -04:00
Deluan
af55b93ac8
Make taglib the default metadata extractor
2020-10-05 21:01:03 -04:00
Deluan
34eda3c8fc
Add config option to select tag extractor (taglib, ffmpeg)
2020-09-08 13:33:07 -04:00
Deluan
76e522710a
New option: SearchFullString, to match query strings anywhere in searchable fields, not only in word boundaries
...
Based on feedback from @orlea, in https://github.com/deluan/navidrome/issues/255#issuecomment-683427754
2020-08-30 13:08:10 -04:00
Deluan
28d1428c90
Add option to disable .m3u auto-import
2020-08-02 23:17:13 -04:00
Deluan
0403ec2a07
Use OS-independent path separators
2020-07-28 08:49:07 -04:00
Deluan
f992b5663f
Remove old scanner
2020-07-27 12:34:44 -04:00
Deluan
d46a8cf89f
Allows config file to be specified with env var ND_CONFIGFILE. Fixes #415
2020-07-20 18:36:12 -04:00
Deluan
7e81a3b895
Fix default background image for login
2020-07-20 14:34:02 -04:00
Deluan
d268075046
Change the default scanner to use new implementation
2020-07-19 21:39:06 -04:00
Deluan
f0160f5d2a
Rate limit login attempts using a Sliding Window counter rate-limiter
2020-07-19 14:45:05 -04:00
Deluan
51c295d1de
Add new scanner algorithm, can be enabled with DevNewScanner config option
2020-07-17 12:06:49 -04:00
Deluan
74cf0ee1c1
Create Data Folder if it does not exist
2020-07-12 12:36:08 -04:00
Deluan
7c3fd38559
Add option to change IP address to bind
2020-07-08 20:54:56 -04:00
Deluan
1cc03fdd8c
Add initial support for Google Analytics
2020-07-03 13:51:31 -04:00
Deluan
dd91f983b5
Add new config option to show a custom welcome message in the login screen
2020-07-03 11:51:15 -04:00
Deluan
8181aba61f
Clean up a bit
2020-07-03 10:19:44 -04:00
Deluan
2d0539300d
Exit if specified config file is not present
2020-07-03 10:10:49 -04:00
Deluan
6954e1b4eb
Fix linting error
2020-07-03 09:46:58 -04:00
Deluan
ef9af6ed1a
Don't fail if config file isnot found
2020-07-03 09:39:28 -04:00
Deluan
99e269208e
Fix lint errors
2020-07-02 18:17:31 -04:00
Deluan
a65c9bbb16
Refactor and clean up
2020-07-02 17:53:51 -04:00
Deluan
d2e4cade62
Change duration config types
2020-07-02 17:53:51 -04:00
Deluan
5021c0fd0c
Replace multiconfig with cobra+viper
2020-07-02 17:53:51 -04:00
Deluan
2371e9b943
Add option to set jpeg quality level. Closes #371
2020-06-29 17:20:38 -04:00
Alex Palaistras
08cd28af2d
Load cover art from file directory
...
This commit adds support for loading cover art from media file
directories, according to configured filename priorities (of which an
additional, special choice of `embedded` is given).
Cover art paths are resolved during scanning and stored in the database
as part of the `album.cover_art_path` column; if embedded cover art is
matched, this will default to the path of the media file itself, and if
no cover art is matched at all.
Similarly, the `album.cover_art_id` column will default to a reference
to `media_file.id` if embedded cover art is wanted, but if an external
cover art file is matched, this will instead be set to a reference to
the `album.id` value itself, prefixed with the `al-` constant.
Stored cover art paths are once again resolved and matched against
configuration when covers are requested; that is, any change in
configuration between scanning and requesting cover art may not return
correct data until a re-scan is complete.
Tests will be added in future commits.
2020-06-24 20:48:42 -04:00
Deluan
c742ae0843
Remove unused feature toggles
2020-06-11 22:11:59 -04:00
Deluan
7547888f10
Change default session timeout to 24h
2020-05-30 10:34:16 -04:00
Deluan
1bca8fca97
Enable UI starred by default
2020-05-23 01:07:34 -04:00
Deluan
8a68cecdb9
Add ToggleStar to SongContextMenu (WIP)
2020-05-22 15:23:42 -04:00
Deluan
41010515ee
Enable Playlist Management in the UI by default
2020-05-16 19:16:48 -04:00
Deluan
f881e2a54b
Add option to enable (experimental) playlists in UI
2020-05-16 18:35:34 -04:00
Deluan
4b70cc52d6
Reduce log level of config file being used
2020-05-03 14:09:31 -04:00
Deluan
cccd0235cf
Add option to specify ConfigFile path
2020-05-02 23:17:38 -04:00
Deluan
c816ca4525
Add config option to enable/disable Transcoding configuration
2020-04-29 21:59:05 -04:00
jvoisin
04eb421186
Refactor a bit how ffmpeg is used to get metadata
...
- createProbeCommand returns a []string instead of (string, string[])
- Simplify the loop of createProbeCommand
2020-04-11 13:08:21 -04:00
Deluan
db246900a6
Introduce a new configuration to select the login background image URL
2020-04-08 09:07:15 -04:00
Deluan
1bc68c20fc
Create and configure image cache
2020-04-05 22:02:06 -04:00
Deluan
75cd21da1f
Add BaseURL configuration ( fixes #103 )
2020-04-03 19:05:38 -04:00
Deluan
15606770ca
chore: removed non-working config flag
2020-03-22 01:13:55 -04:00
Deluan
0d8a2b310f
fix: the default session timeout must be 30 minutes, not seconds!
2020-03-21 12:17:20 -04:00
Deluan
c8cd755451
feat: use human readable sizes in cache size configuration
2020-03-18 20:39:10 -04:00
Deluan
faac303eff
feat: allow session timeout to be configurable. closes #101
2020-03-18 20:16:18 -04:00
Deluan
e02f3d3ec9
refactor: clean up unused config options
2020-03-17 15:20:35 -04:00
Deluan
1d886156d5
feat: better SQLite3 configuration, to avoid DB contention
2020-02-28 15:06:31 -05:00
Deluan
876354e58e
feat: MaxTranscodingCacheSize is now specified in MB
2020-02-26 14:08:14 -05:00
Deluan
a6b0c57ce0
feat: add a proper caching system to the transcoding functionality
2020-02-20 19:25:39 -05:00
Deluan
2c146ea1fe
feat: add option to auto-create admin user on first start-up
...
Useful for development purposes
2020-02-08 14:50:33 -05:00
Deluan
6e2454f6cc
refactor: add -i to ffmpeg ProbeCommand. make it more consistent with the DownsampleCommand
2020-02-03 23:04:58 -05:00
Deluan
8372dee000
feat: experimental downsampling support
2020-02-03 22:53:57 -05:00
Deluan
d389d40db1
feat: improve logs, remove config for disable authentication
2020-02-01 17:23:03 -05:00
Deluan
90a1e6d213
feat: add server name and version to all responses
...
This is inline with other Subsonic compatible servers, like funkwhale, madsonic, ampache...
2020-01-30 14:43:24 -05:00
Deluan
ac4aa1ebe2
feat: PORT env var can override configured port
2020-01-26 22:18:30 -05:00
Deluan
4e3b13050b
fix: tests
2020-01-26 18:25:12 -05:00
Deluan
cc6eacd608
fix: option to skip flags, to avoid breaking the tests
2020-01-26 18:00:10 -05:00
Deluan
7c2728aadc
fix: only try to load config file if it exists, or else it would not load any config at all...
2020-01-26 17:09:08 -05:00