Interface representing Spotify playback state

interface PlaybackInfo {
    albumArt: string;
    trackName: string;
    artist: string;
    album: string;
    progress: number;
    duration: number;
    currentTimeSeconds?: number;
    currentTimeMs?: number;
    isPlaying: boolean;
    isInPlaylist?: boolean;
    monitoringStopped?: boolean;
    artistName?: string;
    albumName?: string;
}

Properties

albumArt: string
trackName: string
artist: string
album: string
progress: number
duration: number
currentTimeSeconds?: number
currentTimeMs?: number
isPlaying: boolean
isInPlaylist?: boolean
monitoringStopped?: boolean
artistName?: string
albumName?: string