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

This commit is contained in:
Deluan 2020-10-05 12:40:44 -04:00
parent 35f748e0fb
commit 665b1f6898
1 changed files with 1 additions and 0 deletions

View File

@ -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