diff --git a/frontend/src/components/playlist-view/playlist-view.ts b/frontend/src/components/playlist-view/playlist-view.ts
index d7710ae..5c20fdd 100644
--- a/frontend/src/components/playlist-view/playlist-view.ts
+++ b/frontend/src/components/playlist-view/playlist-view.ts
@@ -1731,6 +1731,16 @@ export class PlaylistView
},
);
break;
+ case 'set-default':
+ void this.favCtrl
+ .setDefaultPlaylist(entry.summary.ID)
+ .catch((err: unknown) => {
+ console.error(
+ 'Failed to set default playlist:',
+ err,
+ );
+ });
+ break;
case 'delete': {
if (this.selectedPlaylists.size > 1) {
const ids = [...this.selectedPlaylists]
@@ -2352,6 +2362,18 @@ export class PlaylistView
>
Rename
+
+ void this.onPlaylistContextAction(
+ 'set-default',
+ )}
+ >
+
+ Set as Default Playlist
+
`
: nothing}