mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-10 11:27:11 +02:00
POST /Playlists dropped the client's IsPublic flag, so every playlist was created private. JellyBox Player's create-playlist form defaults its "public" checkbox to true, so JellyBox users could never create a public playlist. Upstream's PlaylistsController passes IsPublic into PlaylistCreationRequest. core/playlists.Create has no visibility parameter and widening it would ripple into the Subsonic and native APIs, so createPlaylist follows the same pattern updatePlaylist already uses: after Create succeeds, a non-nil IsPublic is applied with a follow-up Update. The field is a pointer so an absent one keeps today's default instead of forcing private. If that second write fails the handler surfaces the error through playlistError rather than returning the id: answering 200 for a playlist that is not as visible as the client asked is the same silent drop this fixes. |
||
|---|---|---|
| .. | ||
| annotations_test.go | ||
| audiomuse_test.go | ||
| auth_test.go | ||
| browsing_test.go | ||
| discovery_test.go | ||
| e2e_suite_test.go | ||
| images_test.go | ||
| lyrics_test.go | ||
| multiuser_test.go | ||
| playlists_test.go | ||
| quickconnect_test.go | ||
| routing_test.go | ||
| search_test.go | ||
| sessions_test.go | ||
| similar_test.go | ||
| smoke_test.go | ||
| streaming_test.go | ||
| system_test.go | ||