update tidal objects
This commit is contained in:
37
src/tidal.ts
37
src/tidal.ts
@@ -1,14 +1,29 @@
|
|||||||
export type TidalSong = {
|
export type TidalGetCurrent = {
|
||||||
title: string;
|
title: string;
|
||||||
artists: string;
|
artists: string;
|
||||||
album: string;
|
artistsArray: string[];
|
||||||
playingFrom: string;
|
album: string;
|
||||||
status: "playing" | "paused";
|
playingFrom: string;
|
||||||
url: string;
|
status: "playing" | "paused";
|
||||||
current: string;
|
url: string;
|
||||||
duration: 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 = {
|
export type TidalPutVolume = {
|
||||||
volume: number;
|
volume: number;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user