From 825365effa74a369ea4c649986a57ce150eb95c8 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Wed, 16 Sep 2026 15:24:28 +0000 Subject: [PATCH] fix(ui): Add duped to common play state --- src/core/Atomic.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/Atomic.ts b/src/core/Atomic.ts index 5962b008..f9d1cd98 100644 --- a/src/core/Atomic.ts +++ b/src/core/Atomic.ts @@ -639,12 +639,12 @@ export type TypesAreEqual = export type MBID = `${string}-${string}-${string}-${string}-${string}` // ['queued','discovered','discarded','scrobbled','failed','duped'] -export type PlayStateCommon = 'queued' |'discarded' | 'failed'; -export const PLAY_STATE_COMMON: PlayStateCommon[] = ['queued', 'discarded', 'failed']; +export type PlayStateCommon = 'queued' |'discarded' | 'failed' | 'duped'; +export const PLAY_STATE_COMMON: PlayStateCommon[] = ['queued', 'discarded', 'failed', 'duped']; export type PlaySourceState = PlayStateCommon | 'discovered'; export const PLAY_SOURCE_STATE: PlaySourceState[] = [...PLAY_STATE_COMMON, 'discovered']; -export type PlayClientState = PlayStateCommon | 'duped' | 'scrobbled'; -export const PLAY_CLIENT_STATE = [...PLAY_STATE_COMMON, 'duped', 'scrobbled']; +export type PlayClientState = PlayStateCommon | 'scrobbled'; +export const PLAY_CLIENT_STATE = [...PLAY_STATE_COMMON, 'scrobbled']; export type PlayState = PlaySourceState | PlayClientState; export const PLAY_STATES = Array.from(new Set([...PLAY_CLIENT_STATE, ...PLAY_SOURCE_STATE])); export const isPlayState = (val: string): val is PlayState => PLAY_STATES.includes(val); -- 2.51.2