Data sent to the renderer process for playback updates

interface PlaybackUpdateData {
    isPlaying: boolean;
    trackId: null | string;
    trackName: null | string;
    artistName: null | string;
    albumName: null | string;
    albumArt: null | string;
    deviceName: null | string;
    deviceType: null | string;
    deviceVolume: null | number;
    trackDuration: null | number;
    trackProgress: null | number;
    trackProgressPercent: null | number;
    progress?: number;
    duration?: number;
    currentTimeSeconds?: number;
    currentTimeMs?: number;
    isInPlaylist?: boolean;
}

Properties

isPlaying: boolean
trackId: null | string
trackName: null | string
artistName: null | string
albumName: null | string
albumArt: null | string
deviceName: null | string
deviceType: null | string
deviceVolume: null | number
trackDuration: null | number
trackProgress: null | number
trackProgressPercent: null | number
progress?: number
duration?: number
currentTimeSeconds?: number
currentTimeMs?: number
isInPlaylist?: boolean