Who Me Too'd this topic

/v1/me/player timestamp field unexpected value


My Question or Issue

When using the /v1/me/player endpoint, there is a field called timestamp. According to the documentation, it should return the "Unix Millisecond Timestamp when data was fetched". It'd appear to me that it should be a variable that'd be a couple of milliseconds behind the current time in milliseconds.


Instead, it returns the epoch time when you started playing the current song. I was hoping to use this value to precisely calculate the current playback time. E.g.:




json.get("progress_ms").getAsInt() + (System.currentTimeMillis() - json.get("timestamp").getAsLong()) 







Who Me Too'd this topic