Media playback state reported by the napplet.
const state: MediaState = { status: 'playing', position: 42.5, duration: 240, volume: 0.8,}; Copy
const state: MediaState = { status: 'playing', position: 42.5, duration: 240, volume: 0.8,};
Optional
Total duration in seconds.
Current playback position in seconds.
Current playback status.
Napplet-side volume (0.0 to 1.0). Shell volume is separate.
Media playback state reported by the napplet.
Example