From 8ca1aefad657f6d4a8a4a57e6f435a974327bcff Mon Sep 17 00:00:00 2001 From: Deluan Date: Wed, 28 Aug 2024 19:23:19 -0400 Subject: [PATCH] Change DefaultPlaylistPublicVisibility to false --- conf/configuration.go | 2 +- core/playlists.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/configuration.go b/conf/configuration.go index 1ab42c09c..eb2394229 100644 --- a/conf/configuration.go +++ b/conf/configuration.go @@ -300,7 +300,7 @@ func init() { viper.SetDefault("albumplaycountmode", consts.AlbumPlayCountModeAbsolute) viper.SetDefault("enableartworkprecache", true) viper.SetDefault("autoimportplaylists", true) - viper.SetDefault("defaultplaylistpublicvisibility", true) + viper.SetDefault("defaultplaylistpublicvisibility", false) viper.SetDefault("playlistspath", consts.DefaultPlaylistsPath) viper.SetDefault("enabledownloads", true) viper.SetDefault("enableexternalservices", true) diff --git a/core/playlists.go b/core/playlists.go index 7c8b179ca..b9d9fc75b 100644 --- a/core/playlists.go +++ b/core/playlists.go @@ -14,9 +14,8 @@ import ( "strings" "time" - "github.com/navidrome/navidrome/conf" - "github.com/RaveNoX/go-jsoncommentstrip" + "github.com/navidrome/navidrome/conf" "github.com/navidrome/navidrome/log" "github.com/navidrome/navidrome/model" "github.com/navidrome/navidrome/model/criteria"