Skip to content

Allow sharing playlists across multiple users#525

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

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

Conversation

@nadiamoe
Copy link
Copy Markdown
Contributor

@nadiamoe nadiamoe commented Jul 3, 2024

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

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.

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