handle context menu on playlist songs

This commit is contained in:
jeffvli
2025-11-28 22:05:33 -08:00
parent 06d0c715af
commit 9b17d3513a
2 changed files with 11 additions and 7 deletions
@@ -22,7 +22,11 @@ export const PlayAction = ({ ids, itemType, songs }: PlayActionProps) => {
(playType: Play) => {
if (ids.length === 0 || !serverId) return;
if (itemType === LibraryItem.SONG) {
if (
itemType === LibraryItem.SONG ||
itemType === LibraryItem.PLAYLIST_SONG ||
itemType === LibraryItem.QUEUE_SONG
) {
player.addToQueueByData(songs || [], playType);
} else {
player.addToQueueByFetch(serverId, ids, itemType, playType);