Skip to content

🎧 Your Personal Streaming Service

Fix auto-imported playlists losing the "Public" status. Fix #479

Deluan665b1f689846
diff --git a/scanner/playlist_sync.go b/scanner/playlist_sync.go
index b50932f71..f2a8e56a7 100644
--- a/scanner/playlist_sync.go
+++ b/scanner/playlist_sync.go
@@ -115,6 +115,7 @@ func (s *playlistSync) updatePlaylist(ctx context.Context, newPls *model.Playlis
newPls.Name = pls.Name
newPls.Comment = pls.Comment
newPls.Owner = pls.Owner
+ newPls.Public = pls.Public
} else {
log.Info(ctx, "Adding synced playlist", "playlist", newPls.Name, "path", newPls.Path, "owner", owner)
newPls.Owner = owner