mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-08-03 11:31:20 +02:00
feat: reworked the api, added duration/current in seconds + shuffle & repeat
This commit is contained in:
@@ -8,7 +8,9 @@ export interface MediaInfo {
|
||||
status: MediaStatus;
|
||||
url: string;
|
||||
current: string;
|
||||
currentInSeconds?: number;
|
||||
duration: string;
|
||||
durationInSeconds?: number;
|
||||
image: string;
|
||||
favorite: boolean;
|
||||
}
|
||||
|
@@ -5,7 +5,9 @@ export interface Options {
|
||||
status: string;
|
||||
url: string;
|
||||
current: string;
|
||||
currentInSeconds: number;
|
||||
duration: string;
|
||||
durationInSeconds: number;
|
||||
"app-name": string;
|
||||
image: string;
|
||||
icon: string;
|
||||
|
Reference in New Issue
Block a user