Timestamp not updated on get playback information

Reply
Highlighted

Timestamp not updated on get playback information

Newbie

Plan

Premium

Country

United States

 

My Question or Issue

I am working on an app that requires music playback to be precisely synchronized with in-app events. I am updating the information about user playback using the v1/me/player endpoint to get the current playback progress along with the timestamp and intended to compare them with the system time to get an accurate offset value.

 

The problem I've run into is that the timestamp is not updated by this request; it only seems to update after requests that change the playback state in some way and otherwise remains at the time of the last state change. I also tried getting around this by using other requests to update it, but the other requests seem to have different latencies than the simple get request.

 

I found others with the same issue on other sites but did not see the question asked here. I would be grateful for any help or suggestions!

 

Thanks!

3 Replies
Highlighted

Re: Timestamp not updated on get playback information

Casual Listener

Never mind my original answer, I found out it is not true.

Highlighted

Re: Timestamp not updated on get playback information

Casual Listener

By the way, is there a release log of the SDK and any way to use older ones?

Highlighted

Re: Timestamp not updated on get playback information

Casual Listener

you can find a the changelog on github

https://github.com/spotify/android-sdk/releases

https://github.com/spotify/ios-sdk/releases

 

Keep in mind that a lot of functionality is in the app so we have no way to change this implementation details and see what has changed.

SUGGESTED POSTS