mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
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>
This commit is contained in:
parent
c55e65902b
commit
54f98497c2
10 changed files with 122 additions and 18 deletions
|
@ -214,7 +214,7 @@ func init() {
|
|||
viper.SetDefault("reverseproxyuserheader", "Remote-User")
|
||||
viper.SetDefault("reverseproxywhitelist", "")
|
||||
|
||||
viper.SetDefault("scanner.extractor", DefaultScannerExtractor)
|
||||
viper.SetDefault("scanner.extractor", consts.DefaultScannerExtractor)
|
||||
viper.SetDefault("scanner.genreseparators", ";/,")
|
||||
|
||||
viper.SetDefault("agents", "lastfm,spotify")
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
// +build !windows
|
||||
|
||||
package conf
|
||||
|
||||
const DefaultScannerExtractor = "taglib"
|
|
@ -1,5 +0,0 @@
|
|||
// +build windows
|
||||
|
||||
package conf
|
||||
|
||||
const DefaultScannerExtractor = "ffmpeg"
|
Loading…
Add table
Add a link
Reference in a new issue