Remove unused `DevPreCacheAlbumArtwork` config option

This commit is contained in:
Deluan 2022-12-21 18:25:01 -05:00 committed by Deluan Quintão
parent 847a0432ea
commit 57c3334ea0
2 changed files with 0 additions and 5 deletions

View File

@ -3,7 +3,6 @@ package cmd
import (
"context"
"github.com/navidrome/navidrome/conf"
"github.com/navidrome/navidrome/log"
"github.com/spf13/cobra"
)
@ -25,8 +24,6 @@ var scanCmd = &cobra.Command{
}
func runScanner() {
conf.Server.DevPreCacheAlbumArtwork = false
scanner := GetScanner()
_ = scanner.RescanAll(context.Background(), fullRescan)
if fullRescan {

View File

@ -76,7 +76,6 @@ type configOptions struct {
DevLogLevels map[string]string
DevAutoCreateAdminPassword string
DevAutoLoginUsername string
DevPreCacheAlbumArtwork bool
DevFastAccessCoverArt bool
DevActivityPanel bool
DevEnableShare bool
@ -279,7 +278,6 @@ func init() {
viper.SetDefault("devlogsourceline", false)
viper.SetDefault("devautocreateadminpassword", "")
viper.SetDefault("devautologinusername", "")
viper.SetDefault("devprecachealbumartwork", false)
viper.SetDefault("devfastaccesscoverart", false)
viper.SetDefault("devactivitypanel", true)
viper.SetDefault("devenableshare", false)