Deluan
39915e1da9
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]"`
2026-01-02 20:08:01 +00:00
Deluan
3085484848
Change initial scan message log level
2026-01-02 20:06:08 +00:00
Deluan
75cc2580b7
Disable Last.FM features based on LastFM.Enabled config option
2026-01-02 20:05:07 +00:00
Deluan
6d46689622
Implement Scrobble buffering/retrying
2026-01-02 20:05:07 +00:00
Deluan
883d316670
Use singleton in other places as well
2026-01-02 20:05:04 +00:00
Deluan
f468522c72
Implement Last.FM Desktop Auth flow endpoints
2026-01-02 20:05:04 +00:00
Deluan
7fd15e12cd
Rename app package to nativeapi
2026-01-02 20:00:50 +00:00
Deluan Quintão
5be15bb98b
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
2026-01-02 20:00:31 +00:00
Deluan
9f46738f73
Change back mounting order, for better logs
2026-01-02 19:31:11 +00:00
Deluan
7b38e33b26
Show name of router in log
2026-01-02 19:31:11 +00:00
Deluan
d3edef8390
Schedule periodic scan before starting initial scan
2026-01-02 19:26:44 +00:00
Deluan
d2d780918b
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
2026-01-02 19:26:43 +00:00
Deluan
b9e8ae07d3
Less waiting for cache to be ready
2026-01-02 19:26:41 +00:00
Deluan
ddae77c3ac
Fix SIGUSR1 work when ScanInterval=0
2026-01-02 19:26:41 +00:00
Deluan
10cf2372f8
Move project to Navidrome GitHub organization
2026-01-02 19:20:16 +00:00
Deluan
971728dfd5
Replace periodic scanner cancellation channel with a context
2026-01-02 19:20:13 +00:00
Deluan
8c0cbeffbb
Simplify scanner utilization
2026-01-02 19:18:59 +00:00
Deluan
01b5871218
Implements library scanning endpoints. Also:
...
- Bumped Subsonic API version to 1.15:
- Better User/Users Subsonic endpoint implementations, not final though
2026-01-02 19:18:26 +00:00
Deluan
002bfccfaa
Add scanner status
2026-01-02 19:17:32 +00:00
Deluan
bd68dbd438
Add better process lifecycle management
2026-01-02 19:17:32 +00: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