mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Add option to disable .m3u auto-import
This commit is contained in:
parent
696a0feb31
commit
28d1428c90
3 changed files with 18 additions and 10 deletions
|
@ -26,6 +26,7 @@ type configOptions struct {
|
|||
EnableTranscodingConfig bool
|
||||
TranscodingCacheSize string
|
||||
ImageCacheSize string
|
||||
AutoImportPlaylists bool
|
||||
|
||||
IgnoredArticles string
|
||||
IndexGroups string
|
||||
|
@ -83,6 +84,7 @@ func init() {
|
|||
viper.SetDefault("enabletranscodingconfig", false)
|
||||
viper.SetDefault("transcodingcachesize", "100MB")
|
||||
viper.SetDefault("imagecachesize", "100MB")
|
||||
viper.SetDefault("autoimportplaylists", true)
|
||||
|
||||
// Config options only valid for file/env configuration
|
||||
viper.SetDefault("ignoredarticles", "The El La Los Las Le Les Os As O A")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue