API Help Seek

Hi,

I am getting the following response from my api call:

b'{"status":"play","position":0,"title":"Filthy","artist":"Justin Timberlake","album":"Man of the Woods","albumart":"/albumart?cacheid=350&web=Justin%20Timberlake/Man%20of%20the%20Woods/medium&path=%2FNAS%2FMultimedia%2FJustin%20Timberlake%2FMan%20of%20the%20Woods%20Explicit&metadata=false","uri":"mnt/NAS/Multimedia/Justin Timberlake/Man of the Woods Explicit/01 - Filthy.mp3","trackType":"mp3",[b]"seek":20814,"duration":294,[/b]"samplerate":"44.1 KHz","bitdepth":"24 bit","channels":2,"random":null,"repeat":null,"repeatSingle":false,"consume":false,"volume":75,"disableVolumeControl":false,"mute":false,"stream":"mp3","updatedb":false,"volatile":false,"service":"mpd"}'

seek has a reported value of 20814. What metric is seek reported in? IE:seconds, minutes I was not able to find any documentation that reference a possible answer.

I am trying to display elapsed time/duration in my custom app.

Same problem here. :frowning:

I’ve found the answer:
elapsed time = seek / 1000