feat: Save play queue as new or existing playlist#792
Draft
Conversation
Add a 'Save as playlist' button to the play queue toolbar that allows users to either create a new playlist from all current queue items or add all queue items to an existing playlist. - Add SaveAsPlaylist localization string to en-US/Resources.resw - Add PlaylistsContext dependency and SaveQueueAsNewPlaylistAsync method to PlayQueueViewModel to create persistent playlists from the queue - Add Save as playlist button with dynamic MenuFlyout to PlayQueueControl that shows Create new playlist plus all existing playlists - Update Minimal visual state to collapse label and show tooltip Co-authored-by: huynhsontung <31434093+huynhsontung@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add options to convert play queue to playlist
feat: Save play queue as new or existing playlist
Mar 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Users had no way to persist the current play queue as a playlist. This adds a "Save as playlist" button to the play queue toolbar that lets users either create a new playlist from the queue or append all queue items to an existing one.
Changes
PlayQueueViewModel— AddedPlaylistsContextconstructor dependency andSaveQueueAsNewPlaylistAsync(string)method that creates aPlaylistViewModelfrom all current queue items, persists it, and inserts it into the shared context.PlayQueueControl.xaml— Added "Save as playlist" button (enabled only when queue is non-empty) with aMenuFlyout. UpdatedMinimalvisual state to collapse the label and show a tooltip, consistent with the other toolbar buttons.PlayQueueControl.xaml.cs—SaveAsPlaylistFlyout_OnOpeningdynamically builds the flyout on each open:CreatePlaylistDialog, then callsSaveQueueAsNewPlaylistAsyncplaylist.AddItemsCommandwith a snapshot of the current queue itemsen-US/Resources.resw— AddedSaveAsPlayliststring ("Save as playlist").Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.