Skip to content

Allow sharing playlists across multiple users#525

Draft
nadiamoe wants to merge 7 commits into
sentriz:masterfrom
nadiamoe:playlist-share
Draft

Allow sharing playlists across multiple users#525
nadiamoe wants to merge 7 commits into
sentriz:masterfrom
nadiamoe:playlist-share

Conversation

@nadiamoe

@nadiamoe nadiamoe commented Jul 3, 2024

Copy link
Copy Markdown
Contributor

This is my take at #522, implementing the easiest functional approach to sharing playlists by specifying a list of users that can edit another user's playlist.

For now, there is no UI for "inviting" users, the m3u file needs to be edited by hand. Users with whom a playlist has been shared can add/remove items from it, but not delete the playlist itself.

Includes commits from #524

Comment thread playlist/playlist.go
case attrIsPublic:
playlist.IsPublic, _ = strconv.ParseBool(value)
case attrSharedWith:
sharedWith := strings.Split(value, ",")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently thinking whether it would be better for this to be a comma-separated list (as it is now), or if we should use the comment multiple times 🤔

#GONIC-NAME:"Roobre"
#GONIC-COMMENT:""
#GONIC-IS-PUBLIC:"false"
#GONIC-SHARED-WITH:"2"
#GONIC-SHARED-WITH:"3"

The latter sounds easier to parse.

@sentriz
sentriz force-pushed the master branch 5 times, most recently from 7decea6 to 971d22d Compare November 11, 2025 07:01
lurenyang418 pushed a commit to lurenyang418/gonic that referenced this pull request Mar 23, 2026
@sentriz
sentriz force-pushed the master branch 4 times, most recently from 42aaccf to 6b377e7 Compare April 29, 2026 15:17
@sentriz
sentriz force-pushed the master branch 2 times, most recently from c00760e to 9f706b9 Compare May 22, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants