From f590450baf7485bd96c00cdb2a8026e975d4677b Mon Sep 17 00:00:00 2001 From: holby Date: Tue, 29 Oct 2024 21:04:29 -0400 Subject: [PATCH] fixed frontend type --- .../src/providers/media/media-provider-types.ts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/packages/client-api/src/providers/media/media-provider-types.ts b/packages/client-api/src/providers/media/media-provider-types.ts index 48d0b6fc..deed0571 100644 --- a/packages/client-api/src/providers/media/media-provider-types.ts +++ b/packages/client-api/src/providers/media/media-provider-types.ts @@ -2,20 +2,18 @@ import type { Provider } from '../create-base-provider'; export interface MediaProviderConfig { type: 'media'; - /** - * How often this provider refreshes in milliseconds. - */ - refreshInterval?: number; } export interface MediaOutput { title: string; - subTitle: string; - trackNumber: number; artist: string; - albumTitle: string; + album: string; + album_artist: string; + track_number: number; + start_time: number; + end_time: number; + duration: number; isPlaying: boolean; - isSpotify: boolean; } export type MediaProvider = Provider;