From 7f2b8ce5aaf81ce4f11b99f38bb1faef37276a37 Mon Sep 17 00:00:00 2001 From: Darius Date: Wed, 28 Jan 2026 22:49:54 +0100 Subject: [PATCH] update tidal objects --- src/tidal.ts | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/src/tidal.ts b/src/tidal.ts index 5fdd16d..bf793fd 100644 --- a/src/tidal.ts +++ b/src/tidal.ts @@ -1,14 +1,29 @@ -export type TidalSong = { - title: string; - artists: string; - album: string; - playingFrom: string; - status: "playing" | "paused"; - url: string; - current: string; - duration: string; +export type TidalGetCurrent = { + title: string; + artists: string; + artistsArray: string[]; + album: string; + playingFrom: string; + status: "playing" | "paused"; + url: string; + current: string; + currentInSeconds: number; + duration: string; + durationInSeconds: number; + image: string; + icon: string; + localAlbumArt: string; + favorite: boolean; + trackId: string; + volume: number; + player: { + status: "playing" | "paused"; + shuffle: boolean; + repeat: "all" | "single" | "none"; + }; + artist: string; }; -export type TidalVolume = { - volume: number; +export type TidalPutVolume = { + volume: number; };