I'm trying to use the RadioBoss API to work with the NVDA screen reader. I'm putting together a team to work on an add-on, which will be able to give radioboss global hotkeys, and speak track progress information from anywhere; Specifically, I want to have NDVA speak the remaining time left on a track in minutes and seconds format.
Here's what I'm getting back when I send the "action=playbackinfo" command:
```xml
<Playback pos="30899" len="245466" state="play" playlistpos="108" streams="2" netstream="n/a" playingtimeleft="37087708"
```
The `playingtimeleft` value seems to be in either samples or milliseconds, but I'm not sure how to convert it to minutes and seconds.
Can anyone help me figure out how to format that data properly? Thanks!
Here's what I'm getting back when I send the "action=playbackinfo" command:
```xml
<Playback pos="30899" len="245466" state="play" playlistpos="108" streams="2" netstream="n/a" playingtimeleft="37087708"
```
The `playingtimeleft` value seems to be in either samples or milliseconds, but I'm not sure how to convert it to minutes and seconds.
Can anyone help me figure out how to format that data properly? Thanks!