Remove unused DevPreCacheAlbumArtwork config option

This commit is contained in:
Deluan 2022-12-21 18:25:01 -05:00 committed by Joe Stump
parent 7c889b8cfd
commit ba27311439
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9
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

@ -77,7 +77,6 @@ type configOptions struct {
DevLogLevels map[string]string
DevAutoCreateAdminPassword string
DevAutoLoginUsername string
DevPreCacheAlbumArtwork bool
DevFastAccessCoverArt bool
DevActivityPanel bool
DevEnableShare bool
@ -297,7 +296,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)