From 59ae6ea0dcb016f784f585d275c0a30f65b4044a Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Sat, 15 Feb 2025 08:50:02 -0600 Subject: [PATCH] fixes to playing a searched track --- components/Global/components/item.tsx | 2 +- components/Tracks/component.tsx | 2 +- player/types/queue-item.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/Global/components/item.tsx b/components/Global/components/item.tsx index 189ef849..5eefa96c 100644 --- a/components/Global/components/item.tsx +++ b/components/Global/components/item.tsx @@ -52,7 +52,7 @@ export default function Item({ usePlayNewQueue.mutate({ track: item, tracklist: [item], - queueName, + queue: "Search", queuingType: QueuingType.FromSelection }) break; diff --git a/components/Tracks/component.tsx b/components/Tracks/component.tsx index d38741c7..e67d7a04 100644 --- a/components/Tracks/component.tsx +++ b/components/Tracks/component.tsx @@ -31,7 +31,7 @@ export default function Tracks({ navigation }: { navigation: NativeStackNavigati showArtwork track={track} tracklist={tracks?.slice(index, index + 50) ?? []} - queue="Queue" + queue="Favorite Tracks" /> ) diff --git a/player/types/queue-item.ts b/player/types/queue-item.ts index 391b967c..5f194fb0 100644 --- a/player/types/queue-item.ts +++ b/player/types/queue-item.ts @@ -1,3 +1,3 @@ import { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models"; -export type Queue = BaseItemDto | "Recently Played" | "Queue"; \ No newline at end of file +export type Queue = BaseItemDto | "Recently Played" | "Search" | "Favorite Tracks"; \ No newline at end of file