mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 21:17:37 +03:00
Remove unused DevPreCacheAlbumArtwork
config option
This commit is contained in:
parent
847a0432ea
commit
57c3334ea0
2 changed files with 0 additions and 5 deletions
|
@ -3,7 +3,6 @@ package cmd
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/navidrome/navidrome/conf"
|
|
||||||
"github.com/navidrome/navidrome/log"
|
"github.com/navidrome/navidrome/log"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
@ -25,8 +24,6 @@ var scanCmd = &cobra.Command{
|
||||||
}
|
}
|
||||||
|
|
||||||
func runScanner() {
|
func runScanner() {
|
||||||
conf.Server.DevPreCacheAlbumArtwork = false
|
|
||||||
|
|
||||||
scanner := GetScanner()
|
scanner := GetScanner()
|
||||||
_ = scanner.RescanAll(context.Background(), fullRescan)
|
_ = scanner.RescanAll(context.Background(), fullRescan)
|
||||||
if fullRescan {
|
if fullRescan {
|
||||||
|
|
|
@ -76,7 +76,6 @@ type configOptions struct {
|
||||||
DevLogLevels map[string]string
|
DevLogLevels map[string]string
|
||||||
DevAutoCreateAdminPassword string
|
DevAutoCreateAdminPassword string
|
||||||
DevAutoLoginUsername string
|
DevAutoLoginUsername string
|
||||||
DevPreCacheAlbumArtwork bool
|
|
||||||
DevFastAccessCoverArt bool
|
DevFastAccessCoverArt bool
|
||||||
DevActivityPanel bool
|
DevActivityPanel bool
|
||||||
DevEnableShare bool
|
DevEnableShare bool
|
||||||
|
@ -279,7 +278,6 @@ func init() {
|
||||||
viper.SetDefault("devlogsourceline", false)
|
viper.SetDefault("devlogsourceline", false)
|
||||||
viper.SetDefault("devautocreateadminpassword", "")
|
viper.SetDefault("devautocreateadminpassword", "")
|
||||||
viper.SetDefault("devautologinusername", "")
|
viper.SetDefault("devautologinusername", "")
|
||||||
viper.SetDefault("devprecachealbumartwork", false)
|
|
||||||
viper.SetDefault("devfastaccesscoverart", false)
|
viper.SetDefault("devfastaccesscoverart", false)
|
||||||
viper.SetDefault("devactivitypanel", true)
|
viper.SetDefault("devactivitypanel", true)
|
||||||
viper.SetDefault("devenableshare", false)
|
viper.SetDefault("devenableshare", false)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue