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
Deluan
1f0314021e
Change initial scan message log level
2021-07-19 16:53:58 -04:00
Deluan
cfb113bd33
Disable Last.FM features based on LastFM.Enabled
config option
2021-07-02 10:04:41 -04:00
Deluan
289da56f64
Implement Scrobble buffering/retrying
2021-07-02 10:04:41 -04:00
Deluan
743e469795
Use singleton in other places as well
2021-06-21 18:59:26 -04:00
Deluan
502a719e96
Implement Last.FM Desktop Auth flow endpoints
2021-06-21 18:14:01 -04:00
Deluan
d54129ecd2
Rename app
package to nativeapi
2021-06-13 19:15:41 -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
Deluan
882519738f
Change back mounting order, for better logs
2021-05-24 12:17:55 -04:00
Deluan
86d3a219a9
Show name of router in log
2021-05-24 11:55:39 -04:00
Deluan
8419a2a5d1
Schedule periodic scan before starting initial scan
2021-05-08 19:19:31 -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
bcda53f115
Less waiting for cache to be ready
2021-04-29 13:58:01 -04:00
Deluan
8a07bac2a2
Fix SIGUSR1 work when ScanInterval=0
2021-04-29 13:10:10 -04:00
Deluan
6ee45a9ccc
Move project to Navidrome GitHub organization
2021-02-06 21:46:35 -05:00
Deluan
c5686c4884
Replace periodic scanner cancellation channel with a context
2021-01-31 17:37:54 -05:00
Deluan
ee5a0698c0
Simplify scanner utilization
2020-11-01 18:37:17 -05:00
Deluan
d9f7a154cf
Implements library scanning endpoints. Also:
...
- Bumped Subsonic API version to 1.15:
- Better User/Users Subsonic endpoint implementations, not final though
2020-10-27 18:20:50 -04:00
Deluan
af7eaa2b7a
Add scanner status
2020-10-25 23:22:52 -04:00
Deluan
c0ec0b28b9
Add better process lifecycle management
2020-10-24 22:43:59 -04:00
Deluan
28d1428c90
Add option to disable .m3u auto-import
2020-08-02 23:17:13 -04:00
Deluan
7c3fd38559
Add option to change IP address to bind
2020-07-08 20:54:56 -04:00
Deluan
3a7d70c908
Add scan
command
2020-07-03 10:49:11 -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
5021c0fd0c
Replace multiconfig with cobra+viper
2020-07-02 17:53:51 -04:00